docs: improve architecture diagram

- SVG format instead of PNG
- The components now have links to their reference in the Docs
- Supports dark mode
This commit is contained in:
Laurence Isla
2024-06-27 14:08:16 -05:00
committed by Steve Chavez
parent 7860e7287f
commit 5b62501ce7
9 changed files with 57 additions and 13 deletions
+16 -1
View File
@@ -6,7 +6,22 @@ This page describes the architecture of PostgREST.
Bird's Eye View
===============
.. image:: ../_static/arch.png
You can click on the components to navigate to their respective documentation.
.. container:: img-dark
.. See https://github.com/sphinx-doc/sphinx/issues/2240#issuecomment-187366626
.. raw:: html
<object width="100%" data="../_static/arch-dark.svg" type="image/svg+xml"></object>
.. container:: img-light
.. raw:: html
<object width="100%" data="../_static/arch.svg" type="image/svg+xml"></object>
Code Map
========
-4
View File
@@ -1,7 +1,3 @@
.. note::
This page is a work in progress.
.. _schema_isolation:
Schema Isolation