From 883da5e18718a53e73df4ca68fba3d75f9c5babf Mon Sep 17 00:00:00 2001 From: Saurav Panda Date: Thu, 5 Dec 2024 00:24:53 -0800 Subject: [PATCH] fix: made paddign consistent between nav and table of content --- packages/akiradocs/public/context/en_docs.txt | 20 +- .../src/components/layout/Navigation.tsx | 6 +- .../src/components/layout/TableOfContents.tsx | 12 +- packages/editor/backend/app/main.py | 20 -- packages/editor/backend/app/models/file.py | 11 - packages/editor/backend/app/routes/files.py | 42 --- .../backend/app/services/file_service.py | 55 --- .../editor/backend/app/utils/path_utils.py | 12 - packages/editor/backend/poetry.lock | 317 ------------------ packages/editor/backend/pyproject.toml | 17 - .../src/app/editMode/[...slug]/page.tsx | 6 - 11 files changed, 19 insertions(+), 499 deletions(-) delete mode 100644 packages/editor/backend/app/main.py delete mode 100644 packages/editor/backend/app/models/file.py delete mode 100644 packages/editor/backend/app/routes/files.py delete mode 100644 packages/editor/backend/app/services/file_service.py delete mode 100644 packages/editor/backend/app/utils/path_utils.py delete mode 100644 packages/editor/backend/poetry.lock delete mode 100644 packages/editor/backend/pyproject.toml diff --git a/packages/akiradocs/public/context/en_docs.txt b/packages/akiradocs/public/context/en_docs.txt index c52da6a..af80f0e 100644 --- a/packages/akiradocs/public/context/en_docs.txt +++ b/packages/akiradocs/public/context/en_docs.txt @@ -1,13 +1,3 @@ -[Document: docs/introduction.json] -Title: Introduction -Akira Docs is a modern documentation platform that combines the power of AI with an intuitive block-based content system. This guide will help you understand the core concepts and features. -Key Features -AI-powered search -Block-based content editing -Responsive design -Customizable themes -Markdown support -------------- [Document: articles/welcome.json] Title: Welcome to Akira Doc Get started with Akira Docs - Next-gen documentation powered by AI @@ -66,6 +56,16 @@ ai_assistant: Next Steps Explore our [Advanced AI Features](/advanced-ai-features) guide to learn more about specialized use cases and integration possibilities. ------------- +[Document: docs/introduction.json] +Title: Introduction +Akira Docs is a modern documentation platform that combines the power of AI with an intuitive block-based content system. This guide will help you understand the core concepts and features. +Key Features +AI-powered search +Block-based content editing +Responsive design +Customizable themes +Markdown support +------------- [Document: docs/guides/analytics.json] Title: Analytics Integration Learn how to add analytics tracking to your documentation diff --git a/packages/akiradocs/src/components/layout/Navigation.tsx b/packages/akiradocs/src/components/layout/Navigation.tsx index 0d42511..adecb05 100644 --- a/packages/akiradocs/src/components/layout/Navigation.tsx +++ b/packages/akiradocs/src/components/layout/Navigation.tsx @@ -34,8 +34,8 @@ export function Navigation({ locale, items }: NavigationProps) { return (