Skip to content

Commit

Permalink
Merge pull request #311 from DrDaveD/publish-docutils
Browse files Browse the repository at this point in the history
Also update docutils in publish action
  • Loading branch information
DrDaveD authored Feb 4, 2025
2 parents ea20cae + 5f44015 commit 47e34ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ jobs:

- name: Install Sphinx
run: |
# docutils==0.16 is a temporary downgrade to fix bullet list rendering
# see https://stackoverflow.com/questions/67542699/readthedocs-sphinx-not-rendering-bullet-list-from-rst-file
# Once fixed, it can be removed from the list because it is
# otherwise an implied dependency
pip install --user --upgrade --upgrade-strategy eager docutils==0.16 setuptools sphinx sphinx-rtd-theme restructuredtext_lint pygments m2r2
# docutils<0.21 is a temporary downgrade to fix a compiling issue
# see https://github.com/CrossNox/m2r2/issues/68
# Note any change here also has to go into pull_request.yml
pip install --user --upgrade --upgrade-strategy eager "docutils<0.21" setuptools sphinx sphinx-rtd-theme restructuredtext_lint pygments m2r2
- name: Build web documentation
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ jobs:

- name: Install Sphinx
run: |
pip install --user rstcheck
# docutils<0.21 is a temporary downgrade to fix a compiling issue
# see https://github.com/CrossNox/m2r2/issues/68
# requiring docutils version <0.21
pip install --user --upgrade --upgrade-strategy eager "docutils<0.21" setuptools sphinx sphinx-rtd-theme restructuredtext_lint rstcheck pygments m2r2
# Note any change here also has to go into publish.yml
pip install --user --upgrade --upgrade-strategy eager "docutils<0.21" setuptools sphinx sphinx-rtd-theme restructuredtext_lint pygments m2r2
- name: Lint rst
run: |
Expand Down

0 comments on commit 47e34ac

Please sign in to comment.