indirect / rubyapi

Search and find Ruby documentation

Home Page:https://rubyapi.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby API: Easily Find Ruby documentation

View performance data on Skylight

Ruby API makes it easy and fast to search or browse the Ruby language API docs.

Why?

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:

  • Readable on any size device
  • Fast on any speed internet connection
  • Relevant search results that surface useful APIs
  • Search engine optimized pages for every API method
  • Free, with no ads. Ever.

Getting started

Install dependencies:

$ bundle install && yarn install

Start ElasticSearch:

$ docker-compose up -d

Start the Rails Server

$ ./bin/rails server

Optionally, you also may want to start the webpack dev server

$ ./bin/webpack

Importing Documentation

Ruby's documentation can be imported very easily. There's a rake task that will let you import a given versions' documentation:

$ ./bin/rake import:ruby[2.6.4]

Running tests

The test suite can be executed with:

$ ./bin/rake test

Code Of Conduct

Everyone interacting with the source code, issue trackers, chat rooms, and mailing lists is expected to follow the Code Of Conduct

License

Ruby API is licensed under the MIT license.

About

Search and find Ruby documentation

https://rubyapi.org

License:MIT License


Languages

Language:Ruby 65.7%Language:HTML 22.2%Language:JavaScript 10.7%Language:CSS 1.4%