Skip to content

Commit e43fdd2

Browse files
Link to plain text PEPs for 'Page Source' (#4561)
1 parent 1292ca3 commit e43fdd2

File tree

1 file changed

+1
-1
lines changed
  • pep_sphinx_extensions/pep_theme/templates

1 file changed

+1
-1
lines changed

pep_sphinx_extensions/pep_theme/templates/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h2>Contents</h2>
5555
{{ toc }}
5656
<br>
5757
{%- 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>
58+
<a id="source" href="https://github.com/python/peps/blob/main/peps/{{pagename}}.rst?plain=1">Page Source (GitHub)</a>
5959
{%- endif %}
6060
</nav>
6161
{%- endif %}

0 commit comments

Comments
 (0)