@@ -2,7 +2,6 @@ import { defineConfig } from 'vitepress';
22import footnote from 'markdown-it-footnote' ;
33import mathjax3 from 'markdown-it-mathjax3' ;
44import attrs from 'markdown-it-attrs' ;
5- import { mermaid } from 'vitepress-plugin-mermaid' ;
65import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs' ;
76import { InlineLinkPreviewElementTransform } from '@nolebase/vitepress-plugin-inline-link-preview/markdown-it' ;
87
@@ -13,13 +12,13 @@ export default defineConfig({
1312 base : base ,
1413 cleanUrls : true ,
1514 ignoreDeadLinks : true ,
16- title : "Harmony Project " ,
15+ title : "Documents " ,
1716 description : "Documentation for Harmony Project" ,
1817
1918 head : [
2019 [ 'link' , { rel : 'icon' , href : `${ base } favicon.ico` } ] ,
2120 [ 'link' , { rel : 'preconnect' , href : 'https://fonts.googleapis.com' } ] ,
22- [ 'link' , { rel : 'preconnect' , href : 'https://fonts.gstatic.com' , crossorigin : '' } ] ,
21+ [ 'link' , { rel : 'preconnect' , href : 'https://fonts.gstatic.com' , crossorigin : 'anonymous ' } ] ,
2322 [
2423 'link' ,
2524 {
@@ -49,19 +48,21 @@ export default defineConfig({
4948 ] ,
5049
5150 markdown : {
52- config : ( md ) => {
53- md . use ( footnote ) ;
54- md . use ( mathjax3 ) ;
55- md . use ( attrs ) ;
56- md . use ( tabsMarkdownPlugin ) ;
57- md . use ( InlineLinkPreviewElementTransform , {
58- tag : 'NolebaseInlineLinkPreview'
59- } ) ;
60- } ,
61- lineNumbers : true ,
51+ config : ( md ) => {
52+ md . use ( footnote ) ;
53+ md . use ( attrs ) ;
54+ md . use ( mathjax3 ) ;
55+ md . use ( tabsMarkdownPlugin ) ;
56+ md . use ( InlineLinkPreviewElementTransform , {
57+ tag : 'NolebaseInlineLinkPreview'
58+ } ) ;
6259 } ,
60+ lineNumbers : true ,
61+ } ,
6362
64- mermaid : { } ,
63+ mermaid : {
64+ theme : 'default'
65+ } ,
6566
6667 locales : {
6768 root : {
@@ -139,8 +140,8 @@ export default defineConfig({
139140 ] ,
140141
141142 footer : {
142- copyright : '© 2026 REvil — All Rights Reserved' ,
143- message : 'Made with VitePress ' ,
143+ copyright : '© 2026 REvil — All Rights Reserved. ' ,
144+ message : '' ,
144145 } ,
145146 } ,
146147 } ,
0 commit comments