mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Better documentation for --static, closes #641
https://datasette.readthedocs.io/en/stable/custom_templates.html#serving-static-files
This commit is contained in:
parent
aca41618f8
commit
df2879ee2a
9 changed files with 54 additions and 9 deletions
|
|
@ -730,7 +730,7 @@ def remove_infinites(row):
|
|||
|
||||
|
||||
class StaticMount(click.ParamType):
|
||||
name = "static mount"
|
||||
name = "mount:directory"
|
||||
|
||||
def convert(self, value, param, ctx):
|
||||
if ":" not in value:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue