Skip to content

Turn off confusing view source link#2860

Merged
Cleptomania merged 1 commit into
pythonarcade:developmentfrom
pushfoo:turn_off_crufty_meaningless_view_source
May 21, 2026
Merged

Turn off confusing view source link#2860
Cleptomania merged 1 commit into
pythonarcade:developmentfrom
pushfoo:turn_off_crufty_meaningless_view_source

Conversation

@pushfoo
Copy link
Copy Markdown
Member

@pushfoo pushfoo commented May 21, 2026

TL;DR: Turn off .rst source link mentioned in #2859

What's fixed?

LiveThis PR
Page view image image
Problem?image None

How's it fixed?

html_show_sourcelink = False in conf.py.

This is the simplest, most durable approach::

  1. Turning it off is the simplest fix
    • pyglet does this
    • NumPy does it with extra steps via a link to their GitHub repo README.md
  2. Hide it at the bottom of the page in tiny gray font (PyMunk)

What I've tested on Chrome:

  • Building doc locally
  • Viewing it in desktop, tablet, and mobile preview modes
  • Click-to-copy on code examples still works

* Use html_show_sourcelink=True to turn off top bar link

* Add pending comment mentioning ticket pythonarcade#2859 asking about it
@Cleptomania Cleptomania merged commit e5a61a5 into pythonarcade:development May 21, 2026
7 checks passed
@pushfoo pushfoo deleted the turn_off_crufty_meaningless_view_source branch May 21, 2026 18:44
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.

2 participants