diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index ef219956..9266a640 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -11,7 +11,6 @@ on: - "docs/**" - "README.md" - ".readthedocs.yaml" - - "requirements-docs.txt" push: branches: - main @@ -21,7 +20,6 @@ on: - "docs/**" - "README.md" - ".readthedocs.yaml" - - "requirements-docs.txt" workflow_dispatch: jobs: @@ -44,7 +42,7 @@ jobs: - name: Install Doc Dependencies 📦 run: | pip install --upgrade pip - pip install --upgrade -r requirements-docs.txt + pip install --upgrade -r docs/requirements.txt - name: Build Documentation 📖 run: make docs diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 406a33fa..cfb8c5a6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -27,4 +27,4 @@ sphinx: # Optionally declare the Python requirements required to build your docs python: install: - - requirements: requirements-docs.txt + - requirements: docs/requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 1f748265..eea7b4a1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -63,7 +63,7 @@ html_theme = "alabaster" # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ["_static"] -# File above was generated using sphinx 4.3.2 with this command: +# File above was generated using sphinx 4.5.0 with this command: # sphinx-quickstart --project "docker-stacks" --author "Project Jupyter" -v "latest" -r "latest" -l en --no-sep --no-makefile --no-batchfile # These are custom options for this project diff --git a/requirements-docs.txt b/docs/requirements.txt similarity index 70% rename from requirements-docs.txt rename to docs/requirements.txt index 85b8fdee..0e10dd90 100644 --- a/requirements-docs.txt +++ b/docs/requirements.txt @@ -1,7 +1,7 @@ # ReadTheDocs environment contains old package versions preinstalled # So, to ensure we have modern packages, we pin minimum versions of the packages we need -docutils>=0.17 -myst-parser>=0.16.1 -sphinx>=4.4.0 -sphinx-book-theme>=0.3.2 +docutils>=0.17.1 +myst-parser>=0.18.0 +sphinx>=4.5.0 +sphinx-book-theme>=0.3.3 sphinx-copybutton>=0.5.0