diff --git a/.cspell.json b/.cspell.json index ce350a73..fb7b3352 100644 --- a/.cspell.json +++ b/.cspell.json @@ -21,7 +21,6 @@ ], "ignorePaths": [ "**/*.bib", - "**/*.rst_t", "**/.cspell.json", ".constraints/*.txt", ".editorconfig", @@ -33,7 +32,6 @@ ".vscode/*", "CITATION.cff", "codecov.yml", - "docs/_templates/*", "docs/conf.py", "pyproject.toml", "setup.cfg", diff --git a/docs/_templates/genindex.html b/docs/_templates/genindex.html deleted file mode 100644 index 21849ec3..00000000 --- a/docs/_templates/genindex.html +++ /dev/null @@ -1,55 +0,0 @@ -{% macro indexentries(firstname, links) %} {%- if links -%} - - {%- if links[0][0] %}{% endif -%} {{ firstname|e }} {%- if links[0][0] %}{% endif -%} - - -{%- for ismain, link in links[1:] -%} , -{% if ismain %}{% endif -%} [{{ loop.index }}] {%- if ismain %}{% endif -%} - -{%- endfor %} {%- else %} {{ firstname|e }} {%- endif %} {% endmacro %} {%- -extends "layout.html" %} {% set title = _('Index') %} {% block body %} - -
- {% for key, dummy in genindexentries -%} - {{ key }} - {% if not loop.last %}| {% endif %} {%- endfor %} -
- - -{% endif %} {{ super() }} {% endblock %} diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html deleted file mode 100644 index 25d65cd5..00000000 --- a/docs/_templates/layout.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "!layout.html" %} {% block menu %} {{ super() }} -Module Index (API) -General Index -{% endblock %} diff --git a/docs/_templates/module.rst_t b/docs/_templates/module.rst_t deleted file mode 100644 index 6d477106..00000000 --- a/docs/_templates/module.rst_t +++ /dev/null @@ -1,12 +0,0 @@ -{%- if show_headings and not separate %} -{{ basename.split(".")[-1] | e | heading }} - -.. code-block:: python - - import {{ basename }} - -{% endif -%} -.. automodule:: {{ qualname }} -{%- for option in automodule_options %} - :{{ option }}: -{%- endfor %} diff --git a/docs/_templates/package.rst_t b/docs/_templates/package.rst_t deleted file mode 100644 index cac2570e..00000000 --- a/docs/_templates/package.rst_t +++ /dev/null @@ -1,49 +0,0 @@ -{%- macro automodule(modname, options) -%} -.. automodule:: {{ modname }} -{%- for option in options %} - :{{ option }}: -{%- endfor %} -{%- endmacro %} - -{%- macro toctree(docnames) -%} -.. toctree:: -{% for docname in docnames %} - {{ docname }} -{%- endfor %} -{%- endmacro %} - -{{ pkgname.split(".")[-1] | e | heading }} - -.. code-block:: python - - import {{ pkgname }} - -{%- if modulefirst and not is_namespace %} -{{ automodule(pkgname, automodule_options) }} -{% endif %} - -{%- if not modulefirst and not is_namespace %} - -{{ automodule(pkgname, automodule_options) }} -{% endif %} - -{%- if submodules or subpackages %} -.. rubric:: Submodules and Subpackages -{% endif %} - -{%- if subpackages %} - -{{ toctree(subpackages) }} -{% endif %} -{%- if submodules %} -{% if separatemodules %} -{{ toctree(submodules) }} -{%- else %} -{%- for submodule in submodules %} -{% if show_headings %} -{{- [submodule, "module"] | join(" ") | e | heading(2) }} -{% endif %} -{{ automodule(submodule, automodule_options) }} -{% endfor %} -{%- endif %} -{% endif %} diff --git a/docs/_templates/toc.rst_t b/docs/_templates/toc.rst_t deleted file mode 100644 index cba06b1a..00000000 --- a/docs/_templates/toc.rst_t +++ /dev/null @@ -1,7 +0,0 @@ -{{ header | heading }} - -.. toctree:: - :maxdepth: {{ maxdepth }} -{% for docname in docnames %} - {{ docname }} -{%- endfor %}