docs: init c4 diagrams

This commit is contained in:
Johannes Kirschbauer
2024-04-24 14:44:43 +02:00
parent 39d6edc673
commit fc1bf17b9c
2 changed files with 11 additions and 5 deletions

View File

@@ -1,11 +1,17 @@
{ pkgs, module-docs, ... }:
let
uml-c4 = pkgs.python3Packages.plantuml-markdown.override { plantuml = pkgs.plantuml-c4; };
in
pkgs.stdenv.mkDerivation {
name = "clan-documentation";
src = ../.;
nativeBuildInputs =
[ pkgs.python3 ]
[
pkgs.python3
uml-c4
]
++ (with pkgs.python3Packages; [
mkdocs
mkdocs-material