From 273e5b3fbf48335f3cb7f8fe5e34139d019ddecc Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sat, 20 Jan 2024 22:41:27 +0100 Subject: [PATCH] DOC: remove `.html` from page URLs --- .readthedocs.yml | 2 +- tox.ini | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 6347b7f2..cbe136bc 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,7 +1,7 @@ version: 2 sphinx: - builder: html + builder: dirhtml configuration: docs/conf.py fail_on_warning: true diff --git a/tox.ini b/tox.ini index cb7440a5..c61bf275 100644 --- a/tox.ini +++ b/tox.ini @@ -36,7 +36,7 @@ commands = sphinx-build \ --keep-going \ -TW \ - -b html \ + -b dirhtml \ docs/ docs/_build/html description = Build documentation and API through Sphinx @@ -66,6 +66,7 @@ commands = --re-ignore docs/_build/.* \ --re-ignore docs/api \ --watch docs \ + -b dirhtml \ docs/ docs/_build/html description = Set up a server to directly preview changes to the HTML pages @@ -80,7 +81,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 @@ -111,6 +112,7 @@ commands = --re-ignore docs/_build/.* \ --re-ignore docs/api \ --watch docs \ + -b dirhtml \ docs/ docs/_build/html description = Set up a server to directly preview changes to the HTML pages