From 78bc3b2190ecb28e797f06d5f3801e9fb7263494 Mon Sep 17 00:00:00 2001 From: Mykola Zotko Date: Tue, 26 Nov 2024 00:19:29 +0100 Subject: [PATCH] refactor: update pre-commit config to exclude demo.html; adjust mkdocs navigation settings --- .pre-commit-config.yaml | 2 +- docs/{assets => }/demo.html | 0 mkdocs.yml | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename docs/{assets => }/demo.html (100%) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 65ec6d5..6a1b7d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -exclude: '^(examples/|docs/assets/)' +exclude: '^(examples/|docs/demo.html)' repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 diff --git a/docs/assets/demo.html b/docs/demo.html similarity index 100% rename from docs/assets/demo.html rename to docs/demo.html diff --git a/mkdocs.yml b/mkdocs.yml index 10d88ac..8ef3752 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -48,8 +48,8 @@ markdown_extensions: - admonition - pymdownx.details -extra_templates: - - assets/demo.html +not_in_nav: | + - /demo.html plugins: - search