From 7a04654264e495dba943ffdebf62c706cd72fa62 Mon Sep 17 00:00:00 2001
From: bluesky
Date: Wed, 22 May 2024 10:55:30 +0800
Subject: [PATCH] chore: Adjusting sidebar
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
调整侧边栏
Log: adjusting sidebar
---
.vitepress/config.js | 12 ++---
.../theme/components/en/header/index.vue | 2 +-
.../components/en/header/tiny-header.vue | 2 +-
.vitepress/theme/components/en/home/index.vue | 2 +-
.vitepress/theme/components/en/home/tiny.vue | 2 +-
.../theme/components/zh/header/index.vue | 2 +-
.../components/zh/header/tiny-header.vue | 2 +-
.vitepress/theme/components/zh/home/index.vue | 2 +-
.vitepress/theme/components/zh/home/tiny.vue | 2 +-
.vitepress/theme/nav.js | 4 +-
.vitepress/theme/sidebar.js | 46 +++++++++----------
11 files changed, 39 insertions(+), 39 deletions(-)
diff --git a/.vitepress/config.js b/.vitepress/config.js
index e5c9327..d051128 100644
--- a/.vitepress/config.js
+++ b/.vitepress/config.js
@@ -61,7 +61,7 @@ module.exports = {
text: "文档",
ariaLabel: "doc",
items: [
- { text: "开始", link: "/guide/start/install.md" },
+ { text: "开始", link: "/guide/start/whatis.md" },
{
text: "命令行工具",
link: "/guide/ll-cli/introduction.md",
@@ -83,11 +83,11 @@ module.exports = {
items: [
{
text: "简体中文",
- link: "/guide/start/install.md",
+ link: "/guide/start/whatis.md",
},
{
text: "English",
- link: "/en/guide/start/install.md",
+ link: "/en/guide/start/whatis.md",
},
],
},
@@ -107,7 +107,7 @@ module.exports = {
items: [
{
text: "Getting Start",
- link: "/en/guide/start/install.md",
+ link: "/en/guide/start/whatis.md",
},
{
text: "Command Line Tools",
@@ -127,11 +127,11 @@ module.exports = {
items: [
{
text: "简体中文",
- link: "/guide/start/install.md",
+ link: "/guide/start/whatis.md",
},
{
text: "English",
- link: "/en/guide/start/install.md",
+ link: "/en/guide/start/whatis.md",
},
],
},
diff --git a/.vitepress/theme/components/en/header/index.vue b/.vitepress/theme/components/en/header/index.vue
index 8523a83..db9e72c 100644
--- a/.vitepress/theme/components/en/header/index.vue
+++ b/.vitepress/theme/components/en/header/index.vue
@@ -12,7 +12,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later
diff --git a/.vitepress/theme/components/en/header/tiny-header.vue b/.vitepress/theme/components/en/header/tiny-header.vue
index edbbb65..5c801f3 100644
--- a/.vitepress/theme/components/en/header/tiny-header.vue
+++ b/.vitepress/theme/components/en/header/tiny-header.vue
@@ -30,7 +30,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later
diff --git a/.vitepress/theme/components/en/home/index.vue b/.vitepress/theme/components/en/home/index.vue
index 1eb1c9f..24c9f7f 100644
--- a/.vitepress/theme/components/en/home/index.vue
+++ b/.vitepress/theme/components/en/home/index.vue
@@ -20,7 +20,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later
security risks caused by decentralized control of permissions.
diff --git a/.vitepress/theme/components/en/home/tiny.vue b/.vitepress/theme/components/en/home/tiny.vue
index db2307a..0110ba4 100644
--- a/.vitepress/theme/components/en/home/tiny.vue
+++ b/.vitepress/theme/components/en/home/tiny.vue
@@ -22,7 +22,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later
security risks caused by decentralized control of permissions.
diff --git a/.vitepress/theme/components/zh/header/index.vue b/.vitepress/theme/components/zh/header/index.vue
index 62cdeab..4dd550b 100644
--- a/.vitepress/theme/components/zh/header/index.vue
+++ b/.vitepress/theme/components/zh/header/index.vue
@@ -12,7 +12,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later
diff --git a/.vitepress/theme/components/zh/header/tiny-header.vue b/.vitepress/theme/components/zh/header/tiny-header.vue
index 1ffaa10..544cda8 100644
--- a/.vitepress/theme/components/zh/header/tiny-header.vue
+++ b/.vitepress/theme/components/zh/header/tiny-header.vue
@@ -30,7 +30,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later
diff --git a/.vitepress/theme/components/zh/home/index.vue b/.vitepress/theme/components/zh/home/index.vue
index ef7ace1..554f064 100644
--- a/.vitepress/theme/components/zh/home/index.vue
+++ b/.vitepress/theme/components/zh/home/index.vue
@@ -18,7 +18,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later
玲珑是一种新型的独立包管理工具集,致力于治理Linux系统下传统软件包格式复杂、交叉的依赖关系导致的各种兼容性问题,以及过于松散的权限管控导致的安全风险。
diff --git a/.vitepress/theme/components/zh/home/tiny.vue b/.vitepress/theme/components/zh/home/tiny.vue
index 00de499..0ba2d49 100644
--- a/.vitepress/theme/components/zh/home/tiny.vue
+++ b/.vitepress/theme/components/zh/home/tiny.vue
@@ -20,7 +20,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later
玲珑是一种新型的独立包管理工具集,致力于治理Linux系统下传统软件包格式复杂、交叉的依赖关系导致的各种兼容性问题,以及过于松散的权限管控导致的安全风险。
diff --git a/.vitepress/theme/nav.js b/.vitepress/theme/nav.js
index 4ab6066..896c531 100644
--- a/.vitepress/theme/nav.js
+++ b/.vitepress/theme/nav.js
@@ -6,12 +6,12 @@ const categoryMappings = {
"zh": {
"item": "文档版本",
"defaultVersion": defaultVersion,
- "link": "/start/install.md"
+ "link": "/start/whatis.md"
},
"en": {
"item": "Doc Version",
"defaultVersion": defaultVersion,
- "link": "/start/install.md"
+ "link": "/start/whatis.md"
}
}
diff --git a/.vitepress/theme/sidebar.js b/.vitepress/theme/sidebar.js
index ad3e337..08ec74f 100644
--- a/.vitepress/theme/sidebar.js
+++ b/.vitepress/theme/sidebar.js
@@ -12,7 +12,12 @@ let sidebar = {};
// 定义每个类别及其子项的映射
const categoryMappings = {
"zh": {
- "命令行工具": {
+ "开始": {
+ "概述": "/start/whatis.md",
+ "安装": "/start/install.md",
+ "简单示例": "/start/how_to_use.md",
+ },
+ "ll-cli": {
"简介": "/ll-cli/introduction.md",
"列出已安装的应用": "/ll-cli/list.md",
"从远程仓库查询应用": "/ll-cli/query.md",
@@ -24,37 +29,37 @@ const categoryMappings = {
"进入容器内部": "/ll-cli/exec.md",
"强制退出应用": "/ll-cli/kill.md"
},
- "构建工具": {
+ "ll-builder": {
"简介": "/ll-builder/introduction.md",
"创建项目": "/ll-builder/create.md",
"构建应用": "/ll-builder/build.md",
"运行应用": "/ll-builder/run.md",
"转换 appimage": "/ll-builder/convert.md",
- "导出uab格式应用": "/ll-builder/export.md",
+ "导出 layer 文件": "/ll-builder/export.md",
"配置文件": "/ll-builder/manifests.md",
"上架应用到商店": "/ll-builder/github.md"
},
- "转换工具": {
- "ll-pica 简介": "/ll-pica/introduction.md",
+ "ll-pica": {
+ "简介": "/ll-pica/introduction.md",
"初始化配置": "/ll-pica/init.md",
"转换应用": "/ll-pica/convert.md",
"添加依赖": "/ll-pica/adep.md",
"转换配置文件简介": "/ll-pica/manifests.md",
- "常见问题": "/ll-pica/faq.md",
- },
- "开始": {
- "安装玲珑": "/start/install.md",
- "安装 Pica": "/start/install_pica.md",
- "从0开始构建": "/start/how_to_use.md",
},
"调试应用": {
"IDE中调试应用": "/debug/debug.md",
"常见构建问题": "/debug/ll-builder-faq.md",
- "常见运行问题": "/debug/faq.md"
+ "常见运行问题": "/debug/faq.md",
+ "常见转换问题": "/debug/ll-pica-faq.md",
}
},
"en": {
- "Command Line Tools": {
+ "Getting Started": {
+ "summary": "/start/whatis.md",
+ "Install": "/start/install.md",
+ "Simple example": "/start/how_to_use.md",
+ },
+ "ll-cli": {
"Introduction": "/ll-cli/introduction.md",
"List Installed Apps": "/ll-cli/list.md",
"Query Apps From Remote": "/ll-cli/query.md",
@@ -66,33 +71,28 @@ const categoryMappings = {
"Attach To Container": "/ll-cli/exec.md",
"Force Quit App": "/ll-cli/kill.md",
},
- "Build Tools": {
+ "ll-builder": {
"Introduction": "/ll-builder/introduction.md",
"Create Project": "/ll-builder/create.md",
"Build App": "/ll-builder/build.md",
"Run Compiled App": "/ll-builder/run.md",
"Convert AppImage": "/ll-builder/convert.md",
- "Export Uab Format": "/ll-builder/export.md",
+ "Export Layer File": "/ll-builder/export.md",
"Manifests": "/ll-builder/manifests.md",
"App To Store": "/ll-builder/github.md"
},
- "Conversion application": {
+ "ll-pica": {
"ll-pica Introduction": "/ll-pica/introduction.md",
"Initialization configuration": "/ll-pica/init.md",
"Conversion application": "/ll-pica/convert.md",
"Add dependency": "/ll-pica/adep.md",
"Manifests": "/ll-pica/manifests.md",
- "FAQ": "/ll-pica/faq.md",
- },
- "Getting Started": {
- "Install Linglong Environment": "/start/install.md",
- "Install Pica": "/start/install_pica.md",
- "Build from scratch": "/start/how_to_use.md",
},
"Debug App": {
"Debug App In IDE": "/debug/debug.md",
"Build FAQ": "/debug/ll-builder-faq.md",
- "Run FAQ": "/debug/faq.md"
+ "Run FAQ": "/debug/faq.md",
+ "Convert FAQ": "/debug/ll-pica-faq.md",
}
}
};