diff --git a/next.config.ts b/next.config.ts index 5550009..206c776 100644 --- a/next.config.ts +++ b/next.config.ts @@ -7,6 +7,13 @@ const nextConfig: NextConfig = { return [ // There is no docs index page; the footer and navbar link to /docs. { source: "/docs", destination: "/docs/getting-started", permanent: true }, + // The formatters (LocaleNumber, RelativeTime) were removed in #72; their old + // docs URLs are still known to search engines. + { + source: "/docs/components/formatters/:path*", + destination: "/docs/components", + permanent: true, + }, ]; }, };