alpha
Login
or
Join now
flo-bit.dev
/
tiny-docs
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[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/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
update
author
Florian
date
9 months ago
(Oct 27, 2025, 7:22 PM +0100)
commit
b870746f
b870746fd48a0d76da4466400ccae8650f43079b
parent
fc61b6a3
fc61b6a31e79c48b8bfb5f50326e58be68343156
+9
1 changed file
Expand all
Collapse all
Unified
Split
scripts
update-config.js
+9
scripts/update-config.js
View file
Reviewed
···
51
51
);
52
52
53
53
console.log("\n🔍 Result:\n" + fs.readFileSync(CONFIG_PATH, "utf8"));
54
54
+
55
55
+
// rename all .md files to .mdx in root folder and subfolders recursively
56
56
+
const mdFiles = fs.readdirSync(".", { withFileTypes: true, recursive: true })
57
57
+
.filter(dirent => dirent.isFile() && dirent.name.endsWith(".md"))
58
58
+
.map(dirent => dirent.name);
59
59
+
60
60
+
for (const mdFile of mdFiles) {
61
61
+
fs.renameSync(mdFile, mdFile.replace(".md", ".mdx"));
62
62
+
}