We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60d7f45 + 2374622 commit 403ca55Copy full SHA for 403ca55
.vitepress/config.mts
@@ -28,6 +28,14 @@ export default defineConfig({
28
generateAllSinglePages();
29
// Generate toggle mode single-page documentation
30
generateAllToggleSinglePages();
31
+
32
+ // Create .nojekyll file for GitHub Pages
33
+ const distPath = path.join(process.cwd(), '.vitepress', 'dist');
34
+ const nojekyllPath = path.join(distPath, '.nojekyll');
35
+ if (!fs.existsSync(nojekyllPath)) {
36
+ fs.writeFileSync(nojekyllPath, '');
37
+ console.log('Created .nojekyll file for GitHub Pages');
38
+ }
39
},
40
41
transformPageData(pageData, ctx) {
0 commit comments