rdoc
rdoc copied to clipboard
Add version selector
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/
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.
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.
Thanks for the PR! Can this feature benefit https://api.rubyonrails.org/ too?