From 6578421e5e0b4a486ec5434c3c83203730561514 Mon Sep 17 00:00:00 2001 From: "Jonas K." <33803767+EverythingElseWasAlreadyTaken@users.noreply.github.com> Date: Mon, 4 Nov 2024 22:35:42 +0100 Subject: [PATCH] docs: Fix build_docs workflow and add docs dependency versions (#240) 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. --- .github/workflows/build_docs.yml | 3 ++- docs/requirements.txt | 11 +++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 72759818..f2cc3295 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -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/" diff --git a/docs/requirements.txt b/docs/requirements.txt index 546a56a1..ee65ae4f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -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