Welcome to the Zepto API documentation source.
- The Zepto 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.
make start # Ctrl+C to stop
- Edit the
source/openapi3/split.yaml
or any themes/templates. The preview should update a few seconds after you save your changes. - Changes to the YAML file will be built and output to the
source/
directory, so don't edit the build output in there. - Update the Changelog section of
source/openapi3/split.yaml
. - Commit both the YAML and the build output changes.
Note: Currently only changes to split.yaml will trigger the automatic update.
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.
make publish
- The Slate template/theme is mildly edited to suit our style.
- The same goes for Widdershin's conversion templates.
Thanks to the teams at Widdershins, Slate, Swagger and OpenAPI spec.