2023-01-02 13:08:58 +03:00
|
|
|
|
# Copyright (c) 2016-2023 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: >-
|
2023-01-02 13:06:48 +03:00
|
|
|
|
Write your documentation in Markdown and create a professional static site in
|
2023-05-08 17:44:39 +03:00
|
|
|
|
minutes – searchable, customizable, in 60+ languages, for all devices
|
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
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
|
|
|
|
# Copyright
|
2023-01-02 13:08:58 +03:00
|
|
|
|
copyright: Copyright © 2016 - 2023 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:
|
2022-10-16 11:56:41 +03:00
|
|
|
|
name: material
|
2022-11-11 20:39:38 +03:00
|
|
|
|
custom_dir: material/.overrides
|
2020-03-05 18:44:55 +03:00
|
|
|
|
features:
|
2023-02-26 21:00:56 +03:00
|
|
|
|
- announce.dismiss
|
2022-12-11 20:32:22 +03:00
|
|
|
|
- content.action.edit
|
|
|
|
|
- content.action.view
|
2021-07-18 18:57:45 +03:00
|
|
|
|
- content.code.annotate
|
2022-11-12 16:32:13 +03:00
|
|
|
|
- content.code.copy
|
2021-10-10 13:19:14 +03:00
|
|
|
|
# - content.tabs.link
|
2022-05-08 18:50:57 +03:00
|
|
|
|
- content.tooltips
|
2021-07-24 18:58:48 +03:00
|
|
|
|
# - header.autohide
|
|
|
|
|
# - navigation.expand
|
2022-11-12 16:44:59 +03:00
|
|
|
|
- navigation.footer
|
2021-09-12 17:41:19 +03:00
|
|
|
|
- navigation.indexes
|
2021-08-07 12:10:15 +03:00
|
|
|
|
# - navigation.instant
|
2022-05-25 10:57:20 +03:00
|
|
|
|
# - navigation.prune
|
2020-12-20 17:00:21 +03:00
|
|
|
|
- navigation.sections
|
2020-09-27 11:13:41 +03:00
|
|
|
|
- navigation.tabs
|
2021-07-24 18:58:48 +03:00
|
|
|
|
# - navigation.tabs.sticky
|
2021-07-01 20:12:40 +03:00
|
|
|
|
- navigation.top
|
2021-11-28 19:09:55 +03:00
|
|
|
|
- navigation.tracking
|
2021-06-15 11:55:13 +03:00
|
|
|
|
- search.highlight
|
|
|
|
|
- search.share
|
|
|
|
|
- search.suggest
|
2022-02-06 13:12:14 +03:00
|
|
|
|
- toc.follow
|
2021-07-24 18:58:48 +03:00
|
|
|
|
# - toc.integrate
|
2017-10-31 20:51:54 +03:00
|
|
|
|
palette:
|
2021-03-30 10:06:05 +03:00
|
|
|
|
- scheme: default
|
2021-03-29 19:46:57 +03:00
|
|
|
|
primary: indigo
|
|
|
|
|
accent: indigo
|
|
|
|
|
toggle:
|
2022-06-11 12:09:20 +03:00
|
|
|
|
icon: material/brightness-7
|
2021-03-29 19:46:57 +03:00
|
|
|
|
name: Switch to dark mode
|
2021-03-30 10:06:05 +03:00
|
|
|
|
- scheme: slate
|
2022-05-08 18:50:57 +03:00
|
|
|
|
primary: indigo
|
|
|
|
|
accent: indigo
|
2021-03-29 19:46:57 +03:00
|
|
|
|
toggle:
|
2022-06-11 12:09:20 +03:00
|
|
|
|
icon: material/brightness-4
|
2021-03-29 19:46:57 +03:00
|
|
|
|
name: Switch to light mode
|
2017-10-31 20:21:09 +03:00
|
|
|
|
font:
|
|
|
|
|
text: Roboto
|
|
|
|
|
code: Roboto Mono
|
2020-07-23 11:23:32 +03:00
|
|
|
|
favicon: assets/favicon.png
|
2020-02-27 13:37:02 +03:00
|
|
|
|
icon:
|
2022-01-30 11:19:56 +03:00
|
|
|
|
logo: logo
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
2019-06-15 16:16:14 +03:00
|
|
|
|
# Plugins
|
|
|
|
|
plugins:
|
2022-12-07 13:11:02 +03:00
|
|
|
|
- search:
|
2022-12-31 16:57:05 +03:00
|
|
|
|
separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
|
2019-12-22 19:42:58 +03:00
|
|
|
|
- minify:
|
|
|
|
|
minify_html: true
|
2019-06-15 16:16:14 +03:00
|
|
|
|
|
2023-01-28 22:18:09 +03:00
|
|
|
|
# Hooks
|
|
|
|
|
hooks:
|
|
|
|
|
- material/.overrides/hooks/translations.py
|
|
|
|
|
|
2017-11-03 16:25:37 +03:00
|
|
|
|
# Customization
|
2016-02-04 17:03:20 +03:00
|
|
|
|
extra:
|
2023-02-19 19:34:12 +03:00
|
|
|
|
annotate:
|
|
|
|
|
json: [.s2]
|
2021-06-06 18:32:30 +03:00
|
|
|
|
analytics:
|
|
|
|
|
provider: google
|
2022-08-13 10:12:58 +03:00
|
|
|
|
property: !ENV GOOGLE_ANALYTICS_KEY
|
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/
|
2022-01-28 21:13:21 +03:00
|
|
|
|
- icon: fontawesome/brands/python
|
|
|
|
|
link: https://pypi.org/project/mkdocs-material/
|
2023-02-03 19:33:28 +03:00
|
|
|
|
- icon: fontawesome/brands/mastodon
|
|
|
|
|
link: https://fosstodon.org/@squidfunk
|
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
|
2016-02-04 17:03:20 +03:00
|
|
|
|
|
|
|
|
|
# Extensions
|
|
|
|
|
markdown_extensions:
|
2020-10-04 15:08:50 +03:00
|
|
|
|
- abbr
|
2022-01-29 18:11:11 +03:00
|
|
|
|
- admonition
|
2020-10-04 15:08:50 +03:00
|
|
|
|
- attr_list
|
|
|
|
|
- def_list
|
|
|
|
|
- footnotes
|
2020-12-21 19:38:58 +03:00
|
|
|
|
- md_in_html
|
2020-10-04 15:08:50 +03:00
|
|
|
|
- toc:
|
2017-10-20 10:37:18 +03:00
|
|
|
|
permalink: true
|
2020-07-24 17:11:42 +03:00
|
|
|
|
- pymdownx.arithmatex:
|
|
|
|
|
generic: true
|
2017-10-20 10:37:18 +03:00
|
|
|
|
- pymdownx.betterem:
|
|
|
|
|
smart_enable: all
|
2016-11-02 21:21:14 +03:00
|
|
|
|
- pymdownx.caret
|
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_generator: !!python/name:materialx.emoji.to_svg
|
2022-01-30 17:30:40 +03:00
|
|
|
|
emoji_index: !!python/name:materialx.emoji.twemoji
|
2021-12-08 23:53:52 +03:00
|
|
|
|
- pymdownx.highlight:
|
2021-12-10 12:12:07 +03:00
|
|
|
|
anchor_linenums: true
|
2023-02-19 19:34:12 +03:00
|
|
|
|
line_spans: __span
|
|
|
|
|
pygments_lang_class: true
|
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-08-30 14:05:58 +03:00
|
|
|
|
- pymdownx.superfences:
|
|
|
|
|
custom_fences:
|
|
|
|
|
- name: mermaid
|
2021-11-13 11:04:59 +03:00
|
|
|
|
class: mermaid
|
2020-08-30 14:05:58 +03:00
|
|
|
|
format: !!python/name:pymdownx.superfences.fence_code_format
|
2021-09-30 09:48:02 +03:00
|
|
|
|
- pymdownx.tabbed:
|
|
|
|
|
alternate_style: true
|
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:
|
2022-01-30 11:46:43 +03:00
|
|
|
|
- Home: index.md
|
2020-05-31 16:40:41 +03:00
|
|
|
|
- Getting started:
|
|
|
|
|
- Installation: getting-started.md
|
2020-07-17 14:08:27 +03:00
|
|
|
|
- Creating your site: creating-your-site.md
|
|
|
|
|
- Publishing your site: publishing-your-site.md
|
|
|
|
|
- Customization: customization.md
|
2022-01-16 23:04:01 +03:00
|
|
|
|
- Browser support: browser-support.md
|
2022-04-02 14:22:14 +03:00
|
|
|
|
- Philosophy: philosophy.md
|
2022-01-16 23:04:01 +03:00
|
|
|
|
- Alternatives: alternatives.md
|
2020-07-22 14:37:14 +03:00
|
|
|
|
- License: license.md
|
2021-10-10 23:32:32 +03:00
|
|
|
|
- Changelog:
|
|
|
|
|
- changelog/index.md
|
|
|
|
|
- How to upgrade: upgrade.md
|
2023-01-29 21:14:23 +03:00
|
|
|
|
- Contributing:
|
|
|
|
|
- contributing/index.md
|
|
|
|
|
- Reporting a bug: contributing/reporting-a-bug.md
|
|
|
|
|
- Reporting a docs issue: contributing/reporting-a-docs-issue.md
|
|
|
|
|
- Requesting a change: contributing/requesting-a-change.md
|
|
|
|
|
- Asking a question: https://github.com/squidfunk/mkdocs-material/discussions
|
|
|
|
|
- Guides:
|
|
|
|
|
- Creating a reproduction: guides/creating-a-reproduction.md
|
2023-06-02 14:38:55 +03:00
|
|
|
|
- FAQ:
|
2023-06-29 17:28:58 +03:00
|
|
|
|
- Sponsoring: faq/sponsoring.md
|
2020-07-21 17:01:22 +03:00
|
|
|
|
- Setup:
|
2023-04-06 16:03:41 +03:00
|
|
|
|
- setup/index.md
|
2020-07-21 17:01:22 +03:00
|
|
|
|
- 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
|
2022-02-20 21:49:23 +03:00
|
|
|
|
- Ensuring data privacy: setup/ensuring-data-privacy.md
|
2020-07-21 17:01:22 +03:00
|
|
|
|
- Setting up navigation: setup/setting-up-navigation.md
|
|
|
|
|
- Setting up site search: setup/setting-up-site-search.md
|
2020-07-22 10:54:17 +03:00
|
|
|
|
- Setting up site analytics: setup/setting-up-site-analytics.md
|
2021-07-25 16:40:40 +03:00
|
|
|
|
- Setting up social cards: setup/setting-up-social-cards.md
|
2022-09-11 20:25:40 +03:00
|
|
|
|
- Setting up a blog: setup/setting-up-a-blog.md
|
2021-05-01 18:53:39 +03:00
|
|
|
|
- Setting up tags: setup/setting-up-tags.md
|
2020-10-25 18:14:02 +03:00
|
|
|
|
- Setting up versioning: setup/setting-up-versioning.md
|
2020-08-30 17:51:03 +03:00
|
|
|
|
- Setting up the header: setup/setting-up-the-header.md
|
2020-10-11 13:20:36 +03:00
|
|
|
|
- Setting up the footer: setup/setting-up-the-footer.md
|
2020-07-22 14:37:14 +03:00
|
|
|
|
- Adding a git repository: setup/adding-a-git-repository.md
|
2020-07-21 17:01:22 +03:00
|
|
|
|
- Adding a comment system: setup/adding-a-comment-system.md
|
2023-01-21 19:03:55 +03:00
|
|
|
|
- Building an optimized site: setup/building-an-optimized-site.md
|
2022-02-27 17:08:31 +03:00
|
|
|
|
- Building for offline usage: setup/building-for-offline-usage.md
|
2021-10-02 20:08:50 +03:00
|
|
|
|
- Extensions:
|
|
|
|
|
- setup/extensions/index.md
|
|
|
|
|
- Python Markdown: setup/extensions/python-markdown.md
|
|
|
|
|
- Python Markdown Extensions: setup/extensions/python-markdown-extensions.md
|
2023-01-21 19:51:17 +03:00
|
|
|
|
- Dependencies:
|
|
|
|
|
- setup/dependencies/image-processing.md
|
2020-07-21 14:33:44 +03:00
|
|
|
|
- Reference:
|
2021-12-16 19:08:57 +03:00
|
|
|
|
- reference/index.md
|
2020-07-21 14:33:44 +03:00
|
|
|
|
- Admonitions: reference/admonitions.md
|
2022-01-11 12:19:33 +03:00
|
|
|
|
- Annotations: reference/annotations.md
|
2020-07-27 13:32:24 +03:00
|
|
|
|
- Buttons: reference/buttons.md
|
2020-07-21 14:33:44 +03:00
|
|
|
|
- Code blocks: reference/code-blocks.md
|
|
|
|
|
- Content tabs: reference/content-tabs.md
|
2020-08-04 23:22:47 +03:00
|
|
|
|
- Data tables: reference/data-tables.md
|
2021-01-02 17:55:31 +03:00
|
|
|
|
- Diagrams: reference/diagrams.md
|
2020-07-21 14:33:44 +03:00
|
|
|
|
- Footnotes: reference/footnotes.md
|
2020-07-27 13:05:07 +03:00
|
|
|
|
- Formatting: reference/formatting.md
|
2022-03-27 15:01:30 +03:00
|
|
|
|
- Grids: reference/grids.md
|
|
|
|
|
- Icons, Emojis: reference/icons-emojis.md
|
2020-07-27 17:49:39 +03:00
|
|
|
|
- Images: reference/images.md
|
2020-07-21 14:33:44 +03:00
|
|
|
|
- Lists: reference/lists.md
|
2023-05-13 14:34:57 +03:00
|
|
|
|
- Math: reference/math.md
|
2022-05-08 18:50:57 +03:00
|
|
|
|
- Tooltips: reference/tooltips.md
|
2021-03-21 16:04:29 +03:00
|
|
|
|
- Insiders:
|
2021-09-23 09:53:51 +03:00
|
|
|
|
- insiders/index.md
|
2021-03-21 16:04:29 +03:00
|
|
|
|
- Getting started:
|
|
|
|
|
- Installation: insiders/getting-started.md
|
|
|
|
|
- Changelog: insiders/changelog.md
|
2021-09-13 17:13:05 +03:00
|
|
|
|
- Blog:
|
|
|
|
|
- blog/index.md
|
2022-05-05 10:36:38 +03:00
|
|
|
|
- 2022:
|
2022-09-11 20:25:40 +03:00
|
|
|
|
- blog/posts/blog-support-just-landed.md
|
|
|
|
|
- blog/posts/chinese-search-support.md
|
2021-09-13 17:13:05 +03:00
|
|
|
|
- 2021:
|
2022-09-11 20:25:40 +03:00
|
|
|
|
- blog/posts/the-past-present-and-future.md
|
|
|
|
|
- blog/posts/excluding-content-from-search.md
|
|
|
|
|
- blog/posts/search-better-faster-smaller.md
|