ArchiPy Documentation¶
This directory contains the MkDocs-based documentation for ArchiPy.
Documentation Structure¶
mkdocs.yml
- Main configuration file for MkDocsdocs/
- Markdown documentation filesindex.md
- Home pageapi_reference/
- API documentationexamples/
- Usage examplesassets/
- Images and other static assets
Converting from Sphinx to MkDocs¶
The documentation is being migrated from Sphinx (RST) to MkDocs (Markdown). To help with this process:
-
Run the conversion script:
This script usespandoc
to convert RST files to Markdown. -
Manually review and improve the converted files.
-
Preview the documentation:
-
Build the documentation:
-
Deploy to GitHub Pages:
Writing Documentation Guidelines¶
- Use Markdown syntax for all documentation files
- Follow the Google Python style for code examples
- Include type hints in code samples
- Group related documentation in directories
- Link between documentation pages using relative links
- Add admonitions (notes, warnings, tips) using the Material for MkDocs syntax:
Improving Documentation¶
When improving the documentation:
- Focus on clarity and conciseness
- Include practical, runnable examples
- Explain "why" not just "how"
- Keep navigation logical and intuitive
- Use diagrams for complex concepts