Add doc env to tox

Also modify source directory.

Change-Id: I69da836079d7a82822f58a1bcabd3689c4415038
This commit is contained in:
karolinku 2025-03-13 14:59:22 +01:00
parent bff82b204b
commit 93303286da
2 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ html_theme = 'default'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = []
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.

View File

@ -1,6 +1,6 @@
[tox]
minversion = 3.18.0
envlist = py39,py312,pep8,releasenotes
envlist = py39,py312,pep8,releasenotes,docs
skipsdist = False
[testenv]
@ -31,7 +31,7 @@ setenv = NOSE_WITH_COVERAGE=1
commands = {posargs}
[testenv:docs]
commands = sphinx-build -a -E -W -d docs/build/doctrees -b html docs/source docs/build/html
commands = sphinx-build -a -E -W -d docs/build/doctrees -b html docs docs/build/html
[testenv:releasenotes]
deps = -r{toxinidir}/test-requirements.txt