mirror of
https://github.com/testthedocs/awesome-docs.git
synced 2026-07-16 14:31:25 -05:00
Move topic pages to section index routes, standardize card-based content presentation, and simplify metadata typing while improving local search indexing for EnhancedLink entries. Refresh theme styling and replace unstable external links to keep metadata builds reliable.
1.1 KiB
1.1 KiB
AGENTS.md
Project basics
- VitePress site; main content lives in
README.mdanddocs/. - Use
pnpm@10.20.0(seepackage.json).
Common commands
- Install deps:
pnpm install(ortask setup:depswhich uses Homebrew to install node/pnpm). - Dev server:
pnpm docs:dev(ortask docs:dev). - Build:
pnpm docs:build(ortask docs:build). - Preview build:
pnpm docs:preview(ortask docs:preview).
EnhancedLink metadata (build-time)
- Metadata cache:
docs/.vitepress/cache/link-metadata.json(7-day TTL), copied todocs/public/cache/link-metadata.jsonon build. - Skip metadata fetch in dev:
SKIP_METADATA=true pnpm docs:dev. - Force refresh: delete
docs/.vitepress/cache/link-metadata.jsonbeforepnpm docs:build.
Content conventions (README list)
- List items are alphabetical, one link per item, and descriptions stay on the same line with trailing punctuation.
- New categories require at least 3 items.
CI link checks
- GitHub Actions runs
lycheeagainstREADME.mdon PRs and weekly (.github/workflows/*linkcheck*.yml).