docs: add v2 schema json

This commit is contained in:
Iain Learmonth 2022-04-08 17:48:07 +01:00
parent b2edcbe1a5
commit c57f072560
5 changed files with 101 additions and 4 deletions

View file

@ -16,7 +16,8 @@ author = 'Bypass Censorship'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc'
'sphinx.ext.autodoc',
'sphinx-jsonschema'
]
# Add any paths that contain templates here, relative to this directory.

View file

@ -29,6 +29,7 @@ Documentation Home
tech/index.rst
tech/conf.rst
tech/resource.rst
tech/schemas.rst
Indices and tables
@ -77,4 +78,4 @@ Supported by [*]_
.. rubric:: Footnotes
.. [*] Support received does not imply endorsement.
.. [*] Support received does not imply endorsement.

8
docs/tech/schemas.rst Normal file
View file

@ -0,0 +1,8 @@
Mirror List Formats
===================
Bypass Censorship Version 2
---------------------------
.. jsonschema:: ../../schemas/bc2.json