Skip to content

Commit

Permalink
DOC: remove .html from page URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jan 20, 2024
1 parent 6912694 commit b7de4ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

sphinx:
builder: html
builder: dirhtml
configuration: docs/conf.py
fail_on_warning: true

Expand Down
12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ commands =
sphinx-build \
--keep-going \
-TW \
-b html \
-b dirhtml \
docs/ docs/_build/html
description =
Build documentation and API through Sphinx
Expand Down Expand Up @@ -72,6 +72,7 @@ commands =
--re-ignore docs/api/.* \
--watch docs \
--watch src \
-b dirhtml \
docs/ docs/_build/html
description =
Set up a server to directly preview changes to the HTML pages
Expand All @@ -87,7 +88,7 @@ commands =
sphinx-build \
--keep-going \
-TW \
-b html \
-b dirhtml \
docs/ docs/_build/html
description =
Build documentation through Sphinx WITH output of Jupyter notebooks
Expand Down Expand Up @@ -122,6 +123,7 @@ commands =
--re-ignore docs/api/.* \
--watch docs \
--watch src \
-b dirhtml \
docs/ docs/_build/html
description =
Set up a server to directly preview changes to the HTML pages
Expand All @@ -135,7 +137,11 @@ setenv =
allowlist_externals =
sphinx-build
commands =
sphinx-build -nW --keep-going -b html docs/ docs/_build/html
sphinx-build \
--keep-going \
-b dirhtml \
-nW \
docs/ docs/_build/html
description =
Execute ALL Jupyter notebooks and build documentation with Sphinx
passenv = *
Expand Down

0 comments on commit b7de4ac

Please sign in to comment.