@@ -3,8 +3,7 @@ import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs'
33import mathjax3 from "markdown-it-mathjax3" ;
44
55function getBaseRepository ( base : string ) : string {
6- if ( ! base ) return '/' ;
7- // I guess if deploy_url is available. From where do I check this ?
6+ if ( ! base || base === '/' ) return '/' ;
87 const parts = base . split ( '/' ) . filter ( Boolean ) ;
98 return parts . length > 0 ? `/${ parts [ 0 ] } /` : '/' ;
109}
@@ -87,7 +86,7 @@ export default defineConfig({
8786 // cleanUrls: true,
8887 outDir : 'REPLACE_ME_DOCUMENTER_VITEPRESS' , // This is required for MarkdownVitepress to work correctly...
8988 head : [
90- [ 'link' , { rel : 'icon' , href : 'REPLACE_ME_DOCUMENTER_VITEPRESS_FAVICON ' } ] ,
89+ [ 'link' , { rel : 'icon' , href : '/favicon.ico ' } ] ,
9190 [ 'script' , { src : `${ getBaseRepository ( baseTemp . base ) } versions.js` } ] ,
9291 [ 'script' , { src : `${ baseTemp . base } siteinfo.js` } ]
9392 ] ,
@@ -155,7 +154,7 @@ export default defineConfig({
155154 pattern : 'https://github.com/JuliaDataCubes/YAXArrays.jl/edit/master/docs/src/:path'
156155 } ,
157156 socialLinks : [
158- { icon : 'github' , link : 'https://github.com/JuliaDataCubes/YAXArrays.jl' }
157+ // { icon: 'github', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl' }
159158 ] ,
160159 footer : {
161160 message : 'Made with <a href="https://github.com/LuxDL/DocumenterVitepress.jl" target="_blank"><strong>DocumenterVitepress.jl</strong></a>' ,
0 commit comments