mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Warn that register_facet_classes may change, refs #830
Also documented policy that plugin hooks should not be shipped without a real example. Refs #818
This commit is contained in:
parent
57e812d5de
commit
9f236c4c00
2 changed files with 4 additions and 0 deletions
|
|
@ -891,6 +891,9 @@ register_facet_classes()
|
|||
|
||||
Return a list of additional Facet subclasses to be registered.
|
||||
|
||||
.. warning::
|
||||
The design of this plugin hook is unstable and may change. See `issue 830 <https://github.com/simonw/datasette/issues/830>`__.
|
||||
|
||||
Each Facet subclass implements a new type of facet operation. The class should look like this:
|
||||
|
||||
.. code-block:: python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue