mirror of
https://github.com/snowykami/mbcp.git
synced 2025-08-02 03:30:01 +00:00
📝 优化文档显示
This commit is contained in:
@ -9,10 +9,10 @@ let defaultLocale = 'zh';
|
||||
const commonSidebarOptions = {
|
||||
collapsed: true,
|
||||
convertSameNameSubFileToGroupIndexPage: true,
|
||||
useFolderTitleFromIndexFile: true,
|
||||
useFolderLinkFromIndexFile: true,
|
||||
useTitleFromFrontmatter: true,
|
||||
useTitleFromFileHeading: true,
|
||||
useFolderTitleFromIndexFile: true,
|
||||
useFolderLinkFromIndexFile: true,
|
||||
includeFolderIndexFile: true,
|
||||
}
|
||||
export const common = defineConfig({
|
||||
@ -21,9 +21,6 @@ export const common = defineConfig({
|
||||
markdown: {
|
||||
math: true
|
||||
},
|
||||
vite: {
|
||||
plugins: [],
|
||||
},
|
||||
rewrites: {
|
||||
[`${defaultLocale}/:rest*`]: ":rest*",
|
||||
},
|
||||
@ -52,6 +49,13 @@ export const common = defineConfig({
|
||||
socialLinks: [
|
||||
{icon: 'github', link: 'https://github.com/snowykami/mbcp'}
|
||||
],
|
||||
editLink: {
|
||||
pattern: 'https://github.com/snowykami/mbcp/tree/main/docs/:path'
|
||||
},
|
||||
aside: true ,
|
||||
},
|
||||
sitemap: {
|
||||
hostname: 'https://mbcp.sfkm.me'
|
||||
},
|
||||
locales: {
|
||||
root: {label: "简体中文", ...zh},
|
||||
|
@ -1,3 +1,11 @@
|
||||
# 开始不了一点
|
||||
|
||||
$\int_{1}^{2} x111$
|
||||
$\int_{1}^{2} x111$
|
||||
|
||||
# AAA
|
||||
|
||||
### BBB
|
||||
|
||||
# C
|
||||
|
||||
### ddd
|
Reference in New Issue
Block a user