mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +01:00
Simplified theme setup
This commit is contained in:
parent
2b4adbb97c
commit
3d1c669b3e
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@ -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:
|
||||
|
14
mkdocs.yml
14
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
|
||||
|
Loading…
Reference in New Issue
Block a user