[AIR-3][AIS-3][BPC-3][RES-3]
Documentation Quick Start¶
Overview¶
Add a brief overview of this document here.
Table of Contents¶
This guide will help you quickly set up and start using the Anya Core documentation system.
Prerequisites¶
- Python 3.8 or higher
- pip (Python package manager)
- Git
Setup¶
- Clone the repository (if you haven't already):
bash
git clone https://github.com/anya-org/anya-core.git
cd anya-core
- Set up the documentation environment:
bash
./scripts/setup_docs.sh
This will: - Create a Python virtual environment - Install MkDocs and required plugins - Set up the documentation structure
Viewing Documentation Locally¶
To view the documentation locally while you work:
./scripts/serve_docs.sh
This will start a local development server at http://127.0.0.1:8000 that automatically reloads when you make changes.
Creating New Documentation¶
- Use the template to create a new document:
bash
cp docs/.template.md docs/guides/my-new-guide.md
- Edit the metadata at the top of the file:
```yaml
title: "My New Guide" description: "A brief description of this guide"
```
-
Add your content using Markdown syntax.
-
Update the navigation in
mkdocs.yml
if you want your new document to appear in the site navigation.
Documentation Standards¶
- Follow the Markdown Style Guide
- Include proper AI labeling at the top of each file
- Keep lines under 100 characters
- Use descriptive link text
Building for Production¶
To build the documentation for production:
./scripts/deploy_docs.sh
Select option 2 to deploy to GitHub Pages, or option 1 to preview the production build locally.
Troubleshooting¶
Common Issues¶
-
Missing dependencies:
bash pip install -r requirements-docs.txt
-
Broken links:
bash ./scripts/verify_docs.sh
-
Formatting issues:
- Ensure all headers have blank lines before and after
- Check for trailing whitespace
- Verify all code blocks have language specified
Getting Help¶
- Check the Documentation System Guide
- Review the Markdown Style Guide
- Open an issue if you need assistance