Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update docs 1.7.x #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
# 定义版本和 commit 的映射关系
declare -A dict=(
["1.5.x"]="fd4ccd143d7e67b5c19cba3987043ae7db012ca8"
["1.6.x"]="4c5184d444bb004b1436c6dc76670838f6faa07a"
# 添加更多的版本和 commit
)
# 遍历字典并检出每个 commit 到对应的目录
Expand All @@ -43,7 +44,7 @@ jobs:
- name: Checkout linglong release
uses: actions/checkout@v4
with:
ref: 294988fe388c4d7d82196fc5eb5dce6edcaf7772 # 指定玲珑项目的 commit 提交,可能文档有小部分修改,不需要从 tag 获取
ref: 846865937f8e6f22bc80a5656d6156065b6b5744 # 指定玲珑项目的 commit 提交,可能文档有小部分修改,不需要从 tag 获取
path: tmp
repository: OpenAtom-Linyaps/linyaps
sparse-checkout: |
Expand Down
105 changes: 105 additions & 0 deletions .vitepress/theme/sidebar.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
{
"zh": {
"1.7.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/info.md",
"显示应用导出文件": "/ll-cli/content.md",
"移除未使用的最小系统或运行时": "/ll-cli/prune.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",
"导出 layer 文件": "/ll-builder/export.md",
"配置文件": "/ll-builder/manifests.md",
"玲珑应用应用程序打包规范": "/ll-builder/linyaps_package_spec.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.6.x": {
"开始": {
"概述": "/start/whatis.md",
Expand Down Expand Up @@ -94,6 +147,58 @@
}
},
"en": {
"1.7.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",
"Display app information": "/ll-cli/info.md",
"Display App exported files": "/ll-cli/content.md",
"Remove the unused base or runtime": "/ll-cli/prune.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",
"Export Layer File": "/ll-builder/export.md",
"Manifests": "/ll-builder/manifests.md",
"Linglong Application Packaging Specification": "/ll-builder/linyaps_package_spec.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.6.x": {
"Getting Started": {
"summary": "/start/whatis.md",
Expand Down
4 changes: 2 additions & 2 deletions .vitepress/theme/versions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export function generateVersions() {
const versions = ['', '1.5.x']; // 保留空用来判断默认路由
const versions = ['', '1.6.x', '1.5.x']; // 保留空用来判断默认路由
return {
defaultVersion: '1.6.x', // 默认显示版本号
defaultVersion: '1.7.x', // 默认显示版本号
versions: versions
};
}
Loading