| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
| Back | FazBrowse Home | New Git URL |
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).