Ruby API makes it easy and fast to search or browse the Ruby language API docs
Ruby API makes it easy and fast to search or browse the Ruby language API docs.
The existing websites for Ruby documentation are hard to search, and impossible to read on mobile devices. Ruby API provides instant search results, inspired by Dash, and a responsive design that’s easy to read on any size device.
We aim to improve the Ruby ecosystem by being:
For a quick, easy and automated way to get started, you can use the Github Dev Container.
Github Dev Containers will automatically install all the dependencies and start the application.
Install dependencies:
Note: This command can also be used to quickly update the application dependencies
bin/setup
Start ElasticSearch:
docker compose up -d
We only officially support Docker, but you can try with Podman instead:
podman-compose up -d
Start the Rails Server
bin/dev
Ruby’s documentation can be imported very easily. There’s a rake task that will let you import a given versions’ documentation:
bin/rails import:ruby[3.1]
or you can easily import the latest versions of all currently supported versions of Ruby:
bin/rails import:ruby:all
The test suite can be executed with:
bin/rails test
This project uses StandardRB for linting.
StandardRB can be executed with:
bin/standardrb
Note: This command may make changes to your code, to make it conform to the formatting rules of
this project.
For instructions on running StandardRB in your editor, check out StandardRB’s Documentation.
rubyapi.org is supported by Ruby Central, a non-profit organization that supports the Ruby community through projects like this one, as well as RubyGems.org, RubyConf, RailsConf, and Bundler. You can support Ruby Central by attending or sponsoring a conference, or by joining as a supporting member.
Hosting is donated by Amazon Web Services, with CDN service donated by Fastly.
Learn more about our sponsors and how they work together.
Everyone interacting with the source code, issue trackers, chat rooms, and mailing lists is expected to follow the Code Of Conduct
Ruby API is licensed under the MIT license.