Skip to content

rubiconmd/api-documentation

 
 

Repository files navigation

RubiconMD API Docs

Prerequisites

You're going to need:

  • Linux or OS X — Windows may work, but is unsupported.
  • Ruby, version 2.3.1 or newer
  • Bundler — If Ruby is already installed, but the bundle command doesn't work, just run gem install bundler in a terminal.

Getting Set Up

  1. Clone this repo to your local
  2. Initialize and start Slate. You can either do this locally, or with Vagrant:
# either run this to run locally
bundle install
bundle exec middleman server

# OR run this to run with vagrant
vagrant up

You can now see the docs at http://localhost:4567. Whoa! That was fast!

Now that Slate is all set up on your machine, you'll probably want to learn more about editing Slate markdown, or how to publish your docs. (spoiler: push to the remote and run ./deploy.sh)

If you'd prefer to use Docker, instructions are available in the wiki.

Making changes

Changes should be made to the source/index.html.md and source/includes/_errors.md files.

Note on JavaScript Runtime

For those who don't have JavaScript runtime or are experiencing JavaScript runtime issues with ExecJS, it is recommended to add the rubyracer gem to your gemfile and run bundle again.

Packages

No packages published

Languages

  • JavaScript 88.3%
  • CSS 7.6%
  • Ruby 1.6%
  • Shell 1.5%
  • HTML 1.0%