From ec98fc99c713b6135b22631c3acaaf0e2dc2fcb2 Mon Sep 17 00:00:00 2001 From: Thomas Schweiger Date: Fri, 12 Sep 2025 08:48:12 +0200 Subject: [PATCH 1/2] mention redirects in local dev server --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 57d87e4b..400ba0d8 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,13 @@ pnpm start This command will launch a local development server and open the site in your browser. Changes are hot-reloaded automatically. +> ⚠️ `docs` tree contains redirects, because some documentation files may have been removed or moved, and old bookmarks should still work. To have those working in the local dev server, the documentation needs to be built first: + +```bash +pnpm build +pnpm start serve +``` + ### Start docs in German To launch the documentation in German, run: @@ -31,6 +38,8 @@ pnpm run start --locale de > ⚠️ Switching languages via the language switcher is currently not supported. + + ## Build ```bash From 2d58bb0f0bca4fa00cb2cc9c7ebab9f70ee9dbe0 Mon Sep 17 00:00:00 2001 From: Thomas Schweiger Date: Fri, 12 Sep 2025 11:46:35 +0200 Subject: [PATCH 2/2] fix run command for local dev server with static files --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 400ba0d8..0c4df019 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This command will launch a local development server and open the site in your br ```bash pnpm build -pnpm start serve +pnpm run serve ``` ### Start docs in German