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

chore: update docs #54

Merged
Merged
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.0"]="317ef66813e413adafeae5b01186b34eda514248"
["1.5.6"]="fd4ccd143d7e67b5c19cba3987043ae7db012ca8"
# 添加更多的版本和 commit
)
# 遍历字典并检出每个 commit 到对应的目录
Expand All @@ -43,7 +44,7 @@ jobs:
- name: Checkout linglong release
uses: actions/checkout@v4
with:
ref: 65c6c360cccf0ac4f7a4588256147c4259a90ff8 # 指定玲珑项目的 commit 提交,可能文档有小部分修改,不需要从 tag 获取
ref: 294988fe388c4d7d82196fc5eb5dce6edcaf7772 # 指定玲珑项目的 commit 提交,可能文档有小部分修改,不需要从 tag 获取
path: tmp
repository: OpenAtom-Linyaps/linyaps
sparse-checkout: |
Expand Down
16 changes: 16 additions & 0 deletions .vitepress/theme/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ const categoryMappings = {
"添加依赖": "/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",
Expand Down Expand Up @@ -88,6 +96,14 @@ const categoryMappings = {
"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",
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.0']; // 保留空用来判断默认路由
const versions = ['', '1.5.0', '1.5.6']; // 保留空用来判断默认路由
return {
defaultVersion: '1.5.6', // 默认显示版本号
defaultVersion: '1.6.3', // 默认显示版本号
versions: versions
};
}
Loading