Skip to content

Commit

Permalink
docs: Fix build_docs workflow and add docs dependency versions (#240)
Browse files Browse the repository at this point in the history
Add minimum required dependency versions to docs/requirements.txt

Add version to sphinx action in 'build_docs' workflow, since default sphinx version of the action is 2.44.
Install dependencies and FABulous first before building docs.

Signed-off-by: Jonas K. <[email protected]>
  • Loading branch information
EverythingElseWasAlreadyTaken authored Nov 4, 2024
1 parent 07222cf commit 6578421
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
- uses: ammaraskar/sphinx-action@8.0.0
with:
pre-build-command: "apt-get update -y && apt-get install tk git -y && pip install -r requirements.txt && pip install -e ."
docs-folder: "docs/"
11 changes: 5 additions & 6 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
sphinx
pydata_sphinx_theme
sphinxcontrib-bibtex
sphinx-copybutton
sphinx-prompt
fasm
Sphinx>=8.0.0
pydata-sphinx-theme>=0.15.0
sphinxcontrib-bibtex>=2.6.0
sphinx-copybutton>=0.5.0
sphinx-prompt>=1.9.0

0 comments on commit 6578421

Please sign in to comment.