Note
This is a fork of https://github.com/collective/sphinxcontrib-httpexample modified for the purposes of rotki.
sphinxcontrib-httpexample enhances sphinxcontrib-httpdomain, a Sphinx domain extension for describing RESTful HTTP APIs in detail, with a simple call example directive. The new directive provided by this extension generates RESTful HTTP API call examples for different tools from a single HTTP request example.
The audience for this extension are developers and technical writes documenting their RESTful HTTP APIs. This extension has originally been developed for documenting plone.restapi.
- Directive for generating various RESTful HTTP API call examples from single HTTP request.
- Supported tools:
This extension has been used at least in the following documentations:
- http://plonerestapi.readthedocs.org/
- http://sphinxcontrib-httpexample.readthedocs.org/
- https://guillotina.readthedocs.io/en/latest/
Full documentation for end users can be found in the "docs" folder. It is also available online at http://sphinxcontrib-httpexample.readthedocs.org/
Add sphinxcontrib-httpexample into requirements of your product documentation and into the configuration file of your Sphinx documentation next to sphincontrib-httpdomain as follows:
extensions = ['sphinxcontrib.httpdomain', 'sphinxcontrib.httpexample']
The project is licensed under the GPLv2.