Skip to content

Commit 8eaca0d

Browse files
Merge pull request #6 from LedgerHQ/fix/doc-build
fix: move doc generation target to tox
2 parents 26cac16 + 1af7d0e commit 8eaca0d

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)