Added labels so unit tests can detect docs, refs #299

This commit is contained in:
Simon Willison 2018-07-27 20:26:18 -07:00
commit 8da6b0d542
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52

View file

@ -5,6 +5,8 @@ Datasette includes some pages and JSON API endpoints for introspecting the curre
Each of these pages can be viewed in your browser. Add ``.json`` to the URL to get back the contents as JSON. Each of these pages can be viewed in your browser. Add ``.json`` to the URL to get back the contents as JSON.
.. _JsonDataView_metadata:
/-/metadata /-/metadata
----------- -----------
@ -19,6 +21,8 @@ Shows the contents of the ``metadata.json`` file that was passed to ``datasette
"databases": {...} "databases": {...}
} }
.. _JsonDataView_inspect:
/-/inspect /-/inspect
---------- ----------
@ -52,6 +56,7 @@ This is an internal implementation detail of Datasette and the format should not
}, },
... ...
.. _JsonDataView_versions:
/-/versions /-/versions
----------- -----------
@ -78,6 +83,8 @@ Shows the version of Datasette, Python and SQLite. `Versions example <https://fi
} }
} }
.. _JsonDataView_plugins:
/-/plugins /-/plugins
---------- ----------
@ -92,6 +99,8 @@ Shows a list of currently installed plugins and their versions. `Plugins example
} }
] ]
.. _JsonDataView_config:
/-/config /-/config
--------- ---------