From a567f39be8db707f457f9f72423edd9186ad92db Mon Sep 17 00:00:00 2001 From: mychidarko Date: Sun, 19 Nov 2023 17:55:22 +0000 Subject: [PATCH] chore: update docs --- apps/docs/.vitepress/config.ts | 62 ++----------------- .../docs/.vitepress/theme/components/Home.vue | 4 +- apps/docs/README.md | 2 +- apps/docs/src/index.md | 2 +- 4 files changed, 10 insertions(+), 60 deletions(-) diff --git a/apps/docs/.vitepress/config.ts b/apps/docs/.vitepress/config.ts index e9db813..e22f4cb 100644 --- a/apps/docs/.vitepress/config.ts +++ b/apps/docs/.vitepress/config.ts @@ -9,27 +9,7 @@ const nav = [ { text: 'Docs', activeMatch: `^/(docs|style-guide|examples|tutorial)/`, - items: [ - { text: 'Guide', link: '/docs/introduction/' }, - { text: 'Tutorial', link: '/tutorial/' }, - { text: 'Online Playground', link: 'https://sandbox.leafphp.dev/' }, - { - text: 'Leaf Modules', - link: '/modules/' - }, - { - text: 'Migration from Leaf 2', - link: '/docs/migration/introduction' - }, - { - text: 'Leaf 2 Docs', - link: 'https://archive.leafphp.dev' - }, - { - text: 'Changelog', - link: '/changes' - } - ] + link: '/docs/introduction/', }, { text: 'Ecosystem', @@ -39,17 +19,9 @@ const nav = [ text: 'Core Projects', items: [ { - text: 'Leaf MVC', - link: 'https://mvc.leafphp.dev/' + text: 'Leaf PHP', + link: 'https://leafphp.dev/' }, - { - text: 'Leaf API', - link: 'https://api.leafphp.dev/' - }, - { - text: 'Leaf Skeleton', - link: 'https://skeleton.leafphp.dev/' - } ] }, { @@ -57,33 +29,11 @@ const nav = [ ariaLabel: 'Tooling Menu', items: [ { - text: 'Aloe CLI', - link: '/aloe-cli/' - }, - { - text: 'Leaf CLI', + text: 'Hana CLI', link: '/docs/cli/' }, - { - text: 'Leaf UI', - link: 'https://ui.leafphp.dev/' - } ] }, - { - text: 'Resources', - ariaLabel: 'Resources Menu', - items: [ - { - text: 'Project Showcase', - link: '/ecosystem/showcase' - }, - { - text: 'Codelabs', - link: '/codelabs/' - } - ] - } ] }, { @@ -474,8 +424,8 @@ export default defineConfigWithTheme({ logo: '/logo-circle.png', extends: baseConfig, lang: 'en-US', - title: 'Leaf PHP', - description: 'Leaf PHP - Simple and elegant PHP', + title: 'Hanabira', + description: 'Hana - React for Humans', srcDir: 'src', srcExclude: ['tutorial/**/description.md'], scrollOffset: 'header', diff --git a/apps/docs/.vitepress/theme/components/Home.vue b/apps/docs/.vitepress/theme/components/Home.vue index 24f5072..dd7598d 100644 --- a/apps/docs/.vitepress/theme/components/Home.vue +++ b/apps/docs/.vitepress/theme/components/Home.vue @@ -15,10 +15,10 @@ import Footer from './Footer.vue';

- Leaf 3.0 + Hana.js

- Simple and elegant PHP + React for humans

diff --git a/apps/docs/README.md b/apps/docs/README.md index e35957f..6d1b4ee 100644 --- a/apps/docs/README.md +++ b/apps/docs/README.md @@ -1,4 +1,4 @@ -# Leaf 3 +# Hanabira ## Contributing diff --git a/apps/docs/src/index.md b/apps/docs/src/index.md index fddd2ec..bc32b7e 100644 --- a/apps/docs/src/index.md +++ b/apps/docs/src/index.md @@ -1,6 +1,6 @@ --- page: true -title: Leaf PHP - Simple and elegant PHP +title: Hana - React for Humans ---