Skip to content

Commit 08e37f7

Browse files
hugovkAA-Turner
andauthored
PEP 0: Fix 'Page Source (GitHub)' (#2401)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
1 parent 3646162 commit 08e37f7

File tree

1 file changed

+2
-0
lines changed
  • pep_sphinx_extensions/pep_theme/templates

1 file changed

+2
-0
lines changed

pep_sphinx_extensions/pep_theme/templates/page.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ <h2>Contents</h2>
3535
<p id="toc-title">{{ title }}</p>
3636
{{ toc }}
3737
<br />
38+
{%- if not sourcename.startswith("pep-0000") %}
3839
<a id="source" href="https://github.com/python/peps/blob/main/{{sourcename}}">Page Source (GitHub)</a>
40+
{%- endif %}
3941
</nav>
4042
</section>
4143
<script src="{{ pathto('_static/colour_scheme.js', resource=True) }}"></script>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy