Skip to content

Commit

Permalink
Merge pull request #230 from ebouchut/fix/build_error_imghdr_not_found
Browse files Browse the repository at this point in the history
💚 ⬆️ Fix CI/CD Docs Build Workflow and Upgrade Project Dependencies
  • Loading branch information
psonnera authored Feb 22, 2025
2 parents cd61404 + dec2c04 commit d331f54
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.13
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Sphinx build
run: |
sphinx-build -b dirhtml docs _build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/source' }}
with:
publish_branch: gh-pages
Expand Down
5 changes: 3 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.11"
python: "3.13"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: dirhtml
configuration: docs/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Sphinx==5.3.0
sphinx==8.2.0
sphinx-copybutton==0.5.2
sphinx_design==0.4.1
sphinx-rtd-theme==1.2.0
myst-parser==1.0.0
sphinx-notfound-page==1.0.4
sphinx_design==0.6.1
sphinx-rtd-theme==3.0.2
myst-parser==4.0.1
sphinx-notfound-page==1.1.0

0 comments on commit d331f54

Please sign in to comment.