Documentation for all major features in DocuNote.
Each feature is documented with:
- Why it exists (design decisions)
- How it's implemented (technical details)
- What it does (quick summary)
For each feature, create a subfolder with these files:
docs/03-features/your-feature/
├── suggestions.md # Design options explored
├── implementation.md # Technical implementation
└── summary.md # Quick reference
See theme-toggle/ for a complete example:
- suggestions.md - 4 design options analyzed
- implementation.md - Technical details
- summary.md - Quick overview
This demonstrates:
✅ Thorough design exploration
✅ Clear technical documentation
✅ Quick reference for future developers
✅ Testing strategy included
Location: theme-toggle/
Status: ✅ Complete and tested
Description: Quick light/dark theme toggle with keyboard shortcut (Ctrl+Shift+T)
Key Files:
- Component:
src/components/theme-toggle-button.tsx - Tests:
e2e/ui-features.spec.ts(theme tests)
mkdir docs/03-features/my-featureCreate three files:
- suggestions.md - Design exploration and options
- implementation.md - Technical implementation details
- summary.md - Quick reference
Add your feature to the "Current Features" section above.
If it's a major feature, add it to docs/README.md
When documenting a feature:
- Created feature subfolder in
03-features/ - Created suggestions.md with design options
- Created implementation.md with technical details
- Created summary.md with quick overview
- Updated this README with feature listing
- Included code examples where helpful
- Documented testing approach
- Added screenshots (if UI feature)
-
Write for future developers
- Explain your thought process
- Document why decisions were made
- Include lessons learned
-
Keep it up to date
- Update docs when features change
- Mark deprecated features
-
Use examples
- Code snippets
- Screenshots
- Command examples
-
Link related resources
- Related features
- External documentation
Need inspiration? Look at the theme-toggle example for comprehensive feature documentation.