mirror of
https://github.com/Dokploy/website.git
synced 2026-06-15 20:25:25 +02:00
- Introduced `robots.ts` for defining robots.txt rules and sitemap URL. - Added `sitemap.ts` to generate a sitemap based on available documentation pages. - Enhanced the documentation page to include a "Copy as Markdown" button for easy copying of content. - Created `copy-markdown-button.tsx` component for clipboard functionality. - Implemented `llms.txt` route to provide a text-based overview of documentation links.
12 lines
218 B
TypeScript
12 lines
218 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: {
|
|
userAgent: "*",
|
|
allow: "/",
|
|
},
|
|
sitemap: "https://docs.dokploy.com/sitemap.xml",
|
|
};
|
|
}
|