Anya Core Documentation System¶
Table of Contents¶
[AIR-3][AIS-3][BPC-3][RES-3]
Overview¶
The Anya Core documentation system is built using MkDocs with the Material for MkDocs theme. This provides a modern, responsive, and searchable documentation website that's easy to maintain and extend.
Getting Started¶
Prerequisites¶
- Python 3.8 or higher
- pip (Python package manager)
Setup¶
- Install Dependencies
This will: - Create a Python virtual environment - Install all required dependencies - Set up the documentation environment
- Serve Documentation Locally
This will: - Start the MkDocs development server - Open the documentation in your default browser - Automatically reload when files change
Documentation Structure¶
docs/
├── api/ # API reference documentation
├── architecture/ # System architecture documentation
├── assets/ # Images, styles, and other static files
├── getting-started/ # Getting started guides
├── guides/ # How-to guides and tutorials
├── installation/ # Installation instructions
└── standards/ # Development standards and guidelines
Adding New Documentation¶
- Create a new Markdown file in the appropriate directory
- Add metadata at the top of the file:
- Use Markdown to write your content
- Reference images in the
docs/assets/images/directory - Update the navigation in
mkdocs.ymlif needed
Building for Production¶
To build the documentation for production:
The built site will be available in the site/ directory.
Documentation Standards¶
- Follow the Markdown Style Guide
- Use proper heading hierarchy (one H1 per page, followed by H2, H3, etc.)
- Include code examples with syntax highlighting
- Add descriptive alt text for images
- Keep lines under 100 characters
- Use relative links to other documentation pages
AI Labeling Standards¶
All documentation must include the appropriate AI labels at the top of each file:
Versioning¶
The documentation follows Semantic Versioning. Each release of Anya Core will include the corresponding documentation version.
Contributing¶
See CONTRIBUTING.md for guidelines on contributing to the documentation.
License¶
This documentation is licensed under the MIT License.