Structurizr Mkdocs Pages

screenshot of Structurizr Mkdocs Pages
mkdocs

Sample repo containing GH pages generated by MkDocs including diagrams from a Structurizr model

Overview

If you're looking for a streamlined way to document your architecture using a version-controlled methodology, the combination of Structurizr and MkDocs may be just what you need. This setup allows you to manage and visualize your architecture through a centralized model, making it easier to keep your documentation up to date across various applications. By utilizing GitHub automation, you can also effortlessly host your generated diagrams on GitHub Pages, which is perfect for anyone seeking a local or static hosting solution.

Choosing not to use the cloud or self-hosted options doesn't diminish the utility of Structurizr. This approach provides an effective workaround for generating diagrams and documentation that meet your company's needs, even if it requires a little extra setup.

Features

  • Integrated Documentation: Combine architectural modeling and documentation in one place, keeping everything organized and accessible.
  • Static Site Generation: Leverage MkDocs, a well-known static site generator, to create your documentation from Markdown, making the process fast and efficient.
  • Diagram Export: Use Structurizr CLI to export your architectural models into Mermaid syntax, ensuring diagrams are current and visually appealing.
  • Local Development: Quickly view and test changes using Structurizr Lite, allowing immediate feedback as you update your model.
  • Automated Hosting: With GitHub Actions, your diagrams and documentation updates automatically deploy to GitHub Pages, simplifying the publishing process.
  • Custom Macros: Enhance your documentation with custom macros that allow for easy embedding of various content types directly into your Markdown files.
  • Plugin Support: MkDocs supports numerous plugins, enabling you to extend functionality and customize your documentation to fit specific needs.
mkdocs
MkDocs

MkDocs is a fast, simple and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.