Quick reference for maintaining consistent project documentation.
## Table of Contents <!-- omit in toc -->
- [Section 1](#section-1)
- [Section 2](#section-2)
- [Subsection 2.1](#subsection-21)Rules:
- No self-referencing links (title/TOC in TOC)
- Use
<!-- omit in toc -->comment - 2-space indentation for subsections
- Match anchor links exactly
#- Document title (only one per document)##- Main sections###- Subsections- Use sentence case: "Installation and setup"
- Be descriptive: "Database Configuration" not "Config"
Always specify language:
// TypeScript code
const example = 'value';- Internal:
[Architecture Guide](architecture.md) - External:
[NestJS Docs](https://docs.nestjs.com/) - Anchors:
[Setup Script](setup-script.md#usage)
- Use kebab-case:
setup-script.md - Be descriptive:
database-migrations.mdnotdb.md
- Active voice: "Run the command" not "The command should be run"
- Be concise: Get to the point quickly
- Use bullet points: For lists and steps
- Include examples: Show, don't just tell
- Add prerequisites: Always mention what's needed before starting
- Overview - Brief description of what the document covers
- Prerequisites - What users need before starting
- Step-by-step instructions - Clear, numbered steps
- Examples and code - Practical demonstrations
- Troubleshooting - Common issues and solutions
- References - Links to related documentation
Include navigation links at the bottom:
---
Previous: [Previous Document](previous-doc.md)
Next: [Next Document](next-doc.md)- ❌ Broken file references → Ensure linked files exist
- ❌ Missing anchors → Ensure
#section-nameexists - ❌ Wrong paths → Use
../for parent directory - ❌ Missing extensions → Always include
.md
- All internal links use relative paths
- All linked files exist
- Anchor links point to existing sections
- Navigation links use correct relative paths
- TOC follows standard format
- All internal links work
- Code blocks have language specified
- File naming follows conventions
- Content is clear and concise
- Prerequisites are clearly stated
- Examples are complete and runnable
- Navigation links are included
- No typos or grammar errors
- Consistent terminology throughout
- Proper heading hierarchy
- Cross-references are accurate
- External links are valid
This document should be updated as new standards are established.
Previous: Architecture
Next: Hygen