Slate helps you create beautiful, intelligent, responsive API documentation.

The example above was created with Slate. Check it out at lord.github.io/slate.

Features

Getting started with Slate is super easy! Simply fork this repository and follow the instructions below. Or, if you’d like to check out what Slate is capable of, take a look at the sample docs.

Getting Started with Slate

Getting Set Up

  1. Fork this repository on Github.
  2. Clone your forked repository (not our original one) to your hard drive with git clone https://github.com/YOURUSERNAME/slate.git
  3. cd slate
  4. 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 upCopy the code

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.

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

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.

Companies Using Slate

You can view more in the list on the wiki.

Need Help? Found a bug?

Submit an issue to the Slate Github if you need any help. And, of course, feel free to submit pull requests with bug fixes or changes.

Contributors

Slate was built by Robert Lord while interning at TripIt.

Thanks to the following people who have submitted major pull requests:

  • @chrissrogers
  • @bootstraponline
  • @realityking
  • @cvkef

Also, thanks to Sauce Labs for sponsoring the development of the responsive styles.

Special Thanks