Documentation: https://justeat.github.io/partnerapi-docs/
Preview (when using a branch) [branch]
: https://justeat.github.io/partnerapi-docs/preview/[branch]
Warning: Above link is updated only after Travis CI finishes deployment
- Install Node JS
- Clone repo and
cd
- Run
npm install
- Run
- Run
npm start
- Checkout console output to see where local server is started. You can use all links (except
preview
) by replacing https://justeat.github.io/partnerapi-docs/ with url from the message:Server started <url>
- Make changes using your favorite editor
- All changes are immediately propagated to your local server, moreover all documentation pages will be automagically refreshed in a browser after each change
- Once you finish with the changes you can run tests using:
npm test
- Share you changes with the rest of the world by pushing to GitHub 😄
This documentation is built using
- ReDoc as the site template (see web/index.html for the version being used
- Yeoman Generator for OpenAPI which allows us to store the OpenAPI spec as lots of separate YAML files and then combine and genreate OpenAPI json. This makes the spec easier to edit, as it's not one huge file!