This directory contains comprehensive documentation for the Python Package Cookiecutter Template.
- index.md - Main documentation hub with navigation
- overview.md - Template overview and value proposition
- quickstart.md - Get started in minutes
- template-guide.md - Detailed feature documentation
- customization.md - How to modify generated projects
This documentation is written in Markdown and can be used with various documentation generators:
# Install MkDocs pip install mkdocs mkdocs-material # Create mkdocs.yml (see example below) # Serve locally mkdocs serve # Build for deployment mkdocs build# Install Sphinx pip install sphinx sphinx-rtd-theme myst-parser # Configure Sphinx to use Markdown # Build documentation sphinx-build -b html docs/ docs/_build/site_name: Python Package Cookiecutter Template docs_dir: docs site_dir: site nav: - Home: index.md - Overview: overview.md - Quick Start: quickstart.md - Template Guide: template-guide.md - Customization: customization.md theme: name: material palette: - scheme: default primary: blue accent: blue markdown_extensions: - admonition - codehilite - toc: permalink: trueWhen contributing to the documentation:
- Keep lines under 90 characters for readability
- Use clear headings with consistent hierarchy
- Include code examples where helpful
- Link between documents to improve navigation
- Test documentation builds before submitting
The documentation can be viewed:
- Locally: Using MkDocs serve or Sphinx build
- GitHub: Markdown files render directly in the repository
- GitHub Pages: When deployed with MkDocs or Sphinx