We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e4b7f3 commit 27d284fCopy full SHA for 27d284f
.gitignore
@@ -3,6 +3,9 @@ dist/
3
# generated types
4
.astro/
5
6
+# derived content on startup
7
+src/content/docs/docs/modules
8
+
9
# dependencies
10
node_modules/
11
scripts/sync-modules.js
@@ -91,7 +91,7 @@ This ${modType} is available at [github.com/${owner}/${mod.repo}](https://github
91
92
// Save file
93
const folderPath = path.join(outputDir, mod.repo);
94
- if (!fs.existsSync(folderPath)) fs.mkdirSync(folderPath);
+ if (!fs.existsSync(folderPath)) fs.mkdirSync(folderPath, { recursive: true });
95
96
const filePath = path.join(folderPath, 'index.md');
97
// If file exists, make it writable so we can overwrite it
0 commit comments