From a96ad967e4b2adf3d0e056a6f785eefbb1a13620 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 24 Oct 2020 13:05:19 -0700 Subject: [PATCH] Cleaned up some rogue full-stops --- docs/internals.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/internals.rst b/docs/internals.rst index dbb9478c..1c714eb8 100644 --- a/docs/internals.rst +++ b/docs/internals.rst @@ -396,12 +396,12 @@ The ``datasette.urls`` object contains methods for building URLs to pages within ``datasette.url.static_plugins("datasette_cluster_map", "datasette-cluster-map.js")`` would return ``"/-/static-plugins/datasette_cluster_map/datasette-cluster-map.js"`` ``datasette.urls.static(path)`` - Returns the URL of one of Datasette's default static assets, for example ``"/-/static/app.css"``. + Returns the URL of one of Datasette's default static assets, for example ``"/-/static/app.css"`` ``datasette.urls.static_plugins(plugin_name, path)`` Returns the URL of one of the static assets belonging to a plugin. - ``datasette.url.static_plugins("datasette_cluster_map", "datasette-cluster-map.js")`` would return ``"/-/static-plugins/datasette_cluster_map/datasette-cluster-map.js"``. + ``datasette.url.static_plugins("datasette_cluster_map", "datasette-cluster-map.js")`` would return ``"/-/static-plugins/datasette_cluster_map/datasette-cluster-map.js"`` ``datasette.urls.database(database_name)`` Returns the URL to a database page, for example ``"/fixtures"``