summaryrefslogtreecommitdiffstats
path: root/docs/docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docs.py')
-rwxr-xr-xdocs/docs.py72
1 files changed, 0 insertions, 72 deletions
diff --git a/docs/docs.py b/docs/docs.py
deleted file mode 100755
index d49699f..0000000
--- a/docs/docs.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/usr/bin/env python
-import logging
-from pathlib import Path
-
-import jinjax_ui
-from claydocs import Docs
-
-
-logging.getLogger("jinjax").setLevel(logging.INFO)
-logging.getLogger("jinjax").addHandler(logging.StreamHandler())
-
-here = Path(__file__).parent
-
-pages = [
- "index.md",
- [
- "Guide",
- [
- "guide/index.md",
- "guide/components.md",
- "guide/slots.md",
- "guide/css_and_js.md",
- # "guide/integrations.md",
- # "guide/performance.md",
- "guide/motivation.md",
- ],
- ],
- [
- "API",
- [
- "api.md",
- ],
- ],
- [
- "UI components", [
- "ui/index.md",
- "ui/tabs.md",
- "ui/popover.md",
- "ui/menu.md",
- "ui/accordion.md",
- "ui/linkedlist.md",
- "ui/reldate.md",
- ],
- ],
-]
-
-def get_docs() -> Docs:
- root_path = here / "content"
- docs = Docs(
- pages,
- content_folder=root_path,
- add_ons=[jinjax_ui],
- search=False,
- cache=False,
- domain="https://jinjax.scaletti.dev",
- default_component="Page",
- default_social="SocialCard",
- metadata={
- "name": "JinjaX",
- "language": "en",
- "license": "MIT",
- "version": "0.43",
- "web": "https://jinjax.scaletti.dev",
- }
- )
- docs.add_folder(here / "components")
- docs.add_folder(here / "theme")
- return docs
-
-
-if __name__ == "__main__":
- get_docs().run()