mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 03:11:22 +00:00
test: temporary fix for vitepress config to successful build via cloud
This commit is contained in:
parent
c30b770cae
commit
207f916a5b
@ -4,7 +4,8 @@ import { markdown } from './config/markdown'
|
||||
import { metaData } from './config/constants'
|
||||
import { head } from './config/head'
|
||||
import { themeConfig } from './config/theme'
|
||||
import { generateSitemap as sitemap } from 'sitemap-ts'
|
||||
// import { buildDocsRSS } from './theme/rss'
|
||||
// import { generateSitemap as sitemap } from 'sitemap-ts'
|
||||
|
||||
export default defineConfig({
|
||||
lang: metaData.lang, // i18n default english translation
|
||||
@ -24,9 +25,11 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
async buildEnd() {
|
||||
await sitemap({ hostname: 'https://note.toshiki.dev/' })
|
||||
},
|
||||
|
||||
// buildEnd: buildDocsRSS,
|
||||
// async buildEnd() {
|
||||
// await sitemap({ hostname: 'https://note.toshiki.dev/' })
|
||||
// },
|
||||
})
|
||||
|
||||
customElements // custom element tags of markdown-it-katex in vitepress
|
||||
|
||||
Loading…
Reference in New Issue
Block a user