mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-25 15:55:03 +08:00
🔥 更新字体样式
This commit is contained in:
parent
70d1c95254
commit
25a6062837
@ -21,11 +21,8 @@ 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: ThemeConfig.copyright
|
||||||
},
|
},
|
||||||
outline: {
|
outline: ThemeConfig.getOutLine("Page Content")
|
||||||
label: "On this page",
|
|
||||||
level: [2, 6]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
})
|
})
|
@ -21,11 +21,8 @@ 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: ThemeConfig.copyright
|
||||||
},
|
},
|
||||||
outline: {
|
outline: ThemeConfig.getOutLine("ページの内容")
|
||||||
label: "このページについて",
|
|
||||||
level: [2, 6]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
})
|
})
|
@ -1,3 +1,5 @@
|
|||||||
|
// 本模块储存一些工具函数和引用
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GetEditLink Options
|
* GetEditLink Options
|
||||||
* @param text Edit link text
|
* @param text Edit link text
|
||||||
@ -19,5 +21,14 @@ export const ThemeConfig = {
|
|||||||
},
|
},
|
||||||
text: editPageText
|
text: editPageText
|
||||||
};
|
};
|
||||||
}
|
},
|
||||||
|
|
||||||
|
getOutLine: (label: string): { label: string; level: [number, number]; } => {
|
||||||
|
return {
|
||||||
|
label: label,
|
||||||
|
level: [2, 6]
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
|
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
|
||||||
}
|
}
|
@ -21,11 +21,8 @@ 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: ThemeConfig.copyright
|
||||||
},
|
},
|
||||||
outline: {
|
outline: ThemeConfig.getOutLine("页面内容")
|
||||||
label: "页面内容",
|
|
||||||
level: [2, 6]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
})
|
})
|
@ -21,11 +21,8 @@ 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: ThemeConfig.copyright
|
||||||
},
|
},
|
||||||
outline: {
|
outline: ThemeConfig.getOutLine("頁面內容")
|
||||||
label: "頁面內容",
|
|
||||||
level: [2, 6]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user