Welcome to the Zepto API documentation source.
Zepto's API Documentation is hosted at docs.zeptopayments.com and powered by readme.
Note that some parts of the docs published at docs.zeptopayments.com are maintained outside of this repo.
- 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
- With the application running, 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
source/index.html.md
, courtesy of Guard (see the Guardfile). (Don't edit the output file directly). - Commit both the YAML and the build output changes.
Note: Currently only changes to split.yaml will trigger the automatic update.
- Make changes to the Developer Guides directly in the source/guides markdown files (there is no need for the application to be running). For example:
- Commit your changes.
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.