From e1e67e912a3b82bd4df4c8d35a047dc6de80b207 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 13 Jun 2026 21:58:16 -0700 Subject: [PATCH] Docs for ///-/fragment --- docs/pages.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/pages.rst b/docs/pages.rst index a8ff7c37..ce88be12 100644 --- a/docs/pages.rst +++ b/docs/pages.rst @@ -118,6 +118,16 @@ Some examples: * `../antiquities-act%2Factions_under_antiquities_act `_ is an interface for exploring the "actions under the antiquities act" data table published by FiveThirtyEight. * `../global-power-plants?country_long=United+Kingdom&primary_fuel=Gas `_ is a filtered table page showing every Gas power plant in the United Kingdom. It includes some default facets (configured using `its metadata.json `_) and uses the `datasette-cluster-map `_ plugin to show a map of the results. +.. _TableFragmentView: + +Table fragment +-------------- + +The ``//
/-/fragment`` endpoint returns the rendered table HTML +for rows matching the provided filters. It is used by Datasette's row editing +interface to refresh rows after changes while still respecting custom table +templates and ``render_cell`` plugin hooks. + .. _RowView: Row