mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-25 15:55:03 +08:00
📝 优化文档显示
This commit is contained in:
parent
efbf0731c9
commit
9f1baf448c
@ -52,7 +52,7 @@ export const common = defineConfig({
|
|||||||
editLink: {
|
editLink: {
|
||||||
pattern: 'https://github.com/snowykami/mbcp/tree/main/docs/:path'
|
pattern: 'https://github.com/snowykami/mbcp/tree/main/docs/:path'
|
||||||
},
|
},
|
||||||
aside: true ,
|
outline: [2, 6]
|
||||||
},
|
},
|
||||||
sitemap: {
|
sitemap: {
|
||||||
hostname: 'https://mbcp.sfkm.me'
|
hostname: 'https://mbcp.sfkm.me'
|
||||||
|
@ -12,6 +12,10 @@ export const en = defineConfig({
|
|||||||
footer: {
|
footer: {
|
||||||
message: 'Documentation built with <a href="https://vitepress.dev/">VitePress</a> | API references generated by <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a>',
|
message: 'Documentation built with <a href="https://vitepress.dev/">VitePress</a> | API references generated by <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a>',
|
||||||
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
||||||
|
},
|
||||||
|
outline: {
|
||||||
|
label: "On this page",
|
||||||
|
level: [2, 6]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
@ -12,6 +12,10 @@ export const ja = defineConfig({
|
|||||||
footer: {
|
footer: {
|
||||||
message: '<a href="https://vitepress.dev/">VitePress</a> で構築されたドキュメント | <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a> によって生成されたAPIリファレンス',
|
message: '<a href="https://vitepress.dev/">VitePress</a> で構築されたドキュメント | <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a> によって生成されたAPIリファレンス',
|
||||||
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
||||||
|
},
|
||||||
|
outline: {
|
||||||
|
label: "このページについて",
|
||||||
|
level: [2, 6]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
@ -12,6 +12,10 @@ export const zh = defineConfig({
|
|||||||
footer: {
|
footer: {
|
||||||
message: '文档由 <a href="https://vitepress.dev/">VitePress</a> 构建 | API引用由 <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a> 生成',
|
message: '文档由 <a href="https://vitepress.dev/">VitePress</a> 构建 | API引用由 <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a> 生成',
|
||||||
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
||||||
|
},
|
||||||
|
outline: {
|
||||||
|
label: "页面内容",
|
||||||
|
level: [2, 6]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
@ -13,6 +13,10 @@ export const zht = defineConfig({
|
|||||||
footer: {
|
footer: {
|
||||||
message: '文檔由 <a href="https://vitepress.dev/">VitePress</a> 構建 | API引用由 <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a> 生成',
|
message: '文檔由 <a href="https://vitepress.dev/">VitePress</a> 構建 | API引用由 <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a> 生成',
|
||||||
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
||||||
|
},
|
||||||
|
outline: {
|
||||||
|
label: "頁面內容",
|
||||||
|
level: [2, 6]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
@ -1,4 +1,5 @@
|
|||||||
python -m litedoc mbcp -o docs/zh/api -l zh-Hans -f editLink=false
|
chcp 65001
|
||||||
python -m litedoc mbcp -o docs/en/api -l en -f editLink=false
|
python -m litedoc mbcp -o docs/zh/api -l zh-Hans -f editLink=false -cd class -fd def -md def -vd var
|
||||||
python -m litedoc mbcp -o docs/ja/api -l ja -f editLink=false
|
python -m litedoc mbcp -o docs/en/api -l en -f editLink=false -cd class -fd def -md def -vd var
|
||||||
python -m litedoc mbcp -o docs/zht/api -l zh-Hant -f editLink=false
|
python -m litedoc mbcp -o docs/ja/api -l ja -f editLink=false -cd class -fd def -md def -vd var
|
||||||
|
python -m litedoc mbcp -o docs/zht/api -l zh-Hant -f editLink=false -cd class -fd def -md def -vd var
|
Loading…
Reference in New Issue
Block a user