From dbc0b914a134e72b88776cb50c3ea0312eb68305 Mon Sep 17 00:00:00 2001 From: Eric Bouchut Date: Thu, 10 Oct 2024 11:02:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20mermaid=20support=20to=20M?= =?UTF-8?q?kdocs=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add mermaid diagrams support See: https://squidfunk.github.io/mkdocs-material/reference/diagrams --- mkdocs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 2ba5179f..d38b9398 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -8,6 +8,7 @@ site_author: Trio Community # Repository repo_name: nightscout/trio-docs repo_url: https://github.com/nightscout/trio-docs +edit_uri: edit/dev/docs/ # Copyright copyright: Trio Community @@ -52,7 +53,6 @@ theme: features: - announce.dismiss - - content.action.view - content.action.edit - content.code.copy - content.tabs.link @@ -121,6 +121,10 @@ markdown_extensions: - pymdownx.keys - pymdownx.smartsymbols - pymdownx.superfences: + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format - pymdownx.tabbed: alternate_style: true - tables