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"``