Skip to content

Commit 430ba46

Browse files
serpentbladeclaude
andcommitted
fix(docs): unbreak CI — exclude contributor guide from VitePress, add captcha-vue dep
The docs build failed on main because docs/ADDING-COMPONENT-DOCS.md was compiled as a VitePress page; its bare <slug>/<Name> tokens in prose read as unclosed elements ("Element is missing end tag"). It's a maintainer guide, not a site page — exclude it via srcExclude. Also add the missing @rozie-ui/captcha-vue workspace dep so captcha-demo.md's import resolves at build time. Verified locally: vitepress build + check-anchors (164 links, 0 broken) green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JsEdUevcyBiR9TNSSdatrm
1 parent 780e0be commit 430ba46

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

docs/.vitepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ export default defineConfig({
2828
base: '/rozie.js/',
2929
cleanUrls: true,
3030
lastUpdated: true,
31+
// Contributor/maintainer guides that live under docs/ but are NOT site pages
32+
// (they contain bare <slug>/<Name> tokens the VitePress Vue compiler would try
33+
// to parse as unclosed elements). Keep them co-located but out of the build.
34+
srcExclude: ['ADDING-COMPONENT-DOCS.md'],
3135
markdown: {
3236
languages: [
3337
{

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@fullcalendar/daygrid": "^6.1.20",
3030
"@fullcalendar/interaction": "^6.1.20",
3131
"@fullcalendar/timegrid": "^6.1.20",
32+
"@rozie-ui/captcha-vue": "workspace:*",
3233
"@rozie-ui/chartjs-vue": "workspace:*",
3334
"@rozie-ui/codemirror-vue": "workspace:*",
3435
"@rozie-ui/cropper-vue": "workspace:*",

pnpm-lock.yaml

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)