diff --git a/mkdocs.yml b/mkdocs.yml index 4ad3f7b..96a23a1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -17,6 +17,11 @@ docs_dir: 'manuscript' # Copyright copyright: 'Copyright © 2016 - 2019 David Young, Funky Penguin Limited' +# Plugins +plugins: + - search + - minify: + minify_html: true #theme_dir: mkdocs-material nav: @@ -156,8 +161,9 @@ theme: name: 'material' custom_dir: 'overrides' disqus: 'geeks-cookbook' - logo: 'images/site-logo.png' - favicon: 'images/favicon.ico' + logo: + icon: 'images/site-logo.png' + favicon: 'images/favicon.png' feature: tabs: false palette: @@ -209,6 +215,9 @@ markdown_extensions: emoji_generator: !!python/name:pymdownx.emoji.to_svg - pymdownx.inlinehilite - pymdownx.magiclink + repo_url_shorthand: true + user: funkypenguin + repo: geek-cookbook - pymdownx.mark - pymdownx.smartsymbols - pymdownx.superfences diff --git a/requirements.txt b/requirements.txt index c316b5e..eef5584 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ mkdocs>=1.0.4 mkdocs-material>=4.4.3 pymdown-extensions>=6.0 Markdown>=3.0.1 +mkdocs-minify-plugin>=0.2