-
Notifications
You must be signed in to change notification settings - Fork 358
Closed
Labels
Description
Bug Report
tl;dr :ref:s and other directives don't seem to render in a GitHub view of an .rst file, even for targets within the same file
System Info
Version 117.0.5938.62 (Official Build) built on Debian 11.7, running on Debian 11.6 (64-bit)
Actual behavior:
The Testing link in After making changes does not link anywhere and does not render correctly:

Expected behavior:
The Testing link in After making changes:
- Works when clicked
- (Ideally) renders cleanly
Steps to reproduce/example code:
- Go to After making changes
- Observe the link
- Attempt to click it
Correcting the capitalization does not change this either. It appears GitHub cannot render :ref: targets.
Root causes
There seems to be limited post-processing of directives in GitHub views
Implications
This may block #1302 and affect #1886, both of which I was looking at when I noticed this.
Possible ways to fix it
- Use a script which renders CONTRIBUTING.rst as markdown
- Go back to old approach: the abbreviated model + links to the web site
I'm not in favor of clever scripts because those will probably break at some point.