diff --git a/.github/workflows/trigger-site-build.yaml b/.github/workflows/trigger-site-build.yaml index b536768c5..e23af97e2 100644 --- a/.github/workflows/trigger-site-build.yaml +++ b/.github/workflows/trigger-site-build.yaml @@ -10,3 +10,4 @@ jobs: base_url: '/_preview/${{ github.event.number }}' path_to_notebooks: 'portal' # Other input options are possible, see ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml + build_command: 'myst build --execute --html' diff --git a/CODEOFCONDUCT.md b/CODEOFCONDUCT.md index 88850afea..d305ee165 100644 --- a/CODEOFCONDUCT.md +++ b/CODEOFCONDUCT.md @@ -86,6 +86,6 @@ Projects that adopt this Code of Conduct need to stay up to date with UCAR's Con ## Attribution -This Code of Conduct was originally adapted from the [Contributor Covenant](http://contributor-covenant.org/version/1/4), version 1.4. We then aligned it with the UCAR Participant Code of Conduct, which also borrows from the American Geophysical Union (AGU) Code of Conduct. The UCAR Participant Code of Conduct applies to both UCAR employees as well as participants in activities run by UCAR. The original version of this for all software projects that have strong management from UCAR or UCAR staff is available on the UCAR website at [https://doi.org/10.5065/6w2c-a132](https://doi.org/10.5065/6w2c-a132). The date that it was adopted by this project was September 11, 2023. When responding to complaints, UCAR HR will do so based on the latest published version. Therefore, any project-specific changes should follow the Process for Changes section above. +This Code of Conduct was originally adapted from the [Contributor Covenant](https://www.contributor-covenant.org/version/1/4/code-of-conduct/), version 1.4. We then aligned it with the UCAR Participant Code of Conduct, which also borrows from the American Geophysical Union (AGU) Code of Conduct. The UCAR Participant Code of Conduct applies to both UCAR employees as well as participants in activities run by UCAR. The original version of this for all software projects that have strong management from UCAR or UCAR staff is available on the UCAR website at [https://doi.org/10.5065/6w2c-a132](https://doi.org/10.5065/6w2c-a132). The date that it was adopted by this project was September 11, 2023. When responding to complaints, UCAR HR will do so based on the latest published version. Therefore, any project-specific changes should follow the Process for Changes section above. As an Equal Employment Opportunity Employer and recipient of federal funds, UCAR complies with Title VI, Title VII, and Title IX of the Civil Rights Act; the Rehabilitation Act of 1973, as amended, and the Age Discrimination in Employment Act of 1975, as amended. See [UCAR’s Nondiscrimination Statement](https://www.ucar.edu/who-we-are/ethics-integrity/nondiscrimination). diff --git a/portal/contributing.md b/portal/contributing.md index 9ad30c7c6..5f01e006d 100644 --- a/portal/contributing.md +++ b/portal/contributing.md @@ -13,7 +13,7 @@ and [contributing new Cookbooks](https://projectpythia.org/cookbook-guide). Welcome! This is the main guide for contributing to Project Pythia. Project Pythia is an open community, and all contributions are welcome following our [Code of -Conduct](https://projectpythia.org/code_of_conduct). All +Conduct](https://projectpythia.org/codeofconduct/). All of the content for Project Pythia is hosted on GitHub in a number of different public repositories. From this document you can learn about the many ways that you can contribute to this community diff --git a/portal/index.md b/portal/index.md index e9b18785e..0c0c03d85 100644 --- a/portal/index.md +++ b/portal/index.md @@ -100,7 +100,7 @@ Anyone can contribute to and participate in Project Pythia! We conduct all of our work in the open, and all of our work is Open Source Licensed. We welcome contributions from anyone in the community. Please see our [Contributor’s Guide](/contributing) -for details on how you can get involved, our [Code of Conduct](https://github.com/projectpythia/projectpythia.github.io/blob/main/CODEOFCONDUCT.md) for an overview of contribution rules and responsibilities, and come see our work in the +for details on how you can get involved, our [Code of Conduct](https://projectpythia.org/codeofconduct/) for an overview of contribution rules and responsibilities, and come see our work in the [ProjectPythia GitHub Organization](https://github.com/ProjectPythia). (monthly-pythia-meetings)= diff --git a/portal/myst.yml b/portal/myst.yml index 2d6494329..4480b7988 100644 --- a/portal/myst.yml +++ b/portal/myst.yml @@ -9,6 +9,19 @@ project: plugins: - type: executable path: src/blogpost.py + error_rules: + - rule: link-resolves + severity: ignore + keys: + - 'chro@ucar.edu' + - 'http://localhost:3000' + - 'https://github.com/YOUR_USER_NAME/pythia-foundations' + - rule: directive-known # The postlist directive is not recognized by the linter, but it works when the site is built + severity: ignore + - rule: image-format-optimizes # `metrics.md` has some large images that are not optimized + severity: ignore + - rule: container-children-valid # `metrics.md`` unexpected figure content of type output found in legend node, but works when the site is built + severity: ignore toc: - file: index.md @@ -40,32 +53,3 @@ site: options: style: style.css analytics_google: G-T9KGMX7VHZ # Measurement ID or Tracking ID - parts: - footer: | - :::::{grid} 3 - :class: items-center - - - ```{image} https://raw.githubusercontent.com/ProjectPythia/pythia-config/main/logos/NSF-NCAR.png - :alt: NCAR Logo - ``` - - ```{image} https://raw.githubusercontent.com/ProjectPythia/pythia-config/main/logos/NSF-Unidata.png - :alt: Unidata Logo - ``` - - ```{image} https://raw.githubusercontent.com/ProjectPythia/pythia-config/main/logos/UAlbany.svg - :alt: UAlbany Logo - ``` - ::::: - - :::::{div} - :class: flex items-center gap-4 text-disclaimer - - ```{image} https://raw.githubusercontent.com/ProjectPythia/pythia-config/main/logos/nsf.jpg - :alt: NSF Logo - :height: 60px - ``` - - This material is based upon work supported by the National Science Foundation under Grant Nos. 2026863 and 2026899. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation. - ::::: diff --git a/portal/posts/2025/mystification.md b/portal/posts/2025/mystification.md index c7ae52535..d46fb8fe6 100644 --- a/portal/posts/2025/mystification.md +++ b/portal/posts/2025/mystification.md @@ -6,7 +6,7 @@ authors: [jukent, brian-rose, dcamron, kafitzgerald] tags: [myst] --- -Project Pythia recently transitioned from a [Sphinx-based JupyterBook](https://jupyterbook.org/en/stable/intro.html) architecture to using [MyST Markdown](https://mystmd.org/), which serves as the foundation for the upcoming [JupyterBook 2](https://next.jupyterbook.org/)! +Project Pythia recently transitioned from a [Sphinx-based JupyterBook](https://jupyter-book.readthedocs.io/v1/intro.html) architecture to using [MyST Markdown](https://mystmd.org/), which serves as the foundation for the upcoming [JupyterBook 2](https://jupyterbook.org/)! ## Our Motivation for MyST We began the process of transitioning to MyST in the summer of 2024 at the annual [Project Pythia Cook-off hackathon](https://projectpythia.org/posts/2025/new-cookbooks). At that event, members of the MyST team demonstrated the current [alpha-version of the technology](https://executablebooks.org/en/latest/blog/2024-06-14-project-pythia-mystmd/) and coached us through the boilerplate code necessary to make some of our key resources build with MyST. diff --git a/portal/posts/2025/new-cookbooks.md b/portal/posts/2025/new-cookbooks.md index 1059583c6..37e8c1fe4 100644 --- a/portal/posts/2025/new-cookbooks.md +++ b/portal/posts/2025/new-cookbooks.md @@ -85,7 +85,7 @@ Recently, [Steinman et al. (2022)](https://doi.org/10.1073/pnas.2120015119) used :align: left ``` -**Authors:** [Max Grover](@mgrover1), [Nathan Collier](@nocollier), [Carsten Ehbrecht](@cehbrecht), [Jacqueline Nugent](@jacnugent), and [Gerardo Rivera Tello](@griverat) +**Authors:** [Max Grover](https://github.com/mgrover1), [Nathan Collier](https://github.com/nocollier), [Carsten Ehbrecht](https://github.com/cehbrecht), [Jacqueline Nugent](https://github.com/jacnugent), and [Gerardo Rivera Tello](https://github.com/griverat) @@ -198,7 +198,7 @@ This Cookbook covers how to work with wavelets in Python. Wavelets are a powerfu ## Want to get involved? - + SAVE THE DATE! Project Pythia is hosting our next Cookbook Cook-off hackathon event at the NSF NCAR's Mesa Lab, August 5-8 2025.