Skip to content

Commit 68fb62c

Browse files
committed
docs(website): fix base
1 parent fe574fa commit 68fb62c

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
import { 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

55
import { sidebar } from './sidebar';
66

77
// https://vitepress.dev/reference/site-config
88
const isProd = process.env.NODE_ENV === 'production';
99

1010
export 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
});

0 commit comments

Comments
 (0)