documentation - zfifteen/unified-framework GitHub Wiki
Guidelines for writing and maintaining documentation for the Z Framework.
- Main documentation in
docs/
directory - API reference in
docs/api/
- User guides in
docs/guides/
- Examples in
docs/examples/
- Use lowercase with hyphens:
getting-started.md
- Be descriptive and specific
- Group related documents in subdirectories
- All mathematical claims must be empirically validated
- Clearly distinguish between proven results and hypotheses
- Include statistical confidence intervals where applicable
- Use precise mathematical notation
- Write for both novice and expert users
- Include code examples for practical concepts
- Use clear, concise language
- Structure content with headings and lists
- Use consistent terminology throughout
- Follow the universal form notation: Z = A(B/c)
- Reference the same parameter names as in code
- Use LaTeX notation for mathematical expressions
- Include derivations for complex formulas
- Provide numerical examples
- Include confidence intervals: CI [14.6%, 15.4%]
- Report statistical significance: p < 10⁻⁶
- Document test parameters and methodologies
- Provide working code examples
- Include expected outputs
- Show both basic and advanced usage
- Document all parameters and return values
- Include type hints
- Provide usage examples
- Use relative paths for internal links
- Keep links up to date with file reorganizations
- Test all links before committing
- Verify external links are stable
- Include fallback documentation for critical external resources