Skip to content

Commit

Permalink
Merge pull request #1 from nexB/rtd_conf
Browse files Browse the repository at this point in the history
Proper setup for readthedocs configuration and builds
  • Loading branch information
tdruez authored Dec 7, 2023
2 parents 78070f0 + 9af4531 commit fa0746f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ build:
# Optionally declare the Python requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- dev
- 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 fa0746f

Please sign in to comment.