Skip to content

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

  1. Install Dependencies
./scripts/setup_docs.sh

This will: - Create a Python virtual environment - Install all required dependencies - Set up the documentation environment

  1. Serve Documentation Locally
./scripts/serve_docs.sh

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

  1. Create a new Markdown file in the appropriate directory
  2. Add metadata at the top of the file:
---
title: Page Title
description: Brief description of the page
---
  1. Use Markdown to write your content
  2. Reference images in the docs/assets/images/ directory
  3. Update the navigation in mkdocs.yml if needed

Building for Production

To build the documentation for production:

mkdocs build --clean

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:

[AIR-3][AIS-3][BPC-3][RES-3]

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.

See Also