Simplified theme setup

This commit is contained in:
squidfunk 2022-10-16 15:56:41 +07:00
parent 2b4adbb97c
commit 3d1c669b3e
2 changed files with 1 additions and 15 deletions

View File

@ -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:

View File

@ -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