File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 11import { defineConfig } from 'vitepress' ;
2- import llmstxt from " vitepress-plugin-llms" ;
3- import { copyOrDownloadAsMarkdownButtons } from 'vitepress-plugin-llms'
2+ import llmstxt from ' vitepress-plugin-llms' ;
3+ import { copyOrDownloadAsMarkdownButtons } from 'vitepress-plugin-llms' ;
44
55import { sidebar } from './sidebar' ;
66
77// https://vitepress.dev/reference/site-config
88const isProd = process . env . NODE_ENV === 'production' ;
99
1010export default defineConfig ( {
11- base : isProd ? '/vtk-js/' : '/ ',
11+ base : '/vtk-js' ,
1212 lang : 'en-US' ,
1313 title : 'VTK.js ' ,
1414 description : 'VTK.js a Visualization Toolkit for the Web' ,
1515 srcDir : './content' ,
1616 lastUpdated : true ,
1717 ignoreDeadLinks : true ,
1818 vite : {
19- plugins : [ llmstxt ( {
20- ignoreFiles : [
21- 'examples/*' ,
22- 'coverage/*' ,
23- ]
24- } ) ] ,
19+ plugins : [
20+ llmstxt ( {
21+ ignoreFiles : [ 'examples/*' , 'coverage/*' ] ,
22+ } ) ,
23+ ] ,
2524 } ,
2625 themeConfig : {
2726 // https://vitepress.dev/reference/default-theme-config
@@ -43,11 +42,11 @@ export default defineConfig({
4342 } ,
4443 footer : {
4544 copyright : `© ${ new Date ( ) . getFullYear ( ) } Kitware Inc.` ,
46- }
45+ } ,
4746 } ,
48- markdown : {
47+ markdown : {
4948 config ( md ) {
50- md . use ( copyOrDownloadAsMarkdownButtons )
51- }
52- }
49+ md . use ( copyOrDownloadAsMarkdownButtons ) ;
50+ } ,
51+ } ,
5352} ) ;
You can’t perform that action at this time.
0 commit comments