@@ -3,8 +3,7 @@ import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs'
3
3
import mathjax3 from "markdown-it-mathjax3" ;
4
4
5
5
function 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 '/' ;
8
7
const parts = base . split ( '/' ) . filter ( Boolean ) ;
9
8
return parts . length > 0 ? `/${ parts [ 0 ] } /` : '/' ;
10
9
}
@@ -87,7 +86,7 @@ export default defineConfig({
87
86
// cleanUrls: true,
88
87
outDir : 'REPLACE_ME_DOCUMENTER_VITEPRESS' , // This is required for MarkdownVitepress to work correctly...
89
88
head : [
90
- [ 'link' , { rel : 'icon' , href : 'REPLACE_ME_DOCUMENTER_VITEPRESS_FAVICON ' } ] ,
89
+ [ 'link' , { rel : 'icon' , href : '/favicon.ico ' } ] ,
91
90
[ 'script' , { src : `${ getBaseRepository ( baseTemp . base ) } versions.js` } ] ,
92
91
[ 'script' , { src : `${ baseTemp . base } siteinfo.js` } ]
93
92
] ,
@@ -155,7 +154,7 @@ export default defineConfig({
155
154
pattern : 'https://github.com/JuliaDataCubes/YAXArrays.jl/edit/master/docs/src/:path'
156
155
} ,
157
156
socialLinks : [
158
- { icon : 'github' , link : 'https://github.com/JuliaDataCubes/YAXArrays.jl' }
157
+ // { icon: 'github', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl' }
159
158
] ,
160
159
footer : {
161
160
message : 'Made with <a href="https://github.com/LuxDL/DocumenterVitepress.jl" target="_blank"><strong>DocumenterVitepress.jl</strong></a>' ,
0 commit comments