We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3e52c commit 6560f7aCopy full SHA for 6560f7a
pep_sphinx_extensions/pep_theme/templates/page.html
@@ -49,12 +49,12 @@ <h1>Python Enhancement Proposals</h1>
49
<article>
50
{{ body }}
51
</article>
52
- {%- if not pagename == "numerical" %}
+ {%- if not pagename.startswith(("404", "numerical")) %}
53
<nav id="pep-sidebar">
54
<h2>Contents</h2>
55
{{ toc }}
56
<br>
57
- {%- if not pagename.startswith(("numerical", "pep-0000", "topic")) %}
+ {%- if not pagename.startswith(("pep-0000", "topic")) %}
58
<a id="source" href="https://github.com/python/peps/blob/main/peps/{{pagename}}.rst">Page Source (GitHub)</a>
59
{%- endif %}
60
</nav>
0 commit comments