[READ-ONLY] Mirror of https://github.com/flo-bit/tiny-docs. quick setup, simple, minimalistic docs for your github project flo-bit.dev/tiny-docs/
0

Configure Feed

Select the types of activity you want to include in your feed.

update

+9
+9
scripts/update-config.js
··· 51 51 ); 52 52 53 53 console.log("\n🔍 Result:\n" + fs.readFileSync(CONFIG_PATH, "utf8")); 54 + 55 + // rename all .md files to .mdx in root folder and subfolders recursively 56 + const mdFiles = fs.readdirSync(".", { withFileTypes: true, recursive: true }) 57 + .filter(dirent => dirent.isFile() && dirent.name.endsWith(".md")) 58 + .map(dirent => dirent.name); 59 + 60 + for (const mdFile of mdFiles) { 61 + fs.renameSync(mdFile, mdFile.replace(".md", ".mdx")); 62 + }