Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicell committed Dec 27, 2024
1 parent 8c8b5b2 commit b640c10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion combineMarkdown.js
Original file line number Diff line number Diff line change
@@ -84,7 +84,8 @@ function addUrlsFromSitemap() {
}

const urls = result.urlset.url.map((url) => url.loc[0]);
const urlsContent = `# URLs\n\n${urls.join("\n")}\n`;
const comment = "Here are the URLs to each piece of documentation that can be sent when helpful."
const urlsContent = `# URLs\n\n${comment}\n\n${urls.join("\n")}\n`;

fs.appendFileSync(outputFile, urlsContent, "utf-8");
console.log(`URLs added to combined markdown file`);

0 comments on commit b640c10

Please sign in to comment.