2020-02-10 14:34:58 +03:00
|
|
|
|
# Copyright (c) 2016-2020 Martin Donath <martin.donath@squidfunk.com>
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
# of this software and associated documentation files (the "Software"), to
|
|
|
|
|
# deal in the Software without restriction, including without limitation the
|
|
|
|
|
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
|
# sell copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
|
|
# The above copyright notice and this permission notice shall be included in
|
|
|
|
|
# all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
|
|
# IN THE SOFTWARE.
|
|
|
|
|
|
|
|
|
|
# Project information
|
2016-12-28 18:20:52 +03:00
|
|
|
|
site_name: Material for MkDocs
|
2020-03-29 16:28:00 +03:00
|
|
|
|
site_url: https://squidfunk.github.io/mkdocs-material/
|
2016-02-04 17:03:20 +03:00
|
|
|
|
site_author: Martin Donath
|
2020-03-26 17:23:22 +03:00
|
|
|
|
site_description: >-
|
|
|
|
|
Create a branded static site from a set of Markdown files to host the
|
|
|
|
|
documentation of your Open Source or commercial project – customizable,
|
|
|
|
|
searchable, mobile-friendly, 40+ languages
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
|
|
|
|
# Repository
|
2016-09-23 12:56:25 +03:00
|
|
|
|
repo_name: squidfunk/mkdocs-material
|
2016-02-09 14:58:55 +03:00
|
|
|
|
repo_url: https://github.com/squidfunk/mkdocs-material
|
2017-10-31 23:00:46 +03:00
|
|
|
|
edit_uri: ""
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
|
|
|
|
# Copyright
|
2020-03-10 13:55:25 +03:00
|
|
|
|
copyright: Copyright © 2016 - 2020 Martin Donath
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
2017-11-03 16:25:37 +03:00
|
|
|
|
# Configuration
|
2017-10-31 19:03:42 +03:00
|
|
|
|
theme:
|
|
|
|
|
name: null
|
|
|
|
|
custom_dir: material
|
|
|
|
|
|
2017-11-08 01:56:08 +03:00
|
|
|
|
# 404 page
|
|
|
|
|
static_templates:
|
|
|
|
|
- 404.html
|
|
|
|
|
|
2017-10-31 22:25:30 +03:00
|
|
|
|
# Don't include MkDocs' JavaScript
|
|
|
|
|
include_search_page: false
|
|
|
|
|
search_index_only: true
|
|
|
|
|
|
2017-10-31 21:06:19 +03:00
|
|
|
|
# Default values, taken from mkdocs_theme.yml
|
2017-10-31 20:51:54 +03:00
|
|
|
|
language: en
|
2020-03-05 18:44:55 +03:00
|
|
|
|
features:
|
|
|
|
|
- tabs
|
2020-03-29 15:20:26 +03:00
|
|
|
|
#- instant
|
2017-10-31 20:51:54 +03:00
|
|
|
|
palette:
|
2020-05-18 22:37:57 +03:00
|
|
|
|
scheme: default
|
2017-11-03 16:25:37 +03:00
|
|
|
|
primary: indigo
|
|
|
|
|
accent: indigo
|
2017-10-31 20:21:09 +03:00
|
|
|
|
font:
|
|
|
|
|
text: Roboto
|
|
|
|
|
code: Roboto Mono
|
2020-02-27 13:37:02 +03:00
|
|
|
|
icon:
|
2020-03-18 14:46:50 +03:00
|
|
|
|
logo: logo
|
2020-02-13 11:46:17 +03:00
|
|
|
|
favicon: assets/favicon.png
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
2019-06-15 16:16:14 +03:00
|
|
|
|
# Plugins
|
|
|
|
|
plugins:
|
2020-01-08 20:17:19 +03:00
|
|
|
|
- search
|
2019-12-22 19:42:58 +03:00
|
|
|
|
- minify:
|
|
|
|
|
minify_html: true
|
2019-06-15 16:16:14 +03:00
|
|
|
|
|
2017-11-03 16:25:37 +03:00
|
|
|
|
# Customization
|
2016-02-04 17:03:20 +03:00
|
|
|
|
extra:
|
2016-12-26 20:26:34 +03:00
|
|
|
|
social:
|
2020-03-09 23:14:47 +03:00
|
|
|
|
- icon: fontawesome/brands/github
|
2016-12-26 20:26:34 +03:00
|
|
|
|
link: https://github.com/squidfunk
|
2020-03-09 23:14:47 +03:00
|
|
|
|
- icon: fontawesome/brands/gitter
|
|
|
|
|
link: https://gitter.im/squidfunk/mkdocs-material
|
|
|
|
|
- icon: fontawesome/brands/docker
|
|
|
|
|
link: https://hub.docker.com/r/squidfunk/mkdocs-material/
|
2020-02-27 13:37:02 +03:00
|
|
|
|
- icon: fontawesome/brands/twitter
|
2016-12-26 20:26:34 +03:00
|
|
|
|
link: https://twitter.com/squidfunk
|
2020-02-27 13:37:02 +03:00
|
|
|
|
- icon: fontawesome/brands/linkedin
|
2020-03-09 23:14:47 +03:00
|
|
|
|
link: https://linkedin.com/in/squidfunk/
|
2020-02-27 13:37:02 +03:00
|
|
|
|
- icon: fontawesome/brands/instagram
|
2020-02-02 18:19:01 +03:00
|
|
|
|
link: https://instagram.com/squidfunk
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
|
|
|
|
# Extensions
|
|
|
|
|
markdown_extensions:
|
2016-09-23 12:56:25 +03:00
|
|
|
|
- markdown.extensions.admonition
|
2020-03-26 12:25:13 +03:00
|
|
|
|
- markdown.extensions.attr_list
|
2017-10-20 10:37:18 +03:00
|
|
|
|
- markdown.extensions.codehilite:
|
|
|
|
|
guess_lang: false
|
2017-02-19 18:11:01 +03:00
|
|
|
|
- markdown.extensions.def_list
|
2016-09-23 12:56:25 +03:00
|
|
|
|
- markdown.extensions.footnotes
|
|
|
|
|
- markdown.extensions.meta
|
2017-10-20 10:37:18 +03:00
|
|
|
|
- markdown.extensions.toc:
|
|
|
|
|
permalink: true
|
2016-12-15 17:55:40 +03:00
|
|
|
|
- pymdownx.arithmatex
|
2017-10-20 10:37:18 +03:00
|
|
|
|
- pymdownx.betterem:
|
|
|
|
|
smart_enable: all
|
2016-11-02 21:21:14 +03:00
|
|
|
|
- pymdownx.caret
|
|
|
|
|
- pymdownx.critic
|
2017-08-29 09:17:26 +03:00
|
|
|
|
- pymdownx.details
|
2017-01-10 00:25:15 +03:00
|
|
|
|
- pymdownx.emoji:
|
2020-04-12 20:58:22 +03:00
|
|
|
|
emoji_index: !!python/name:materialx.emoji.twemoji
|
|
|
|
|
emoji_generator: !!python/name:materialx.emoji.to_svg
|
2020-02-27 13:37:02 +03:00
|
|
|
|
# - pymdownx.highlight:
|
|
|
|
|
# linenums_style: pymdownx-inline
|
2016-11-02 21:21:14 +03:00
|
|
|
|
- pymdownx.inlinehilite
|
2018-01-12 01:17:33 +03:00
|
|
|
|
- pymdownx.keys
|
2019-01-29 13:07:18 +03:00
|
|
|
|
- pymdownx.magiclink:
|
|
|
|
|
repo_url_shorthand: true
|
|
|
|
|
user: squidfunk
|
|
|
|
|
repo: mkdocs-material
|
2016-11-02 21:21:14 +03:00
|
|
|
|
- pymdownx.mark
|
|
|
|
|
- pymdownx.smartsymbols
|
2020-03-10 01:33:46 +03:00
|
|
|
|
- pymdownx.snippets:
|
|
|
|
|
check_paths: true
|
2016-10-23 11:21:37 +03:00
|
|
|
|
- pymdownx.superfences
|
2020-02-14 10:16:04 +03:00
|
|
|
|
- pymdownx.tabbed
|
2017-10-20 10:37:18 +03:00
|
|
|
|
- pymdownx.tasklist:
|
|
|
|
|
custom_checkbox: true
|
2016-11-02 21:21:14 +03:00
|
|
|
|
- pymdownx.tilde
|
|
|
|
|
|
2016-02-04 17:03:20 +03:00
|
|
|
|
# Page tree
|
2018-08-04 20:53:13 +03:00
|
|
|
|
nav:
|
2020-03-09 21:03:48 +03:00
|
|
|
|
- Home: index.md
|
2020-05-31 16:40:41 +03:00
|
|
|
|
- Getting started:
|
|
|
|
|
- Installation: getting-started.md
|
|
|
|
|
- Creating your site: creating-your-site.md
|
|
|
|
|
- Publishing your site: publishing-your-site.md
|
|
|
|
|
- Guides:
|
|
|
|
|
- Colors and fonts: guides/colors-and-fonts.md
|
|
|
|
|
- Navigation structure: guides/navigation-structure.md
|
|
|
|
|
- Language and translations: guides/language-and-translations.md
|
|
|
|
|
- Adding footer links: guides/adding-footer-links.md
|
|
|
|
|
- Adding an announcement bar: guides/adding-an-announcement-bar.md
|
|
|
|
|
- Adding and using icons: guides/adding-and-using-icons.md
|
|
|
|
|
- Syntax highlighting: guides/syntax-highlighting.md
|
|
|
|
|
- 3rd-party integrations: guides/3rd-party-integrations.md
|
2016-09-02 23:59:14 +03:00
|
|
|
|
- Extensions:
|
|
|
|
|
- Admonition: extensions/admonition.md
|
2017-01-10 01:55:04 +03:00
|
|
|
|
- CodeHilite: extensions/codehilite.md
|
2016-09-02 23:59:14 +03:00
|
|
|
|
- Footnotes: extensions/footnotes.md
|
2017-03-11 18:15:23 +03:00
|
|
|
|
- Metadata: extensions/metadata.md
|
2016-09-02 23:59:14 +03:00
|
|
|
|
- Permalinks: extensions/permalinks.md
|
2016-12-27 14:26:25 +03:00
|
|
|
|
- PyMdown: extensions/pymdown.md
|
2019-12-18 19:13:17 +03:00
|
|
|
|
- Plugins:
|
|
|
|
|
- Search: plugins/search.md
|
2020-03-09 21:03:48 +03:00
|
|
|
|
- Minification: plugins/minification.md
|
|
|
|
|
- Revision date: plugins/revision-date.md
|
2020-03-20 18:47:47 +03:00
|
|
|
|
- Awesome pages: plugins/awesome-pages.md
|
2020-03-09 21:03:48 +03:00
|
|
|
|
- Releases:
|
2020-04-06 15:57:35 +03:00
|
|
|
|
- Upgrading to 5.x: releases/5.md
|
|
|
|
|
- Upgrading to 4.x: releases/4.md
|
2020-03-09 21:03:48 +03:00
|
|
|
|
- Changelog: releases/changelog.md
|
2020-05-31 16:40:41 +03:00
|
|
|
|
# - Data privacy: data-privacy.md
|
|
|
|
|
# - Contributing: contributing.md
|
|
|
|
|
# - License: license.md
|
2017-04-05 13:48:09 +03:00
|
|
|
|
|
|
|
|
|
# Google Analytics
|
|
|
|
|
google_analytics:
|
|
|
|
|
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
|
|
|
|
|
- auto
|