1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-12 17:26:19 +00:00

Add some sexy new mkdocs plugins

This commit is contained in:
David Young
2020-03-26 09:38:30 +13:00
parent 8dd5def453
commit 6fb8050d0a
4 changed files with 11 additions and 2 deletions

4
Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM squidfunk/mkdocs-material
RUN pip install \
mkdocs-autolinks-plugin \
mkdocs-htmlproofer-plugin

View File

@@ -15,7 +15,7 @@ repo_url: 'https://github.com/funkypenguin/geek-cookbook'
docs_dir: 'manuscript'
# Copyright
copyright: 'Copyright © 2016 - 2019 David Young, Funky Penguin Limited'
copyright: 'Copyright © 2016 - 2020 David Young, Funky Penguin Limited'
# Plugins
plugins:
@@ -24,6 +24,8 @@ plugins:
minify_html: true
- git-revision-date-localized:
type: date
- autolinks
- htmlproofer
#theme_dir: mkdocs-material
nav:

View File

@@ -3,3 +3,5 @@ mkdocs-material>=4.4.3
pymdown-extensions>=6.0
Markdown>=3.0.1
mkdocs-minify-plugin>=0.2
mkdocs-autolinks-plugin>=0.2.0
mkdocs-htmlproofer-plugin>=0.0.3

View File

@@ -1,2 +1,3 @@
#!/bin/bash
docker run --rm --name mkdocs-material -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
docker build . -t funkypenguin/mkdocs-material
docker run --rm --name mkdocs-material -it -p 8000:8000 -v ${PWD}:/docs funkypenguin/mkdocs-material