Move non-metadata configuration from metadata.yaml to datasette.yaml

* Allow and permission blocks moved to datasette.yaml
* Documentation updates, initial framework for configuration reference
This commit is contained in:
Alex Garcia 2023-10-12 09:16:37 -07:00 committed by GitHub
commit 35deaabcb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 595 additions and 493 deletions

View file

@ -120,7 +120,7 @@ Here's an example that turns on faceting by default for the ``qLegalStatus`` col
})
.. ]]]
.. tab:: YAML
.. tab:: metadata.yaml
.. code-block:: yaml
@ -132,7 +132,7 @@ Here's an example that turns on faceting by default for the ``qLegalStatus`` col
- qLegalStatus
.. tab:: JSON
.. tab:: metadata.json
.. code-block:: json
@ -164,7 +164,7 @@ You can specify :ref:`array <facet_by_json_array>` or :ref:`date <facet_by_date>
})
.. ]]]
.. tab:: YAML
.. tab:: metadata.yaml
.. code-block:: yaml
@ -173,7 +173,7 @@ You can specify :ref:`array <facet_by_json_array>` or :ref:`date <facet_by_date>
- date: created
.. tab:: JSON
.. tab:: metadata.json
.. code-block:: json
@ -206,7 +206,7 @@ You can change the default facet size (the number of results shown for each face
})
.. ]]]
.. tab:: YAML
.. tab:: metadata.yaml
.. code-block:: yaml
@ -219,7 +219,7 @@ You can change the default facet size (the number of results shown for each face
facet_size: 10
.. tab:: JSON
.. tab:: metadata.json
.. code-block:: json