Skip to content

Commit

Permalink
Declare documentation dependencies in docs/requirements.txt
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <[email protected]>
  • Loading branch information
tdruez committed Dec 7, 2023
1 parent 77ad758 commit 9af4531
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ build:
# Optionally declare the Python requirements required to build your docs
python:
install:
- method: pip
path: Sphinx furo
- requirements: docs/requirements.txt

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ test:
docs:
@echo "-> Builds the installation_and_sysadmin docs"
rm -rf ${DOCS_LOCATION}/_build/
@${ACTIVATE} pip install Sphinx sphinx_rtd_theme furo
@${ACTIVATE} pip install -r docs/requirements.txt
@${ACTIVATE} sphinx-build -b singlehtml ${DOCS_LOCATION} ${DOCS_LOCATION}/_build/singlehtml/
@${ACTIVATE} sphinx-build -b html ${DOCS_LOCATION} ${DOCS_LOCATION}/_build/html/

Expand Down
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ Welcome to the very start of your DejaCode journey!
:maxdepth: 1
:caption: Miscellaneous

license
contributing
changelog
doc_maintenance
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Sphinx==7.2.6
furo==2023.9.10

0 comments on commit 9af4531

Please sign in to comment.