File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs'
33import mathjax3 from "markdown-it-mathjax3" ;
44import footnote from "markdown-it-footnote" ;
55
6+ const baseTemp = {
7+ base : 'REPLACE_ME_DOCUMENTER_VITEPRESS' , // TODO: replace this in makedocs!
8+ }
9+
610const navTemp = {
711 nav : 'REPLACE_ME_DOCUMENTER_VITEPRESS' ,
812}
@@ -17,13 +21,17 @@ const nav = [
1721
1822// https://vitepress.dev/reference/site-config
1923export default defineConfig ( {
20- base : 'REPLACE_ME_DOCUMENTER_VITEPRESS' , // TODO: replace this in makedocs!
24+ base : baseTemp . base ,
2125 title : 'REPLACE_ME_DOCUMENTER_VITEPRESS' ,
2226 description : 'REPLACE_ME_DOCUMENTER_VITEPRESS' ,
2327 lastUpdated : true ,
2428 cleanUrls : true ,
2529 outDir : 'REPLACE_ME_DOCUMENTER_VITEPRESS' , // This is required for MarkdownVitepress to work correctly...
26- head : [ [ 'link' , { rel : 'icon' , href : 'REPLACE_ME_DOCUMENTER_VITEPRESS_FAVICON' } ] ] ,
30+ head : [
31+ [ 'link' , { rel : 'icon' , href : 'REPLACE_ME_DOCUMENTER_VITEPRESS_FAVICON' } ] ,
32+ [ 'script' , { src : `/versions.js` } ] ,
33+ [ 'script' , { src : `${ baseTemp . base } siteinfo.js` } ]
34+ ] ,
2735 ignoreDeadLinks : true ,
2836
2937 markdown : {
You can’t perform that action at this time.
0 commit comments