railsdoc.github.io is yet another Rails API documentation website.
The project goal is making api.rubyonrails.org SEO-friendly.
There are some enhancements in addition to SEO.
- Built by Jekyll
- Styled by bootstrap(v4)
- No iframe layout
- Table of Contents
- Google Custom Search
- Multiple version documentation
- Mobile-friendly design
- Comment System
- etc. (see. https://github.com/railsdoc/railsdoc.github.io/issues)
$ bundle installFor the latest Rails version:
$ rake buildThis command generates Rails docs with default_rails_version defined in _config.yml.
For specific Rails versions:
$ rake build_multi[5.2,6.0,6.1]Set RUBY_VERSION in .env file and run docker compose.
$ cp .env.sample .env
$ docker compose run app bash -c 'rake build_multi[5.2]'Serve html under src directory.
$ bundle exec jekyll serverPlease create an issue.