Skip to content

Commit

Permalink
DOC: remove .html from page URLs (#515)
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 d03d97c commit 4fe7b70
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 132 deletions.
2 changes: 0 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"transisions"
],
"ignorePaths": [
"**/*.rst_t",
"**/.cspell.json",
".constraints/*.txt",
".editorconfig",
Expand All @@ -32,7 +31,6 @@
".vscode/*",
"CITATION.cff",
"codecov.yml",
"docs/_templates/*",
"docs/conf.py",
"pyproject.toml",
"tox.ini",
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.

6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,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 @@ -83,6 +83,7 @@ commands =
--re-ignore docs/usage/sub_expr_f? \
--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 @@ -97,7 +98,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 @@ -130,6 +131,7 @@ commands =
--re-ignore docs/usage/sub_expr_f? \
--watch docs \
--watch src \
-b dirhtml \
docs/ docs/_build/html
description =
Set up a server to directly preview changes to the HTML pages
Expand Down

0 comments on commit 4fe7b70

Please sign in to comment.