docs: added cloud documentation project (#12711)

This commit is contained in:
Shahed Nasser
2025-06-12 11:29:14 +03:00
committed by GitHub
parent bd6d9777c5
commit 8a88748982
85 changed files with 1463 additions and 19 deletions

View File

@@ -0,0 +1,13 @@
import { retrieveMdxPages } from "build-scripts"
import type { MetadataRoute } from "next"
import path from "path"
import { config } from "../config"
import { basePathUrl } from "../utils/base-path-url"
export default function sitemap(): MetadataRoute.Sitemap {
return retrieveMdxPages({
basePath: path.resolve("app"),
}).map((filePath) => ({
url: `${config.baseUrl}${basePathUrl(filePath)}`,
}))
}