Skip to content

Infra: Move templates to root of pep_theme directory - #5197

Open
hwhsu1231 wants to merge 1 commit into
python:mainfrom
hwhsu1231-fork:infra/mv-templates-to-pep-theme-root-dir
Open

hwhsu1231 wants to merge 1 commit into
python:mainfrom
hwhsu1231-fork:infra/mv-templates-to-pep-theme-root-dir

Conversation

@hwhsu1231

Copy link
Copy Markdown

This is a follow-up to #4404, closed on the grounds that the PEPs theme is internal-only and not intended to be overridden. That stands: this change is not about making the theme user-overridable. It is about the redundant configuration that using the theme's own templates through templates_path requires.

This PR moves the theme's Jinja templates from pep_theme/templates/ up to pep_theme/, drops the templates_path entry in peps/conf.py that existed only to point Sphinx at them, and also updates peps/docs/rendering_system.rst, which referred to the old template path.

Signed-off-by: Haowei Hsu <hwhsu1231@localizethedocs.org>
@hwhsu1231
hwhsu1231 requested review from a team and AA-Turner as code owners October 26, 2026 17:46
@python-cla-bot

python-cla-bot Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 pep-previews | 🛠️ Build #35420786 | 📁 Comparing 6673c42 against latest (227e111)

  🔍 Preview build  

1 file changed
± docs/rendering_system/index.html

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant