From 63071ecba41805cbd4021d4ab14f3a74b4db8443 Mon Sep 17 00:00:00 2001 From: Juan-Pablo Scaletti Date: Fri, 19 Jul 2024 13:10:14 -0500 Subject: [PATCH] Update Docs (#82) Update docs --- docs/components/Copyright.jinja | 3 +- docs/components/Home.jinja | 12 +- docs/components/NavExtra.jinja | 4 +- docs/components/ui/Accordion/DemoResult.jinja | 3 +- docs/components/ui/Dialog/DemoPreview.jinja | 4 - .../components/ui/LinkedList/DemoResult.jinja | 3 +- docs/components/ui/Menu/DemoResult.jinja | 3 +- docs/components/ui/Popover/DemoResult.jinja | 3 +- docs/components/ui/Tabs/DemoResult.jinja | 3 +- docs/components/ui/Tabs/ManualResult.jinja | 3 +- docs/components/ui/Tabs/SelectResult.jinja | 3 +- docs/components/ui/Tabs/VerticalResult.jinja | 3 +- docs/content/api.md | 27 + docs/content/guide/components.md | 338 +++++++++++- docs/content/guide/css_and_js.md | 45 +- docs/content/guide/extra.md | 170 ------ docs/content/guide/index.md | 130 +++-- docs/content/guide/integrations.md | 3 + docs/content/guide/motivation.md | 115 +++++ docs/content/guide/performance.md | 3 + docs/content/ui/index.md | 2 +- docs/content/ui/menu.md | 6 +- docs/content/ui/popover.md | 4 +- docs/content/ui/reldate.md | 28 +- docs/content/ui/tabs.md | 20 +- docs/deploy.sh | 1 + docs/docs.py | 16 +- docs/static/docs.css | 7 + docs/static/prose.css | 117 +++-- docs/static/theme.css | 487 +++++++++++++----- docs/theme/Autodoc.jinja | 127 +++++ docs/theme/Callout.jinja | 4 +- docs/theme/ExampleTabs.jinja | 4 +- docs/theme/Footer.jinja | 2 +- docs/theme/Header.jinja | 15 +- docs/theme/Key.jinja | 1 - docs/theme/Layout.jinja | 18 +- docs/theme/LinkButton.jinja | 1 - docs/theme/MetaTags.jinja | 8 +- docs/theme/NavBar.jinja | 2 +- docs/theme/NavGlobal.jinja | 4 +- docs/theme/NavLocal.jinja | 6 +- docs/theme/NavMobile.jinja | 12 +- docs/theme/NavTop.jinja | 14 +- docs/theme/Page.jinja | 14 +- docs/theme/PageSingle.jinja | 6 +- docs/theme/PrevNext.jinja | 2 +- docs/theme/Source.jinja | 24 + docs/theme/Source.js | 123 +++++ docs/theme/Test.jinja | 2 +- docs/theme/ThemeSwitch.jinja | 3 +- docs/theme/ThemeSwitch.js | 2 +- docs/theme/Toc.jinja | 2 +- docs/theme/TocPage.jinja | 6 +- docs/theme/TocPage.js | 16 +- docs/theme/svg/github.svg | 1 - src/jinjax/__init__.py | 2 +- src/jinjax/catalog.py | 179 ++++++- src/jinjax/component.py | 2 + src/jinjax/exceptions.py | 19 +- src/jinjax/html_attrs.py | 218 +++++++- 61 files changed, 1802 insertions(+), 603 deletions(-) create mode 100644 docs/content/api.md delete mode 100644 docs/content/guide/extra.md create mode 100644 docs/content/guide/integrations.md create mode 100644 docs/content/guide/motivation.md create mode 100644 docs/content/guide/performance.md create mode 100644 docs/theme/Autodoc.jinja delete mode 100644 docs/theme/Key.jinja delete mode 100644 docs/theme/LinkButton.jinja create mode 100644 docs/theme/Source.jinja create mode 100644 docs/theme/Source.js delete mode 100644 docs/theme/svg/github.svg diff --git a/docs/components/Copyright.jinja b/docs/components/Copyright.jinja index 9ecbb19..99cc4e3 100644 --- a/docs/components/Copyright.jinja +++ b/docs/components/Copyright.jinja @@ -1,3 +1,4 @@
- © Juan-Pablo Scaletti + Website content copyright © Juan-Pablo Scaletti. + JinjaX and its documentation are licensed under the MIT license.
\ No newline at end of file diff --git a/docs/components/Home.jinja b/docs/components/Home.jinja index 9abb19a..2d067cb 100644 --- a/docs/components/Home.jinja +++ b/docs/components/Home.jinja @@ -69,11 +69,11 @@

Better than include and macros

-
+
-

Encapsulated

+
@@ -85,8 +85,8 @@
-

Simple

+
@@ -98,8 +98,8 @@
-

Modern

+
@@ -113,8 +113,8 @@
-

Composable

+
@@ -144,7 +144,7 @@
-
+

Ready to get going? Engage!

Get started diff --git a/docs/components/NavExtra.jinja b/docs/components/NavExtra.jinja index dcd113f..e6bb984 100644 --- a/docs/components/NavExtra.jinja +++ b/docs/components/NavExtra.jinja @@ -1,3 +1 @@ - - {% include "svg/github.svg" %} - \ No newline at end of file + \ No newline at end of file diff --git a/docs/components/ui/Accordion/DemoResult.jinja b/docs/components/ui/Accordion/DemoResult.jinja index 9ab8b9e..8666e2d 100644 --- a/docs/components/ui/Accordion/DemoResult.jinja +++ b/docs/components/ui/Accordion/DemoResult.jinja @@ -2,9 +2,10 @@
- +
Is it accessible?
diff --git a/docs/components/ui/Dialog/DemoPreview.jinja b/docs/components/ui/Dialog/DemoPreview.jinja index b994685..e69de29 100644 --- a/docs/components/ui/Dialog/DemoPreview.jinja +++ b/docs/components/ui/Dialog/DemoPreview.jinja @@ -1,4 +0,0 @@ -
-
-
-
diff --git a/docs/components/ui/LinkedList/DemoResult.jinja b/docs/components/ui/LinkedList/DemoResult.jinja index c689671..e3d9631 100644 --- a/docs/components/ui/LinkedList/DemoResult.jinja +++ b/docs/components/ui/LinkedList/DemoResult.jinja @@ -2,9 +2,10 @@
-
+
diff --git a/docs/components/ui/Menu/DemoResult.jinja b/docs/components/ui/Menu/DemoResult.jinja index bf2165b..b62226c 100644 --- a/docs/components/ui/Menu/DemoResult.jinja +++ b/docs/components/ui/Menu/DemoResult.jinja @@ -2,9 +2,10 @@
-