diff --git a/content/api-reference/auth/sendVerificationEmail.mdx b/content/api-reference/auth/sendVerificationEmail.mdx index dd9fe949..018dfcb1 100644 --- a/content/api-reference/auth/sendVerificationEmail.mdx +++ b/content/api-reference/auth/sendVerificationEmail.mdx @@ -12,14 +12,14 @@ _openapi: Send a verification email to the user email address. The email is only sent if have configured [SMTP mail - server](https://docs.logchimp.codecarrot.net/self-hosting/environment-variables#mail) + server](https://docs.logchimp.codecarrot.net/docs/environment-variables#mail) are configured at the time of deploying LogChimp. --- {/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} Send a verification email to the user email address. -The email is only sent if have configured [SMTP mail server](https://docs.logchimp.codecarrot.net/self-hosting/environment-variables#mail) are configured at the time of deploying LogChimp. +The email is only sent if have configured [SMTP mail server](https://docs.logchimp.codecarrot.net/docs/environment-variables#mail) are configured at the time of deploying LogChimp. \ No newline at end of file diff --git a/src/app/sitemap.ts b/src/app/sitemap.ts new file mode 100644 index 00000000..801d7ad3 --- /dev/null +++ b/src/app/sitemap.ts @@ -0,0 +1,27 @@ +import type { MetadataRoute } from "next"; +import { + mainSource, + selfHostingSource, + platformSource, + guideSource, + openApiSource, + developingSource, +} from "../lib/source"; + +export default function sitemap(): MetadataRoute.Sitemap { + const sources = [ + mainSource, + selfHostingSource, + platformSource, + guideSource, + openApiSource, + developingSource, + ]; + + return sources.flatMap((s) => + s.getPages().map((page) => ({ + url: `https://docs.logchimp.codecarrot.net${page.url}`, + lastModified: new Date().toISOString(), + })), + ); +}