Skip to content

Commit

Permalink
docs: fix requirements for readthedocs (#17)
Browse files Browse the repository at this point in the history
Closes #16
  • Loading branch information
tom65536 authored Jul 11, 2024
1 parent b168c4d commit f901716
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ build:

sphinx:
configuration: docs/source/conf.py

python:
install:
- requirements: docs/source/requirements.txt
6 changes: 6 additions & 0 deletions docs/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

sphinx~=7.3
sphinx-autoapi~=3.1
sphinx-gherkindoc~=3.6
sphinx-toolbox~=3.7
sphinx_rtd_theme~=2.0
6 changes: 1 addition & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ commands =
[testenv:docs]
skip_install = true
deps =
sphinx
sphinx-autoapi
sphinx-gherkindoc
sphinx-toolbox
sphinx_rtd_theme
-r docs/source/requirements.txt
commands =
python -c "import os; os.makedirs('docs/source/gherkin', exist_ok=True)"
sphinx-gherkindoc tests/features docs/source/gherkin
Expand Down

0 comments on commit f901716

Please sign in to comment.