Skip to content

Commit 388f038

Browse files
Maintainance PR (#597)
* update dependencies * fix: update to latest version * update dependencies * update dependencies * Update requirements.txt * maintainance * maintainance * Update requirements.txt * Update preview_build.yml * Update build.yml * Update package versions in requirements.txt * Update Fortran setup action to version 1.8.0 * Upgrade GitHub Actions to latest versions * Update GitHub Actions to use latest versions * Update GitHub Actions to use latest versions * Upgrade checkout action and modify echo command Updated actions/checkout version and commented out echo statement. * Update json_url to point to external data source * Add styles for index_joinus class in custom.css * Bump the pip-deps group with 5 updates Bumps the pip-deps group with 5 updates: | Package | From | To | | --- | --- | --- | | [requests](https://github.com/psf/requests) | `2.32.3` | `2.32.5` | | [black](https://github.com/psf/black) | `25.1.0` | `25.9.0` | | [pylint](https://github.com/pylint-dev/pylint) | `3.3.7` | `4.0.0` | | [pre-commit](https://github.com/pre-commit/pre-commit) | `4.2.0` | `4.3.0` | | [sphinx-sitemap](https://github.com/jdillard/sphinx-sitemap) | `2.6.0` | `2.9.0` | Updates `requests` from 2.32.3 to 2.32.5 - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.32.3...v2.32.5) Updates `black` from 25.1.0 to 25.9.0 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@25.1.0...25.9.0) Updates `pylint` from 3.3.7 to 4.0.0 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v3.3.7...v4.0.0) Updates `pre-commit` from 4.2.0 to 4.3.0 - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](pre-commit/pre-commit@v4.2.0...v4.3.0) Updates `sphinx-sitemap` from 2.6.0 to 2.9.0 - [Release notes](https://github.com/jdillard/sphinx-sitemap/releases) - [Changelog](https://github.com/jdillard/sphinx-sitemap/blob/master/CHANGELOG.rst) - [Commits](jdillard/sphinx-sitemap@v2.6.0...v2.9.0) --- updated-dependencies: - dependency-name: requests dependency-version: 2.32.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pip-deps - dependency-name: black dependency-version: 25.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-deps - dependency-name: pylint dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: pip-deps - dependency-name: pre-commit dependency-version: 4.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-deps - dependency-name: sphinx-sitemap dependency-version: 2.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-deps ... Signed-off-by: dependabot[bot] <[email protected]> * Remove .index_joinus styles from custom.css Removed the .index_joinus class styles from custom.css. * Implement early exit for missing 'pr/' directory Add early exit condition if 'pr/' directory is missing. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent fc37365 commit 388f038

File tree

7 files changed

+23
-17
lines changed

7 files changed

+23
-17
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222

2323
steps:
2424
- name: Checkout page source
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626

2727
- name: Setup Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2929
with:
3030
python-version: "3.11"
3131

3232
- name: Setup Fortran compiler
33-
uses: fortran-lang/setup-fortran@v1.7.0
33+
uses: fortran-lang/setup-fortran@v1.8.0
3434
id: setup-fortran
3535
with:
3636
compiler: gcc

.github/workflows/closePR.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,19 @@ jobs:
1515

1616
steps:
1717
- name: Checkout gh-pages
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
ref: gh-pages
2121

2222
- name: Iterate and Check PRs
2323
id: pr_check
2424
run: |
25+
# Exit early if 'pr/' directory does not exist
26+
if [ ! -d "pr" ]; then
27+
echo "No 'pr/' directory found. Skipping PR check."
28+
exit 0
29+
fi
30+
2531
# Get the list of PR folders inside 'pr/' (e.g., pr/123, pr/456)
2632
pr_folders=($(find pr -mindepth 1 -maxdepth 1 -type d -printf "%f\n"))
2733
closed_pr=()
@@ -42,7 +48,7 @@ jobs:
4248
done
4349
4450
# Store closed PRs in GITHUB_STATE for later use
45-
echo "${closed_pr[*]}" >> "$GITHUB_STATE"
51+
# echo "${closed_pr[*]}" >> "$GITHUB_STATE"
4652
4753
- name: Commit and push to gh-pages
4854
uses: EndBug/[email protected]

.github/workflows/fortran_packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- name: checkout source
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818

1919
- name: Setup Python
20-
uses: actions/setup-python@v5
20+
uses: actions/setup-python@v6
2121

2222
- name: Install python libraries
2323
run: pip3 install --user -r requirements.txt

.github/workflows/preview_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515

1616
steps:
1717
- name: Checkout pr/${{github.event.issue.number}}
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

2020
- name: Fetch pr/${{github.event.issue.number}}
2121
run: |
2222
git fetch origin pull/${{github.event.issue.number}}/head:pr-${{github.event.issue.number}}
2323
git checkout pr-${{github.event.issue.number}}
2424
2525
- name: Setup Python
26-
uses: actions/setup-python@v5
26+
uses: actions/setup-python@v6
2727
with:
2828
python-version: "3.11"
2929

@@ -55,7 +55,7 @@ jobs:
5555
git-config-name: Fortran
5656

5757
- name: Comment on pull request
58-
uses: peter-evans/create-or-update-comment@v4
58+
uses: peter-evans/create-or-update-comment@v5
5959
with:
6060
issue-number: ${{github.event.issue.number}}
6161
body: "This PR has been built with Sphinx and can be previewed at: https://fortran-lang.github.io/webpage/pr/${{github.event.issue.number}}"

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ sphinx_design==0.6.1
66
sphinx_copybutton==0.5.2
77
sphinx-jinja==2.0.2
88
jinja2==3.1.6
9-
requests==2.32.3
10-
black==25.1.0
11-
pylint==3.3.7
12-
pre-commit==4.2.0
13-
sphinx-sitemap==2.6.0
9+
requests==2.32.5
10+
black==25.9.0
11+
pylint==4.0.0
12+
pre-commit==4.3.0
13+
sphinx-sitemap==2.9.0
1414
sphinx-favicon==1.0.1

source/_static/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ i.fa-rss:before {
9595

9696
i.fa-envelope-open-text:before {
9797
color: #734f96;
98-
}
98+
}

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"navbar_align": "right",
146146
"navbar_start": ["navbar-logo","theme-switcher.html"],
147147
"switcher": {
148-
"json_url": "_static/data.json", # shifted to custom local switcher
148+
"json_url": "https://fortran-lang.org/_static/data.json", # shifted to custom local switcher
149149
"version_match": language,
150150
},
151151
"primary_sidebar_end": [],

0 commit comments

Comments
 (0)