Skip to content

Commit 1af7d0e

Browse files
fix: add doc generation target to tox
1 parent f9e5d3c commit 1af7d0e

3 files changed

Lines changed: 9 additions & 177 deletions

File tree

docs/Makefile

Lines changed: 0 additions & 177 deletions
This file was deleted.

docs/_static/.placeholder

Whitespace-only changes.

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ env_list =
44
unittests
55
build
66
lint
7+
doc
78
isolated_build = true
89

910
[tox:.package]
@@ -50,6 +51,14 @@ commands =
5051
black --line-length 90 --check --diff .
5152

5253

54+
[testenv:doc]
55+
extras = doc
56+
allowlist_externals =
57+
{toxinidir}/genproto.sh
58+
commands =
59+
{toxinidir}/genproto.sh
60+
sphinx-build -b html -d docs/_build/doctress docs docs/_build
61+
5362
[testenv:flake8]
5463
commands=flake8 {posargs}
5564

0 commit comments

Comments
 (0)