This repository contains the CloudMC API documentation
You're going to need one of the following:
- Local install
- Ruby, version 2.2.5 or newer
- Bundler — If Ruby is already installed, but the
bundle
command doesn't work, just rungem install bundler
in a terminal.
- Docker (preferred)
- Vagrant
Clone this repository
Option 1: use docker
cd /path/to/repo/cloudmc-api-docs/
docker compose up -d
Option 2: local or vagrant
cd /path/to/repo/cloudmc-api-docs/slate
# either run locally
bundle install
bundle exec middleman server
# OR use 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
If you'd prefer to use Docker, instructions are available in the wiki.
TODO: update with instructions on deploying the docs with jenkins
- Make sure your changes have been merged into
cmc-dev
git checkout cmc-dev
./deploy.sh
The docs should go live once GitHub processes the new gh-pages
branch contents.