Docs for datasette publish and package, closes #337

Also introduced a new mechanism for ensuring the --help examples in the
documentation reflect the current output of the --help commands, via a new
update-docs-help.sh script. Closes #336
This commit is contained in:
Simon Willison 2018-07-10 19:04:13 -07:00
commit aec3ae5323
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52
7 changed files with 213 additions and 28 deletions

4
update-docs-help.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
echo $'$ datasette serve --help\n\n' "$(datasette serve --help)" > docs/datasette-serve-help.txt
echo $'$ datasette publish --help\n\n' "$(datasette publish --help)" > docs/datasette-publish-help.txt
echo $'$ datasette package --help\n\n' "$(datasette package --help)" > docs/datasette-package-help.txt