diff --git a/pep_sphinx_extensions/pep_theme/templates/page.html b/pep_sphinx_extensions/pep_theme/page.html similarity index 100% rename from pep_sphinx_extensions/pep_theme/templates/page.html rename to pep_sphinx_extensions/pep_theme/page.html diff --git a/pep_sphinx_extensions/pep_theme/templates/partials/icons.html b/pep_sphinx_extensions/pep_theme/partials/icons.html similarity index 100% rename from pep_sphinx_extensions/pep_theme/templates/partials/icons.html rename to pep_sphinx_extensions/pep_theme/partials/icons.html diff --git a/peps/conf.py b/peps/conf.py index 9766d91fa0c..ebb5042d41f 100644 --- a/peps/conf.py +++ b/peps/conf.py @@ -113,6 +113,3 @@ html_permalinks = False # handled in the PEPContents transform html_baseurl = "https://peps.python.org" # to create the CNAME file gettext_auto_build = False # speed-ups - -# Theme template relative paths from `confdir` -templates_path = [os.fspath(_PSE_PATH / "pep_theme" / "templates")] diff --git a/peps/docs/rendering_system.rst b/peps/docs/rendering_system.rst index 2246467efa6..7cfc7a9ac8f 100644 --- a/peps/docs/rendering_system.rst +++ b/peps/docs/rendering_system.rst @@ -183,7 +183,7 @@ The HTML files are then written out to the build directory. -------- The theme is comprised of the HTML template in -``pep_sphinx_extensions/pep_theme/templates/page.html`` and the stylesheets in +``pep_sphinx_extensions/pep_theme/page.html`` and the stylesheets in ``pep_sphinx_extensions/pep_theme/static``. The template is entirely self-contained, not relying on any default behaviour