+3
-1
scripts/build-wisp-docs.mjs
+3
-1
scripts/build-wisp-docs.mjs
···
119
if (!(await exists(docsIndex))) {
120
const readme = path.join(repoRoot, "README.md");
121
if (await exists(readme)) {
122
+
let md = await readFile(readme, "utf8");
123
+
// Strip docs/ prefix from links since we're now inside the docs context.
124
+
md = md.replace(/\]\(docs\//g, "](");
125
await writeFile(path.join(outDocsDir, "index.md"), md, "utf8");
126
pages.push({
127
path: "index.md",