Skip to content

Fix the helper methods link in the StringScanner docs - #227

Open
alvaroalonsoparrondo-a11y wants to merge 1 commit into
ruby:masterfrom
alvaroalonsoparrondo-a11y:fix-helper-methods-link
Open

alvaroalonsoparrondo-a11y wants to merge 1 commit into
ruby:masterfrom
alvaroalonsoparrondo-a11y:fix-helper-methods-link

Conversation

@alvaroalonsoparrondo-a11y

Copy link
Copy Markdown

On docs.ruby-lang.org the relative doc/strscan/helper_methods.md link in the StringScanner overview renders as doc/strscan/helper_methods_md.html, which does not exist; the page is published at https://docs.ruby-lang.org/en/master/strscan/helper_methods_md.html. This uses that absolute URL, as the same docs already do for the Regexp and String links.

Fixes #226

The relative doc/strscan/helper_methods.md link renders as
doc/strscan/helper_methods_md.html on docs.ruby-lang.org, which does not
exist; the page is published at strscan/helper_methods_md.html. Use the
absolute URL, as the docs already do for Regexp and String.

Fixes ruby#226
@kou

kou commented Nov 25, 2026

Copy link
Copy Markdown
Member

If we use URL, old documents can't refer the same documents.
How about #228 instead?

This branch has not been deployed

No deployments
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

2 participants