Welcome to the Split API documentation source.
- The Split API is documented using the OpenAPI 3.0.0 specification.
- The new Swagger editor was used to get the boilerplate done.
- The API spec is then converted to Slate friendly markdown with Widdershins.
- Clone the repo
$ bundle install
$ yarn install
- Edit the
source/openapi3/split.yaml
or any themes/templates $ yarn run widdershins -e options.yml ./source/openapi3/split.yaml -o ./source/index.html.md
- Preview:
$ bundle exec middleman server
- Preview:
Warning: this script will push changes directly to Github pages. They will be publicly visible. You should only run this after your changes have been reviewed and merged.
$ ./deploy.sh
- The Slate template/theme is mildly edited to suite our style.
- The same goes for Widdershin's conversion templates.
Thanks to the teams at Widdershins, Slate, Swagger and OpenAPI spec.