Skip to content

Commit

Permalink
docs: fix doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarolopez committed Jun 12, 2024
1 parent 8c54128 commit 903e6ec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
1 change: 0 additions & 1 deletion doc/source/user/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ User and developer documentation

quickstart
v2-api
predict
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ twine = "^5.1.0"
pip-check-reqs = "^2.5.3"
poetry-plugin-export = "^1.8.0"


[tool.poetry.group.test-docs.dependencies]
sphinx = "^7.3.7"
sphinx-rtd-theme = "^2.0.0"
recommonmark = "^0.7.1"
reno = "^4.1.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,12 @@ commands =

[testenv:docs]
basepython = {[base]python}
deps =
-r {toxinidir}/doc/requirements.txt
commands_pre =
poetry install --no-root --sync --with test --with test-docs
pip install -U .
commands =
rm -rf doc/build
sphinx-build -W --keep-going -b html -j auto doc/source doc/build/html
poetry run sphinx-build -W --keep-going -b html -j auto doc/source doc/build/html

[testenv:mypy]
description = Static type checks
Expand Down

0 comments on commit 903e6ec

Please sign in to comment.