CampusData/slate

Name: slate

Owner: Campus Data

Description: Beautiful static documentation for your API

Created: 2016-01-20 02:03:34.0

Updated: 2016-01-20 02:03:35.0

Pushed: 2016-01-17 23:35:19.0

Homepage:

Size: 27362

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Slate

Build Status Dependency Status

Slate helps you create beautiful API documentation. Think of it as an intelligent, responsive documentation template for your API.

Screenshot of Example Documentation created with Slate

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

Features

Getting starting with Slate is super easy! Simply fork this repository, and then 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
Prerequisites

You're going to need:

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. Install all dependencies: bundle install
  5. Start the test server: bundle exec middleman server

Or use the included Dockerfile! (must install Docker first)

er build -t slate .
er run -d -p 4567:4567 --name slate -v $(pwd)/source:/app/source slate

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

Note: if you're using the Docker setup on OSX, the docs will be available at the output of docker-machine ip <machine-name> (port: 4567) instead of localhost:4567.

Now that Slate is all set up your machine, you'll probably want to learn more about editing Slate markdown, or how to publish your docs.

Examples of Slate in the Wild

(Feel free to add your site to this list in a pull request!)

Need Help? Found a bug?

Just submit a 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 at TripIt.

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

Also, thanks to Sauce Labs for helping sponsor the project.

Special Thanks

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.