Skip to content

Fix missing Ripper doc caused by shim with :nodoc:#4092

Merged
kddnewton merged 1 commit intoruby:mainfrom
ybiquitous:fix-disabling-doc-for-ripper-shim
Apr 27, 2026
Merged

Fix missing Ripper doc caused by shim with :nodoc:#4092
kddnewton merged 1 commit intoruby:mainfrom
ybiquitous:fix-disabling-doc-for-ripper-shim

Conversation

@ybiquitous
Copy link
Copy Markdown
Contributor

This fixes the missing Ripper documentation, which currently returns 404 Not Found:

image

https://docs.ruby-lang.org/en/master/Ripper.html

We need to use :stopdoc:/startdoc: instead of :nodoc: to ignore the shim markup.

See also https://ruby.github.io/rdoc/doc/markup_reference/rdoc_rdoc.html#directives

Note

This PR is thanks to @st0012's advice. 😃

This fixes the missing Ripper documentation, which currently returns 404 Not Found:
https://docs.ruby-lang.org/en/master/Ripper.html

We need to use `:stopdoc:`/`startdoc:` instead of `:nodoc:` to ignore the shim markup.

See also https://ruby.github.io/rdoc/doc/markup_reference/rdoc_rdoc.html#directives
@kddnewton kddnewton enabled auto-merge April 27, 2026 16:36
@kddnewton kddnewton merged commit 35d8f75 into ruby:main Apr 27, 2026
60 checks passed
@ybiquitous ybiquitous deleted the fix-disabling-doc-for-ripper-shim branch April 27, 2026 17:11
@Earlopain
Copy link
Copy Markdown
Collaborator

Nice, thanks. I openend ruby/rdoc#1662 for this on the rdoc side since it started happening after a change they made but this is fine as well.

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.

3 participants