Documentation Guide¶
How to contribute to Sentimatrix documentation.
Documentation Structure¶
website/
├── mkdocs.yml # MkDocs configuration
├── docs/
│ ├── index.md # Homepage
│ ├── getting-started/ # Getting started guides
│ ├── providers/ # LLM provider docs
│ ├── scrapers/ # Scraper docs
│ ├── features/ # Feature documentation
│ ├── configuration/ # Config docs
│ ├── api/ # API reference
│ ├── examples/ # Example code
│ └── contributing/ # Contributing guides
└── requirements.txt # MkDocs dependencies
Local Development¶
Open http://localhost:8000 to preview.
Writing Documentation¶
Frontmatter¶
Every page needs frontmatter:
Code Examples¶
Use fenced code blocks with language:
Admonitions¶
Tabs¶
Style Guide¶
- Clear and concise: Get to the point
- Code first: Show code examples early
- Practical: Focus on real use cases
- Consistent: Follow existing patterns
- Complete: Include all parameters
Adding New Pages¶
- Create markdown file in appropriate directory
- Add to
navinmkdocs.yml - Add links from related pages
- Preview locally before submitting
Building for Production¶
Output in site/ directory.