Skip to content

Commit

Permalink
Switched to version 2 of readthedocs.yml
Browse files Browse the repository at this point in the history
Furthermore Python 3.10 is now used for docs generation.
  • Loading branch information
mrh1997 committed Jul 3, 2024
1 parent f4615e8 commit bfe034b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx
sphinx_rtd_theme
10 changes: 8 additions & 2 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
version: 2
build:
image: latest
os: ubuntu-22.04
tools:
python: "3.10"
commands:
- tox -e docs

python:
version: 3.6
install:
- requirements: docs/requirements.txt
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ basepython =
py3.10-x64: python3.10-64
py3.11-x86: python3.11-32
py3.11-x64: python3.11-64
docs: python3.10-64
commands = pytest tests/
passenv=
HEADLOCK_LOG
Expand All @@ -33,9 +34,7 @@ passenv=

[testenv:docs]
description = Build documentation.
deps =
sphinx
sphinx_rtd_theme
deps = -r docs/requirements.txt
commands = sphinx-build -q -b html docs docs/_build


Expand Down

0 comments on commit bfe034b

Please sign in to comment.