1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 15:45:27 +01:00

Clean up some comments

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz
2025-05-23 14:48:26 +02:00
parent 35be4bc47b
commit ba8e43cdb1

View File

@@ -37,7 +37,6 @@ export default async function DocsPage({
const slug = (await params).slug;
const docMeta = docsCollection[slug.join("/")];
// TODO: Use the content from the meta json.
const markdown = await fs.readFile(docMeta.filePath, "utf-8");
return (
@@ -69,7 +68,7 @@ export default async function DocsPage({
switch (docMeta.type) {
case "local-doc":
// TODO: Fix this in the old Markdown files instead.
// TODO: Fix this in the old Markdown files instead?
return src.replace(/^\/assets\//, "/assets/docs/");
case "repo-doc":
return `${docMeta.assetsRoot}/${src}`;