FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: hide Edit on GitHub link for autogenerated API pages by MsfPablo · Pull Request #15360 · ipython/ipython · GitHub

docs: hide Edit on GitHub link for autogenerated API pages - #15360

Open
MsfPablo wants to merge 2 commits into
ipython:mainfrom
MsfPablo:docs-hide-edit-link-autogenerated-api
Open

docs: hide Edit on GitHub link for autogenerated API pages#15360
MsfPablo wants to merge 2 commits into
ipython:mainfrom
MsfPablo:docs-hide-edit-link-autogenerated-api

Conversation

MsfPablo commented Aug 7, 2026

Copy link
Copy Markdown

Closes #11919\n\nThe docs/source/_templates/breadcrumbs.html template already suppresses the "Edit on GitHub" link for pages under api/generated/, but it also respects a :github_url: hide page metadata flag. This change adds that metadata to the RST files produced by docs/sphinxext/apigen.py so the broken edit link is hidden on the autogenerated API pages built by ReadTheDocs.\n\nVerified by running python docs/autogen_api.py in a fresh venv and confirming that generated files start with :github_url: hide.\n\nNote: this change was prepared with assistance from Claude (Anthropic).

Pablo Garcia added 2 commits August 7, 2026 11:30
Adds :github_url: hide metadata to RST files generated by apigen so that the breadcrumbs template suppresses the broken Edit on GitHub link on readthedocs.

Closes ipython#11919
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Broken link to "Edit on Github" in ipython documentation

1 participant


Back | FazBrowse Home | New Git URL