rdoc icon indicating copy to clipboard operation
rdoc copied to clipboard

Add version selector

Open p8 opened this issue 6 months ago • 2 comments

To make it easier to switch to documentation of other versions, add a select box to select other versions.

For example, the versions can be defined in .rdoc_options:

versions:
  latest: https://docs.ruby-lang.org/en/
  master: https://docs.ruby-lang.org/en/master/
  3.4: https://docs.ruby-lang.org/en/3.4/
image

This would allow https://docs.ruby-lang.org/en/ to just show RDoc documentation for the last released version instead of a list of documentation version.

p8 avatar May 31 '25 19:05 p8

Cloudflare Preview Deployment

⚠️ This PR is from a fork, so the preview deployment workflow doesn't run automatically for security reasons.

For Maintainers:

🚀 Click here to run the preview deployment workflow

This will trigger a Cloudflare Pages preview deployment for this PR.

github-actions[bot] avatar May 31 '25 19:05 github-actions[bot]

Thanks for the PR! Can this feature benefit https://api.rubyonrails.org/ too?

st0012 avatar Jul 06 '25 10:07 st0012