docs: use PlantUML instead of Latex to generate Schema Isolation image

This commit is contained in:
Laurence Isla
2024-06-27 14:08:16 -05:00
committed by Steve Chavez
parent 572581cbb6
commit d3292d42de
8 changed files with 53 additions and 3 deletions
+14 -2
View File
@@ -8,6 +8,18 @@ A PostgREST instance exposes all the tables, views, and functions of a single `P
It is recommended that you don't expose tables on your API schema. Instead expose views and functions which insulate the internal details from the outside world.
This allows you to change the internals of your schema and maintain backwards compatibility. It also keeps your code easier to refactor, and provides a natural way to do API versioning.
.. container:: img-translucent
.. container:: svg-container-md
.. image:: ../_static/db.png
.. container:: img-dark
.. See https://github.com/sphinx-doc/sphinx/issues/2240#issuecomment-187366626
.. raw:: html
<object width="100%" data="../_static/sch-iso-dark.svg" type="image/svg+xml"></object>
.. container:: img-light
.. raw:: html
<object width="100%" data="../_static/sch-iso.svg" type="image/svg+xml"></object>