2021-02-14 16:54:27 +01:00
|
|
|
# Copyright (c) 2016-2021 Martin Donath <martin.donath@squidfunk.com>
|
2016-02-04 15:03:20 +01: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 16:20:52 +01:00
|
|
|
site_name: Material for MkDocs
|
2020-03-29 15:28:00 +02:00
|
|
|
site_url: https://squidfunk.github.io/mkdocs-material/
|
2016-02-04 15:03:20 +01:00
|
|
|
site_author: Martin Donath
|
2020-03-26 15:23:22 +01:00
|
|
|
site_description: >-
|
|
|
|
Create a branded static site from a set of Markdown files to host the
|
2021-07-24 17:58:48 +02:00
|
|
|
documentation of your Open Source or commercial project
|
2016-02-04 15:03:20 +01:00
|
|
|
|
|
|
|
# Repository
|
2016-09-23 11:56:25 +02:00
|
|
|
repo_name: squidfunk/mkdocs-material
|
2016-02-09 12:58:55 +01:00
|
|
|
repo_url: https://github.com/squidfunk/mkdocs-material
|
2017-10-31 21:00:46 +01:00
|
|
|
edit_uri: ""
|
2016-02-04 15:03:20 +01:00
|
|
|
|
|
|
|
# Copyright
|
2021-01-06 17:19:59 +01:00
|
|
|
copyright: Copyright © 2016 - 2021 Martin Donath
|
2016-02-04 15:03:20 +01:00
|
|
|
|
2017-11-03 14:25:37 +01:00
|
|
|
# Configuration
|
2017-10-31 17:03:42 +01:00
|
|
|
theme:
|
|
|
|
name: null
|
2021-06-15 11:35:14 +02:00
|
|
|
custom_dir: !ENV [THEME_DIR, "material"]
|
2017-10-31 17:03:42 +01:00
|
|
|
|
2021-02-25 17:29:11 +01:00
|
|
|
# Static files
|
2017-11-07 23:56:08 +01:00
|
|
|
static_templates:
|
|
|
|
- 404.html
|
|
|
|
|
2017-10-31 20:25:30 +01:00
|
|
|
# Don't include MkDocs' JavaScript
|
|
|
|
include_search_page: false
|
|
|
|
search_index_only: true
|
|
|
|
|
2017-10-31 19:06:19 +01:00
|
|
|
# Default values, taken from mkdocs_theme.yml
|
2021-05-30 12:40:01 +02:00
|
|
|
language: en
|
2020-03-05 16:44:55 +01:00
|
|
|
features:
|
2021-07-18 17:57:45 +02:00
|
|
|
- content.code.annotate
|
2021-10-10 12:19:14 +02:00
|
|
|
# - content.tabs.link
|
2021-07-24 17:58:48 +02:00
|
|
|
# - header.autohide
|
|
|
|
# - navigation.expand
|
2021-09-12 16:41:19 +02:00
|
|
|
- navigation.indexes
|
2021-08-07 11:10:15 +02:00
|
|
|
# - navigation.instant
|
2020-12-20 15:00:21 +01:00
|
|
|
- navigation.sections
|
2020-09-27 10:13:41 +02:00
|
|
|
- navigation.tabs
|
2021-07-24 17:58:48 +02:00
|
|
|
# - navigation.tabs.sticky
|
2021-07-01 19:12:40 +02:00
|
|
|
- navigation.top
|
2021-11-28 17:09:55 +01:00
|
|
|
- navigation.tracking
|
2021-06-15 10:55:13 +02:00
|
|
|
- search.highlight
|
|
|
|
- search.share
|
|
|
|
- search.suggest
|
2021-07-24 17:58:48 +02:00
|
|
|
# - toc.integrate
|
2017-10-31 18:51:54 +01:00
|
|
|
palette:
|
2021-03-30 09:06:05 +02:00
|
|
|
- scheme: default
|
2021-03-29 18:46:57 +02:00
|
|
|
primary: indigo
|
|
|
|
accent: indigo
|
|
|
|
toggle:
|
|
|
|
icon: material/toggle-switch-off-outline
|
|
|
|
name: Switch to dark mode
|
2021-03-30 09:06:05 +02:00
|
|
|
- scheme: slate
|
2021-03-29 18:46:57 +02:00
|
|
|
primary: red
|
|
|
|
accent: red
|
|
|
|
toggle:
|
|
|
|
icon: material/toggle-switch
|
|
|
|
name: Switch to light mode
|
2017-10-31 18:21:09 +01:00
|
|
|
font:
|
|
|
|
text: Roboto
|
|
|
|
code: Roboto Mono
|
2020-07-23 10:23:32 +02:00
|
|
|
favicon: assets/favicon.png
|
2020-02-27 11:37:02 +01:00
|
|
|
icon:
|
2020-03-18 12:46:50 +01:00
|
|
|
logo: logo
|
2016-02-04 15:03:20 +01:00
|
|
|
|
2019-06-15 15:16:14 +02:00
|
|
|
# Plugins
|
|
|
|
plugins:
|
2021-09-13 16:22:22 +02:00
|
|
|
- search
|
2020-07-22 13:59:05 +02:00
|
|
|
- redirects:
|
|
|
|
redirect_maps:
|
2021-04-04 10:34:49 +02:00
|
|
|
changelog/insiders.md: insiders/changelog.md
|
2021-10-10 22:32:32 +02:00
|
|
|
upgrading.md: upgrade.md
|
2021-10-12 13:53:47 +02:00
|
|
|
reference/variables.md: https://mkdocs-macros-plugin.readthedocs.io/
|
2021-03-21 14:04:29 +01:00
|
|
|
sponsorship.md: insiders/index.md
|
2019-12-22 17:42:58 +01:00
|
|
|
- minify:
|
|
|
|
minify_html: true
|
2019-06-15 15:16:14 +02:00
|
|
|
|
2017-11-03 14:25:37 +01:00
|
|
|
# Customization
|
2016-02-04 15:03:20 +01:00
|
|
|
extra:
|
2021-06-06 17:32:30 +02:00
|
|
|
analytics:
|
|
|
|
provider: google
|
2021-06-15 11:35:14 +02:00
|
|
|
property: !ENV GOOGLE_ANALYTICS_KEY
|
2016-12-26 18:26:34 +01:00
|
|
|
social:
|
2020-03-09 21:14:47 +01:00
|
|
|
- icon: fontawesome/brands/github
|
2016-12-26 18:26:34 +01:00
|
|
|
link: https://github.com/squidfunk
|
2020-03-09 21:14:47 +01: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 11:37:02 +01:00
|
|
|
- icon: fontawesome/brands/twitter
|
2016-12-26 18:26:34 +01:00
|
|
|
link: https://twitter.com/squidfunk
|
2020-02-27 11:37:02 +01:00
|
|
|
- icon: fontawesome/brands/linkedin
|
2020-03-09 21:14:47 +01:00
|
|
|
link: https://linkedin.com/in/squidfunk/
|
2020-02-27 11:37:02 +01:00
|
|
|
- icon: fontawesome/brands/instagram
|
2020-02-02 16:19:01 +01:00
|
|
|
link: https://instagram.com/squidfunk
|
2016-02-04 15:03:20 +01:00
|
|
|
|
|
|
|
# Extensions
|
|
|
|
markdown_extensions:
|
2020-10-04 14:08:50 +02:00
|
|
|
- admonition
|
|
|
|
- abbr
|
|
|
|
- attr_list
|
|
|
|
- def_list
|
|
|
|
- footnotes
|
|
|
|
- meta
|
2020-12-21 17:38:58 +01:00
|
|
|
- md_in_html
|
2020-10-04 14:08:50 +02:00
|
|
|
- toc:
|
2017-10-20 09:37:18 +02:00
|
|
|
permalink: true
|
2020-07-24 16:11:42 +02:00
|
|
|
- pymdownx.arithmatex:
|
|
|
|
generic: true
|
2017-10-20 09:37:18 +02:00
|
|
|
- pymdownx.betterem:
|
|
|
|
smart_enable: all
|
2016-11-02 19:21:14 +01:00
|
|
|
- pymdownx.caret
|
2017-08-29 08:17:26 +02:00
|
|
|
- pymdownx.details
|
2017-01-09 22:25:15 +01:00
|
|
|
- pymdownx.emoji:
|
2020-04-12 19:58:22 +02:00
|
|
|
emoji_index: !!python/name:materialx.emoji.twemoji
|
|
|
|
emoji_generator: !!python/name:materialx.emoji.to_svg
|
2020-07-19 22:23:26 +02:00
|
|
|
- pymdownx.highlight
|
2016-11-02 19:21:14 +01:00
|
|
|
- pymdownx.inlinehilite
|
2018-01-11 23:17:33 +01:00
|
|
|
- pymdownx.keys
|
2019-01-29 11:07:18 +01:00
|
|
|
- pymdownx.magiclink:
|
|
|
|
repo_url_shorthand: true
|
|
|
|
user: squidfunk
|
|
|
|
repo: mkdocs-material
|
2016-11-02 19:21:14 +01:00
|
|
|
- pymdownx.mark
|
|
|
|
- pymdownx.smartsymbols
|
2020-08-30 13:05:58 +02:00
|
|
|
- pymdownx.superfences:
|
|
|
|
custom_fences:
|
|
|
|
- name: mermaid
|
2021-11-13 09:04:59 +01:00
|
|
|
class: mermaid
|
2020-08-30 13:05:58 +02:00
|
|
|
format: !!python/name:pymdownx.superfences.fence_code_format
|
2021-09-30 08:48:02 +02:00
|
|
|
- pymdownx.tabbed:
|
|
|
|
alternate_style: true
|
2017-10-20 09:37:18 +02:00
|
|
|
- pymdownx.tasklist:
|
|
|
|
custom_checkbox: true
|
2016-11-02 19:21:14 +01:00
|
|
|
- pymdownx.tilde
|
|
|
|
|
2016-02-04 15:03:20 +01:00
|
|
|
# Page tree
|
2018-08-04 19:53:13 +02:00
|
|
|
nav:
|
2020-03-09 19:03:48 +01:00
|
|
|
- Home: index.md
|
2020-05-31 15:40:41 +02:00
|
|
|
- Getting started:
|
|
|
|
- Installation: getting-started.md
|
2020-07-17 13:08:27 +02:00
|
|
|
- Creating your site: creating-your-site.md
|
|
|
|
- Publishing your site: publishing-your-site.md
|
|
|
|
- Customization: customization.md
|
2020-07-22 13:37:14 +02:00
|
|
|
- License: license.md
|
2021-10-10 22:32:32 +02:00
|
|
|
- Changelog:
|
|
|
|
- changelog/index.md
|
|
|
|
- How to upgrade: upgrade.md
|
2020-07-21 16:01:22 +02:00
|
|
|
- Setup:
|
|
|
|
- Changing the colors: setup/changing-the-colors.md
|
|
|
|
- Changing the fonts: setup/changing-the-fonts.md
|
|
|
|
- Changing the language: setup/changing-the-language.md
|
|
|
|
- Changing the logo and icons: setup/changing-the-logo-and-icons.md
|
|
|
|
- Setting up navigation: setup/setting-up-navigation.md
|
|
|
|
- Setting up site search: setup/setting-up-site-search.md
|
2020-07-22 09:54:17 +02:00
|
|
|
- Setting up site analytics: setup/setting-up-site-analytics.md
|
2021-07-25 15:40:40 +02:00
|
|
|
- Setting up social cards: setup/setting-up-social-cards.md
|
2021-05-01 17:53:39 +02:00
|
|
|
- Setting up tags: setup/setting-up-tags.md
|
2020-10-25 16:14:02 +01:00
|
|
|
- Setting up versioning: setup/setting-up-versioning.md
|
2020-08-30 16:51:03 +02:00
|
|
|
- Setting up the header: setup/setting-up-the-header.md
|
2020-10-11 12:20:36 +02:00
|
|
|
- Setting up the footer: setup/setting-up-the-footer.md
|
2020-07-22 13:37:14 +02:00
|
|
|
- Adding a git repository: setup/adding-a-git-repository.md
|
2020-07-21 16:01:22 +02:00
|
|
|
- Adding a comment system: setup/adding-a-comment-system.md
|
2021-10-02 19:08:50 +02:00
|
|
|
- Extensions:
|
|
|
|
- setup/extensions/index.md
|
|
|
|
- Python Markdown: setup/extensions/python-markdown.md
|
|
|
|
- Python Markdown Extensions: setup/extensions/python-markdown-extensions.md
|
2020-07-21 13:33:44 +02:00
|
|
|
- Reference:
|
2020-09-19 14:34:40 +02:00
|
|
|
- Abbreviations: reference/abbreviations.md
|
2020-07-21 13:33:44 +02:00
|
|
|
- Admonitions: reference/admonitions.md
|
2020-07-27 12:32:24 +02:00
|
|
|
- Buttons: reference/buttons.md
|
2020-07-21 13:33:44 +02:00
|
|
|
- Code blocks: reference/code-blocks.md
|
|
|
|
- Content tabs: reference/content-tabs.md
|
2020-08-04 22:22:47 +02:00
|
|
|
- Data tables: reference/data-tables.md
|
2021-01-02 15:55:31 +01:00
|
|
|
- Diagrams: reference/diagrams.md
|
2020-07-21 13:33:44 +02:00
|
|
|
- Footnotes: reference/footnotes.md
|
2020-07-27 12:05:07 +02:00
|
|
|
- Formatting: reference/formatting.md
|
2020-07-24 09:59:16 +02:00
|
|
|
- Icons + Emojis: reference/icons-emojis.md
|
2020-07-27 16:49:39 +02:00
|
|
|
- Images: reference/images.md
|
2020-07-21 13:33:44 +02:00
|
|
|
- Lists: reference/lists.md
|
2020-07-24 16:11:42 +02:00
|
|
|
- MathJax: reference/mathjax.md
|
2020-07-22 13:37:14 +02:00
|
|
|
- Meta tags: reference/meta-tags.md
|
2021-03-21 14:04:29 +01:00
|
|
|
- Insiders:
|
2021-09-23 08:53:51 +02:00
|
|
|
- insiders/index.md
|
2021-03-21 14:04:29 +01:00
|
|
|
- Getting started:
|
|
|
|
- Installation: insiders/getting-started.md
|
|
|
|
- Changelog: insiders/changelog.md
|
2021-09-13 16:13:05 +02:00
|
|
|
- Blog:
|
|
|
|
- blog/index.md
|
|
|
|
- 2021:
|
2021-09-26 17:53:29 +02:00
|
|
|
- blog/2021/excluding-content-from-search.md
|
2021-09-13 16:13:05 +02:00
|
|
|
- blog/2021/search-better-faster-smaller.md
|