Installation¶
Obtain sphinx-jsonschema by installing it with pip:
sudo pip install sphinx-jsonschema
Then add it to your project by editing the conf.py
file and
append ‘sphinx-jsonschema’ to the extensions
array.
extensions = [
'sphinx.ext.autodoc',
'sphinx-jsonschema'
]
Docker image¶
A Docker image containing Sphinx and a number of extensions, including sphinx-jsonschema, can be found at Extended Sphinx. This Docker image is generated from the Dockerfile on Github.