Skip to content

Fix links to headings #721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2019
Merged

Fix links to headings #721

merged 1 commit into from
Jul 8, 2019

Conversation

MaxLap
Copy link
Contributor

@MaxLap MaxLap commented May 30, 2019

A previous change made the header's id be fully referenced (for the sidebar I believe) but this broke links to them.

You can see the issue in the doc for Links: https://ruby.github.io/rdoc/RDoc/Markup.html#class-RDoc::Markup-label-Links. In the 4th paragraph, there is a link Links at RDoc::Markup, which link to #label-Links. You can scroll and then click on it to see that it does nothing. That's because the ID of the header is actually class-RDoc::Markup-label-Links

This change fixes it.

A previous change made the header's id be fully referenced (for the sidebar I believe) but this broke links to them.
This fixes the issue.
@aycabta aycabta merged commit 37b82e6 into ruby:master Jul 8, 2019
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