mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Link to datasette-init plugin hook, refs #834
This commit is contained in:
parent
8b25b14de1
commit
99fba0fad3
2 changed files with 7 additions and 2 deletions
|
|
@ -107,6 +107,11 @@ datasette-json-html
|
|||
|
||||
`datasette-json-html <https://github.com/simonw/datasette-json-html>`__ renders HTML in Datasette's table view driven by JSON returned from your SQL queries. This provides a way to embed images, links and lists of links directly in Datasette's main interface, defined using custom SQL statements.
|
||||
|
||||
datasette-init
|
||||
--------------
|
||||
|
||||
`datasette-init <https://github.com/simonw/datasette-init>`__ allows you to define tables and views in your metadata file that should be created on startup if they do not already exist.
|
||||
|
||||
datasette-media
|
||||
---------------
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ arguments and can be called like this::
|
|||
|
||||
select random_integer(1, 10);
|
||||
|
||||
Examples: `datasette-jellyfish <https://github.com/simonw/datasette-jellyfish>`_, `datasette-jq <https://github.com/simonw/datasette-jq>`_, `datasette-haversine <https://github.com/simonw/datasette-haversine>`__, `datasette-rure <https://github.com/simonw/datasette-rure>`__
|
||||
Examples: `datasette-jellyfish <https://github.com/simonw/datasette-jellyfish>`__, `datasette-jq <https://github.com/simonw/datasette-jq>`__, `datasette-haversine <https://github.com/simonw/datasette-haversine>`__, `datasette-rure <https://github.com/simonw/datasette-rure>`__
|
||||
|
||||
.. _plugin_hook_prepare_jinja2_environment:
|
||||
|
||||
|
|
@ -717,7 +717,7 @@ Potential use-cases:
|
|||
await ds.invoke_startup()
|
||||
# Rest of test goes here
|
||||
|
||||
Example: `datasette-saved-queries <https://github.com/simonw/datasette-saved-queries>`__
|
||||
Examples: `datasette-saved-queries <https://github.com/simonw/datasette-saved-queries>`__, `datasette-init <https://github.com/simonw/datasette-init>`__
|
||||
|
||||
.. _plugin_hook_canned_queries:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue