This repository uses the legacy Slate documentation toolchain.
- Linux or macOS
- Ruby 2.6.7 — selected automatically by
.ruby-versionwhen using rbenv - Bundler 1.17.2
Clone the repository, install its locked dependencies, and start the local preview server:
git clone https://github.com/dbljump/api-docs-slate.git
cd api-docs-slate
bundle install
bundle exec middleman serverWith the server running, view the docs at http://localhost:4567.
To verify a production build:
bundle exec middleman build --cleanCommit changes to master branch, then run the deploy script:
./deploy.shThe deploy script builds the site and pushes the generated output to the
gh-pages branch.