Skip to content

Commit d46b6fa

Browse files
authored
Fix deprecated readthedocs config and bump actions/upload-artifacts to 4 (#71)
* Set sphinx configuration file path explicitly to docs/conf.py Xref https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/ * Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4)
1 parent cefe61c commit d46b6fa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/pypi-release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
else
5252
echo "✅ Looks good"
5353
fi
54-
- uses: actions/upload-artifact@v3
54+
- uses: actions/upload-artifact@v4
5555
with:
5656
name: releases
5757
path: dist
@@ -61,7 +61,7 @@ jobs:
6161
if: github.event_name == 'release'
6262
runs-on: ubuntu-latest
6363
steps:
64-
- uses: actions/download-artifact@v4.1.7
64+
- uses: actions/download-artifact@v4
6565
with:
6666
name: releases
6767
path: dist

.readthedocs.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ build:
66
tools:
77
python: "mambaforge-23.11"
88

9+
# Build documentation in the docs/ directory with Sphinx
10+
sphinx:
11+
configuration: docs/conf.py
12+
913
# Optionally set the version of Python and requirements required to build your docs
1014
conda:
1115
environment: ci/doc.yml

0 commit comments

Comments
 (0)