mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
19 lines
588 B
TypeScript
19 lines
588 B
TypeScript
import { url } from "@/utils/metadata";
|
|
import type { MetadataRoute } from "next";
|
|
// import { getPages } from "./source.config";
|
|
|
|
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
|
|
return [
|
|
// ...docs().map<MetadataRoute.Sitemap[number]>((page) => {
|
|
// return {
|
|
// url: url(`/en${page.url}`),
|
|
// lastModified: page.data.exports.lastModified
|
|
// ? new Date(page.data.exports.lastModified)
|
|
// : undefined,
|
|
// changeFrequency: "weekly",
|
|
// priority: page.url === "/docs/core/get-started/introduction" ? 1 : 0.8,
|
|
// };
|
|
// }),
|
|
];
|
|
}
|