Initial documentation for plugins, closes #213

https://datasette.readthedocs.io/en/latest/plugins.html
This commit is contained in:
Simon Willison 2018-04-16 08:12:09 -07:00
commit 904f1c75a3
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
4 changed files with 161 additions and 0 deletions

View file

@ -117,6 +117,7 @@ http://localhost:8001/History/downloads.json?_shape=objects will return that dat
-m, --metadata FILENAME Path to JSON file containing license/source
metadata
--template-dir DIRECTORY Path to directory containing custom templates
--plugins-dir DIRECTORY Path to directory containing custom plugins
--static STATIC MOUNT mountpoint:path-to-directory for serving static
files
--help Show this message and exit.
@ -167,6 +168,7 @@ This will create a docker image containing both the datasette application and th
--force Pass --force option to now
--branch TEXT Install datasette from a GitHub branch e.g. master
--template-dir DIRECTORY Path to directory containing custom templates
--plugins-dir DIRECTORY Path to directory containing custom plugins
--static STATIC MOUNT mountpoint:path-to-directory for serving static
files
--title TEXT Title for metadata
@ -192,6 +194,7 @@ If you have docker installed you can use `datasette package` to create a new Doc
--extra-options TEXT Extra options to pass to datasette serve
--branch TEXT Install datasette from a GitHub branch e.g. master
--template-dir DIRECTORY Path to directory containing custom templates
--plugins-dir DIRECTORY Path to directory containing custom plugins
--static STATIC MOUNT mountpoint:path-to-directory for serving static
files
--title TEXT Title for metadata