-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update the sidebar structure and document version
- 更新 sidebar 的目录结构,引入版本字段,尽量减少重复部分,保留标题和文件路径部分,确保后续不同版本的,=标题和文件路径的可修改。 - sidebar 引入外部 json 文件,将需要频繁改动的标题、版本、文件路径部分统一编辑。 - 将文档版本统一使用两位版本号,前两位版本相同,功能兼容。 Log: update sidebar
- Loading branch information
1 parent
c11d42e
commit 15ca6f1
Showing
5 changed files
with
207 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
{ | ||
"zh": { | ||
"1.6.x": { | ||
"开始": { | ||
"概述": "/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", | ||
"安装应用": "/ll-cli/install.md", | ||
"运行应用": "/ll-cli/run.md", | ||
"卸载应用": "/ll-cli/uninstall.md", | ||
"更新应用": "/ll-cli/update.md", | ||
"查看运行中的应用": "/ll-cli/ps.md", | ||
"进入容器内部": "/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", | ||
"导出 layer 文件": "/ll-builder/export.md", | ||
"配置文件": "/ll-builder/manifests.md", | ||
"上架应用到商店": "/ll-builder/github.md" | ||
}, | ||
"ll-pica": { | ||
"简介": "/ll-pica/introduction.md", | ||
"初始化配置": "/ll-pica/init.md", | ||
"转换应用": "/ll-pica/convert.md", | ||
"添加依赖": "/ll-pica/adep.md", | ||
"转换配置文件简介": "/ll-pica/manifests.md" | ||
}, | ||
"ll-appimage-convert": { | ||
"简介": "/ll-appimage-convert/introduction.md", | ||
"转换应用": "/ll-appimage-convert/convert-appimage.md" | ||
}, | ||
"ll-flatpak-convert": { | ||
"简介": "/ll-flatpak-convert/introduction.md", | ||
"转换应用": "/ll-flatpak-convert/convert-flatpak.md" | ||
}, | ||
"调试应用": { | ||
"IDE中调试应用": "/debug/debug.md", | ||
"常见构建问题": "/debug/ll-builder-faq.md", | ||
"常见运行问题": "/debug/faq.md", | ||
"常见转换问题": "/debug/ll-pica-faq.md" | ||
} | ||
}, | ||
"1.5.x": { | ||
"开始": { | ||
"概述": "/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", | ||
"安装应用": "/ll-cli/install.md", | ||
"运行应用": "/ll-cli/run.md", | ||
"卸载应用": "/ll-cli/uninstall.md", | ||
"更新应用": "/ll-cli/update.md", | ||
"查看运行中的应用": "/ll-cli/ps.md", | ||
"进入容器内部": "/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", | ||
"导出 layer 文件": "/ll-builder/export.md", | ||
"配置文件": "/ll-builder/manifests.md", | ||
"上架应用到商店": "/ll-builder/github.md" | ||
}, | ||
"ll-pica": { | ||
"简介": "/ll-pica/introduction.md", | ||
"初始化配置": "/ll-pica/init.md", | ||
"转换应用": "/ll-pica/convert.md", | ||
"添加依赖": "/ll-pica/adep.md", | ||
"转换配置文件简介": "/ll-pica/manifests.md" | ||
}, | ||
"调试应用": { | ||
"IDE中调试应用": "/debug/debug.md", | ||
"常见构建问题": "/debug/ll-builder-faq.md", | ||
"常见运行问题": "/debug/faq.md", | ||
"常见转换问题": "/debug/ll-pica-faq.md" | ||
} | ||
} | ||
}, | ||
"en": { | ||
"1.6.x": { | ||
"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", | ||
"Install App": "/ll-cli/install.md", | ||
"Run App": "/ll-cli/run.md", | ||
"Uninstall App": "/ll-cli/uninstall.md", | ||
"Update App": "/ll-cli/update.md", | ||
"View Running Apps": "/ll-cli/ps.md", | ||
"Attach To Container": "/ll-cli/exec.md", | ||
"Force Quit App": "/ll-cli/kill.md" | ||
}, | ||
"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 Layer File": "/ll-builder/export.md", | ||
"Manifests": "/ll-builder/manifests.md", | ||
"App To Store": "/ll-builder/github.md" | ||
}, | ||
"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" | ||
}, | ||
"ll-appimage-convert": { | ||
"Introduction": "/ll-appimage-convert/introduction.md", | ||
"Conversion application": "/ll-appimage-convert/convert-appimage.md" | ||
}, | ||
"ll-flatpak-convert": { | ||
"Introduction": "/ll-flatpak-convert/introduction.md", | ||
"Conversion application": "/ll-flatpak-convert/convert-flatpak.md" | ||
}, | ||
"Debug App": { | ||
"Debug App In IDE": "/debug/debug.md", | ||
"Build FAQ": "/debug/ll-builder-faq.md", | ||
"Run FAQ": "/debug/faq.md", | ||
"Convert FAQ": "/debug/ll-pica-faq.md" | ||
} | ||
}, | ||
"1.5.x": { | ||
"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", | ||
"Install App": "/ll-cli/install.md", | ||
"Run App": "/ll-cli/run.md", | ||
"Uninstall App": "/ll-cli/uninstall.md", | ||
"Update App": "/ll-cli/update.md", | ||
"View Running Apps": "/ll-cli/ps.md", | ||
"Attach To Container": "/ll-cli/exec.md", | ||
"Force Quit App": "/ll-cli/kill.md" | ||
}, | ||
"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 Layer File": "/ll-builder/export.md", | ||
"Manifests": "/ll-builder/manifests.md", | ||
"App To Store": "/ll-builder/github.md" | ||
}, | ||
"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" | ||
}, | ||
"Debug App": { | ||
"Debug App In IDE": "/debug/debug.md", | ||
"Build FAQ": "/debug/ll-builder-faq.md", | ||
"Run FAQ": "/debug/faq.md", | ||
"Convert FAQ": "/debug/ll-pica-faq.md" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export function generateVersions() { | ||
const versions = ['', '1.5.0', '1.5.6']; // 保留空用来判断默认路由 | ||
const versions = ['', '1.5.x']; // 保留空用来判断默认路由 | ||
return { | ||
defaultVersion: '1.6.3', // 默认显示版本号 | ||
defaultVersion: '1.6.x', // 默认显示版本号 | ||
versions: versions | ||
}; | ||
} |