From c7b7e7d0b597449cd11d8f3ed7ed46f94852a559 Mon Sep 17 00:00:00 2001 From: Andrew LeCody Date: Wed, 14 Sep 2022 18:33:44 -0500 Subject: [PATCH] Set site_url so mermaid.js loads correctly When site_url isn't set (or is falsey) the privacy plugin will include mermaid.js on _every page_ to mitigate an issue with offline site generation. https://github.com/squidfunk/mkdocs-material/issues/3742 --- mkdocs.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 67f6455..ae163f4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,4 +1,5 @@ site_name: Lick The Salt +site_url: https://lickthesalt.com/ docs_dir: content nav: - About: index.md @@ -53,7 +54,11 @@ markdown_extensions: - pymdownx.keys - pymdownx.smartsymbols - pymdownx.snippets - - pymdownx.superfences + - pymdownx.superfences: + custom_fences: + - name: mermaid + class: mermaid + format: !!python/name:pymdownx.superfences.fence_code_format - pymdownx.tabbed: alternate_style: true - pymdownx.tasklist: