Coder Social home page Coder Social logo

ur5us / rubyapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rubyapi/rubyapi

1.0 0.0 0.0 50.61 MB

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

Home Page: https://rubyapi.org

License: MIT License

Ruby 61.36% JavaScript 15.49% HTML 4.29% SCSS 1.18% Slim 17.68%

rubyapi's Introduction

Ruby API: Easily Find Ruby documentation

View performance data on Skylight CI

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-dev-server

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[3.0.0]

or you can easily import the latest versions of all currently supported versions of ruby:

$ ./bin/rake import:ruby:all

Running tests

The test suite can be executed with:

$ ./bin/rake test

Linting code

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.

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.

rubyapi's People

Contributors

colby-swandale avatar dependabot-preview[bot] avatar dependabot[bot] avatar natematykiewicz avatar dependabot-support avatar bronzdoc avatar ioquatix avatar cstyles avatar alexwayfer avatar juanitofatas avatar aaronc81 avatar indirect avatar shgtkshruch avatar st0012 avatar

Stargazers

Roman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.