From 709cebb671b1bbc484f99563bc479249220a78ff Mon Sep 17 00:00:00 2001 From: colinislit Date: Wed, 19 Nov 2025 21:48:33 +0100 Subject: [PATCH] refactor: rename /releases route to /documentatie MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complete route rename from /releases to /documentatie to better reflect the continuous build-in-public nature of the project (not formal releases). Changes: - Renamed app/(marketing)/releases/ → app/(marketing)/documentatie/ - Renamed content/nl/releases/ → content/nl/documentatie/ - Updated all internal links from /releases to /documentatie - Updated middleware publicRoutes (/releases → /documentatie) - Updated navigation.json link - Updated build-timeline.tsx documentation link - Updated all component href attributes - Updated lib/mdx/releases.ts content directory path - Updated sidebar component paths and checks - Updated MDX documentation files with new routes Files changed: - app/(marketing)/documentatie/[category]/page.tsx (footer link) - app/(marketing)/documentatie/page.tsx (card links) - app/(marketing)/documentatie/components/release-sidebar.tsx (all links) - app/(marketing)/components/build-timeline.tsx (documentation link) - content/nl/navigation.json (header link) - content/nl/documentatie/*.mdx (internal references) - middleware.ts (publicRoutes) - lib/mdx/releases.ts (RELEASES_DIR path) This prevents future confusion between "releases" (versioned software releases) and "documentatie" (continuous build documentation). Old URL: /releases/[category] New URL: /documentatie/[category] The old /releases route now returns 404 as expected. --- app/(marketing)/components/build-timeline.tsx | 2 +- .../[category]/page.tsx | 4 ++-- .../components/mdx-components.tsx | 0 .../components/release-sidebar-wrapper.tsx | 0 .../components/release-sidebar.tsx | 20 +++++++++---------- .../{releases => documentatie}/layout.tsx | 0 .../{releases => documentatie}/page.tsx | 2 +- .../nl/{releases => documentatie}/_index.json | 0 .../authentication.mdx | 2 +- .../release-notes-system.mdx | 16 +++++++-------- .../webpack-module-resolution.mdx | 16 +++++++-------- content/nl/navigation.json | 2 +- lib/mdx/releases.ts | 2 +- middleware.ts | 2 +- 14 files changed, 34 insertions(+), 34 deletions(-) rename app/(marketing)/{releases => documentatie}/[category]/page.tsx (97%) rename app/(marketing)/{releases => documentatie}/components/mdx-components.tsx (100%) rename app/(marketing)/{releases => documentatie}/components/release-sidebar-wrapper.tsx (100%) rename app/(marketing)/{releases => documentatie}/components/release-sidebar.tsx (90%) rename app/(marketing)/{releases => documentatie}/layout.tsx (100%) rename app/(marketing)/{releases => documentatie}/page.tsx (99%) rename content/nl/{releases => documentatie}/_index.json (100%) rename content/nl/{releases => documentatie}/authentication.mdx (98%) rename content/nl/{releases => documentatie}/release-notes-system.mdx (96%) rename content/nl/{releases => documentatie}/webpack-module-resolution.mdx (95%) diff --git a/app/(marketing)/components/build-timeline.tsx b/app/(marketing)/components/build-timeline.tsx index 6f30ace..6f90a30 100644 --- a/app/(marketing)/components/build-timeline.tsx +++ b/app/(marketing)/components/build-timeline.tsx @@ -242,7 +242,7 @@ export const BuildTimeline = ({ data }: BuildTimelineProps) => { {/* Link to detailed documentation */} Bekijk uitgebreide documentatie diff --git a/app/(marketing)/releases/[category]/page.tsx b/app/(marketing)/documentatie/[category]/page.tsx similarity index 97% rename from app/(marketing)/releases/[category]/page.tsx rename to app/(marketing)/documentatie/[category]/page.tsx index daa6583..805093a 100644 --- a/app/(marketing)/releases/[category]/page.tsx +++ b/app/(marketing)/documentatie/[category]/page.tsx @@ -84,10 +84,10 @@ export default async function ReleasePage({ params }: ReleasePageProps) { {/* Footer Navigation */} -