We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f761316 commit 622e2ccCopy full SHA for 622e2cc
tools/builder/prepare-gh-pages.js
@@ -54,7 +54,7 @@ function getSteps(tutorialDir) {
54
function rewriteLinks(file) {
55
let permalink = file.split("dist/")[1].replace(".md", ".html");
56
let content = `---\npermalink: ${permalink}\n---\n\n${readFileSync(file, { encoding: "utf8"})}`;
57
- content = content.replace(/README\.md/g, "README.html");
+ content = content.replace(/README\.md/g, "index.html");
58
content = content.replace(/\.\/packages\//g, "./");
59
content = content.replace(/\[LICENSE\]\([\.\/\w]*\)/g, "[LICENSE](https://github.com/UI5/tutorials/blob/-/LICENSE)");
60
writeFileSync(file, content, { encoding: "utf8" });
0 commit comments