From 1b489b96a8922c96befac101e130c49cf7e9d194 Mon Sep 17 00:00:00 2001 From: Dennis Siemensma Date: Mon, 6 Jan 2025 22:09:58 +0100 Subject: [PATCH] Add admonitions in new docs #1686 --- documentation/mkdocs.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/documentation/mkdocs.yml b/documentation/mkdocs.yml index baf23607..3e98758a 100644 --- a/documentation/mkdocs.yml +++ b/documentation/mkdocs.yml @@ -7,11 +7,15 @@ theme: material locale: en markdown_extensions: - toc: - baselevel: 2 + baselevel: 1 + # https://squidfunk.github.io/mkdocs-material/reference/admonitions/#supported-types + - admonition + - pymdownx.details + - pymdownx.superfences extra_css: - css/style.css plugins: - toc-md: toc_page_title: DSMR-reader documentation toc_page_description: See sidebar for a more specific navigation or below for a (global) overview. - header_level: 3 + header_level: 1