From 33851de3ce48c777f7950cc26a0f45ec5afbffc3 Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Mon, 1 Jun 2026 12:15:56 +0200 Subject: [PATCH] chore(vitepress): ignore docs/plan/* and *.prompt --- docs/.vitepress/config.mts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index f9d435f2..e0b8441d 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -11,6 +11,17 @@ export default defineConfig({ lastmodDateOnly: false, }, + // Internal planning notes (docs/plan/*) and AI hand-off prompts + // aren't user-facing docs and contain raw Rust/pseudocode whose + // generics (Option, Vec, …) trip Vue's + // template parser ("Element is missing end tag" because , + // , etc. look like unclosed HTML tags). Keep them + // in-tree for engineering reference but skip them at site-build time. + srcExclude: [ + "plan/**", + "**/*.prompt", + ], + markdown: { image: { lazyLoading: true,