From c6e4dca554d8de296b94942fd8eae3fe38f8f5fa Mon Sep 17 00:00:00 2001 From: Kartik Mehta Date: Thu, 31 Oct 2024 23:15:02 +0530 Subject: [PATCH] Initialize Extension Guide --- .../_category_.json | 2 +- .../create-a-page.md | 0 .../deploy-your-site.md | 0 .../img/docsVersionDropdown.png | Bin .../img/localeDropdown.png | Bin .../manage-docs-versions.md | 0 .../markdown-features.mdx | 0 .../translate-your-site.md | 0 docs/extension-guide/_category_.json | 8 ++++++++ docs/extension-guide/database-extension.md | 5 +++++ docs/extension-guide/middleware-extension.md | 5 +++++ docs/extension-guide/module-extension.md | 5 +++++ 12 files changed, 24 insertions(+), 1 deletion(-) rename docs/{tutorial-extras => _tutorial-extras}/_category_.json (82%) rename docs/{tutorial-extras => _tutorial-extras}/create-a-page.md (100%) rename docs/{tutorial-extras => _tutorial-extras}/deploy-your-site.md (100%) rename docs/{tutorial-extras => _tutorial-extras}/img/docsVersionDropdown.png (100%) rename docs/{tutorial-extras => _tutorial-extras}/img/localeDropdown.png (100%) rename docs/{tutorial-extras => _tutorial-extras}/manage-docs-versions.md (100%) rename docs/{tutorial-extras => _tutorial-extras}/markdown-features.mdx (100%) rename docs/{tutorial-extras => _tutorial-extras}/translate-your-site.md (100%) create mode 100644 docs/extension-guide/_category_.json create mode 100644 docs/extension-guide/database-extension.md create mode 100644 docs/extension-guide/middleware-extension.md create mode 100644 docs/extension-guide/module-extension.md diff --git a/docs/tutorial-extras/_category_.json b/docs/_tutorial-extras/_category_.json similarity index 82% rename from docs/tutorial-extras/_category_.json rename to docs/_tutorial-extras/_category_.json index 7378048..583bf88 100644 --- a/docs/tutorial-extras/_category_.json +++ b/docs/_tutorial-extras/_category_.json @@ -1,6 +1,6 @@ { "label": "Tutorial - Extras", - "position": 5, + "position": 6, "link": { "type": "generated-index" } diff --git a/docs/tutorial-extras/create-a-page.md b/docs/_tutorial-extras/create-a-page.md similarity index 100% rename from docs/tutorial-extras/create-a-page.md rename to docs/_tutorial-extras/create-a-page.md diff --git a/docs/tutorial-extras/deploy-your-site.md b/docs/_tutorial-extras/deploy-your-site.md similarity index 100% rename from docs/tutorial-extras/deploy-your-site.md rename to docs/_tutorial-extras/deploy-your-site.md diff --git a/docs/tutorial-extras/img/docsVersionDropdown.png b/docs/_tutorial-extras/img/docsVersionDropdown.png similarity index 100% rename from docs/tutorial-extras/img/docsVersionDropdown.png rename to docs/_tutorial-extras/img/docsVersionDropdown.png diff --git a/docs/tutorial-extras/img/localeDropdown.png b/docs/_tutorial-extras/img/localeDropdown.png similarity index 100% rename from docs/tutorial-extras/img/localeDropdown.png rename to docs/_tutorial-extras/img/localeDropdown.png diff --git a/docs/tutorial-extras/manage-docs-versions.md b/docs/_tutorial-extras/manage-docs-versions.md similarity index 100% rename from docs/tutorial-extras/manage-docs-versions.md rename to docs/_tutorial-extras/manage-docs-versions.md diff --git a/docs/tutorial-extras/markdown-features.mdx b/docs/_tutorial-extras/markdown-features.mdx similarity index 100% rename from docs/tutorial-extras/markdown-features.mdx rename to docs/_tutorial-extras/markdown-features.mdx diff --git a/docs/tutorial-extras/translate-your-site.md b/docs/_tutorial-extras/translate-your-site.md similarity index 100% rename from docs/tutorial-extras/translate-your-site.md rename to docs/_tutorial-extras/translate-your-site.md diff --git a/docs/extension-guide/_category_.json b/docs/extension-guide/_category_.json new file mode 100644 index 0000000..03ec322 --- /dev/null +++ b/docs/extension-guide/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Extension Guide", + "position": 5, + "link": { + "type": "generated-index", + "description": "Learn how to extend Orion with custom components, such as databases, middlewares, routes, and controllers. Follow this guide to integrate your own functionality seamlessly into the framework." + } +} diff --git a/docs/extension-guide/database-extension.md b/docs/extension-guide/database-extension.md new file mode 100644 index 0000000..a65575b --- /dev/null +++ b/docs/extension-guide/database-extension.md @@ -0,0 +1,5 @@ +--- +sidebar_position: 2 +--- + +# Custom Database Connection \ No newline at end of file diff --git a/docs/extension-guide/middleware-extension.md b/docs/extension-guide/middleware-extension.md new file mode 100644 index 0000000..03517de --- /dev/null +++ b/docs/extension-guide/middleware-extension.md @@ -0,0 +1,5 @@ +--- +sidebar_position: 3 +--- + +# Custom Middleware \ No newline at end of file diff --git a/docs/extension-guide/module-extension.md b/docs/extension-guide/module-extension.md new file mode 100644 index 0000000..1628f2a --- /dev/null +++ b/docs/extension-guide/module-extension.md @@ -0,0 +1,5 @@ +--- +sidebar_position: 1 +--- + +# Write your own Endpoint \ No newline at end of file