From 6df54b03f8a69f5c00f8dde9a30578a8e7d030f6 Mon Sep 17 00:00:00 2001 From: trymzet Date: Tue, 11 Jun 2024 16:29:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20MkDocs=20build=20failing?= =?UTF-8?q?=20due=20to=20incorrect=20YAML=20parsing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 1 + mkdocs.yml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fce9d99e..32aa59636 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,7 @@ repos: rev: v4.1.0 hooks: - id: check-yaml + exclude: mkdocs.yml - id: check-toml - id: detect-private-key - id: end-of-file-fixer diff --git a/mkdocs.yml b/mkdocs.yml index 57e64d9ee..769e2c0b6 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -89,10 +89,10 @@ markdown_extensions: custom_fences: - name: mermaid class: mermaid - format: "!!python/name:pymdownx.superfences.fence_code_format" + format: !!python/name:pymdownx.superfences.fence_code_format - pymdownx.emoji: - emoji_index: "!!python/name:material.extensions.emoji.twemoji" - emoji_generator: "!!python/name:material.extensions.emoji.to_svg" + emoji_index: !!python/name:material.extensions.emoji.twemoji + emoji_generator: !!python/name:material.extensions.emoji.to_svg - pymdownx.inlinehilite - pymdownx.smartsymbols - pymdownx.keys