From 3d1c669b3e4c0b62834d628addd1a52b007c20b1 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 16 Oct 2022 15:56:41 +0700 Subject: [PATCH] Simplified theme setup --- .github/workflows/documentation.yml | 2 -- mkdocs.yml | 14 +------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 850517460..bc75e0bf4 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -55,7 +55,6 @@ jobs: - name: Install Python dependencies run: | - pip install . pip install \ "cairosvg>=2.5" \ "mkdocs-git-committers-plugin-2>=1.1.1" \ @@ -77,7 +76,6 @@ jobs: git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git pip install -e mkdocs-material-insiders cp mkdocs-material-insiders/mkdocs.yml mkdocs.yml - echo "THEME_DIR=mkdocs-material-insiders/material" >> $GITHUB_ENV - name: Deploy documentation env: diff --git a/mkdocs.yml b/mkdocs.yml index ed0e5c0af..603dcec3e 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -35,19 +35,7 @@ copyright: Copyright © 2016 - 2022 Martin Donath # Configuration theme: - name: null - custom_dir: !ENV [THEME_DIR, "material"] - - # Static files - static_templates: - - 404.html - - # Don't include MkDocs' JavaScript - include_search_page: false - search_index_only: true - - # Default values, taken from mkdocs_theme.yml - language: en + name: material features: # - announce.dismiss - content.code.annotate