Documentation Contribution Guidelines
The DevDiff documentation site is powered by VitePress 1.6.4 located in the docs/ workspace root directory.
Building & Previewing Documentation Locally
bash
# Start VitePress local development server (http://localhost:5173)
pnpm docs:dev
# Build the static documentation production bundle
pnpm docs:build
# Preview the built documentation site locally
pnpm docs:previewDocumentation Style & Engineering Standards
- Human-Craft Language:
- Write clear, concise, and professional developer documentation.
- Avoid marketing fluff, robotic jargon, and excessive emoji clutter. Focus on actionable commands, exact parameters, and clear code snippets.
- Standard Markdown Links:
- Use clean relative paths (e.g.
[Development Guide](./development.md)) or official GitHub repository links. - Never embed workstation filesystem URIs (e.g.
file:///c:/...).
- Use clean relative paths (e.g.
- Mermaid Diagrams:
- Use fenced code blocks with the
mermaidlanguage identifier for all architecture flows and dependency graphs. - Ensure diagrams use clear labels without raw HTML tags.
- Use fenced code blocks with the
- Code & Command Snippets:
- Explicitly specify syntax highlighters (
bash,typescript,json,yaml,diff). - Keep command examples self-contained and reproducible.
- Explicitly specify syntax highlighters (