🔥 更新字体样式

This commit is contained in:
远野千束 2024-08-31 07:40:03 +08:00
parent 70d1c95254
commit 25a6062837
5 changed files with 20 additions and 21 deletions

View File

@ -21,11 +21,8 @@ export const en = defineConfig({
),
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>',
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'
copyright: ThemeConfig.copyright
},
outline: {
label: "On this page",
level: [2, 6]
}
outline: ThemeConfig.getOutLine("Page Content")
},
})

View File

@ -21,11 +21,8 @@ export const ja = defineConfig({
),
footer: {
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: {
label: "このページについて",
level: [2, 6]
}
outline: ThemeConfig.getOutLine("ページの内容")
},
})

View File

@ -1,3 +1,5 @@
// 本模块储存一些工具函数和引用
/**
* GetEditLink Options
* @param text Edit link text
@ -19,5 +21,14 @@ export const ThemeConfig = {
},
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'
}

View File

@ -21,11 +21,8 @@ export const zh = defineConfig({
),
footer: {
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: {
label: "页面内容",
level: [2, 6]
}
outline: ThemeConfig.getOutLine("页面内容")
},
})

View File

@ -21,11 +21,8 @@ export const zht = defineConfig({
),
footer: {
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: {
label: "頁面內容",
level: [2, 6]
}
outline: ThemeConfig.getOutLine("頁面內容")
},
})