Understand the core concept of the mkdocs-monorepo-plugin
masterThe mkdocs-monorepo-plugin is designed for large codebases (monorepos or monoliths) where documentation ownership is complex. Instead of maintaining one massive, centralized documentation repository, this plugin allows you to split documentation into smaller, localized folders distributed throughout your codebase.
Key Workflow:
- Decentralized Documentation: Documentation lives alongside the code in smaller, manageable folders.
- Ownership Alignment: By localizing docs to specific directories, you can leverage existing code ownership strategies, such as GitHub Codeowners, to manage who can change specific parts of the documentation.
- Unified Build: When shipping to production, the plugin merges these distributed documentation pieces into a single, cohesive MkDocs site.