Skip to content

Commit

Permalink
DOC: remove .html from page URLs (#245)
Browse files Browse the repository at this point in the history
* MAINT: remove redundant templates
  • Loading branch information
redeboer authored Jan 20, 2024
1 parent abff92c commit 5cb791c
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 133 deletions.
2 changes: 0 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
],
"ignorePaths": [
"**/*.bib",
"**/*.rst_t",
"**/.cspell.json",
".constraints/*.txt",
".editorconfig",
Expand All @@ -33,7 +32,6 @@
".vscode/*",
"CITATION.cff",
"codecov.yml",
"docs/_templates/*",
"docs/conf.py",
"pyproject.toml",
"setup.cfg",
Expand Down
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
55 changes: 0 additions & 55 deletions docs/_templates/genindex.html

This file was deleted.

4 changes: 0 additions & 4 deletions docs/_templates/layout.html

This file was deleted.

12 changes: 0 additions & 12 deletions docs/_templates/module.rst_t

This file was deleted.

49 changes: 0 additions & 49 deletions docs/_templates/package.rst_t

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_templates/toc.rst_t

This file was deleted.

12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,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 @@ -64,6 +64,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 @@ -78,7 +79,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 @@ -110,6 +111,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 @@ -123,7 +125,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 5cb791c

Please sign in to comment.