1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00
mkdocs-material/mkdocs.yml

261 lines
8.3 KiB
YAML
Raw Normal View History

2023-01-02 11:08:58 +01:00
# Copyright (c) 2016-2023 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
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: >-
2023-01-02 11:06:48 +01:00
Write your documentation in Markdown and create a professional static site in
2023-05-08 16:44:39 +02:00
minutes searchable, customizable, in 60+ languages, for all devices
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
2016-02-04 15:03:20 +01:00
# Copyright
2023-01-02 11:08:58 +01:00
copyright: Copyright &copy; 2016 - 2023 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:
2022-10-16 10:56:41 +02:00
name: material
2023-09-20 13:58:03 +02:00
custom_dir: material/overrides
2020-03-05 16:44:55 +01:00
features:
- announce.dismiss
2022-12-11 18:32:22 +01:00
- content.action.edit
- content.action.view
2021-07-18 17:57:45 +02:00
- content.code.annotate
- content.code.copy
2023-07-07 11:22:30 +02:00
# - content.code.select
2021-10-10 12:19:14 +02:00
# - content.tabs.link
2022-05-08 17:50:57 +02:00
- content.tooltips
# - header.autohide
# - navigation.expand
- navigation.footer
- navigation.indexes
# - navigation.instant
2022-05-25 09:57:20 +02:00
# - navigation.prune
- navigation.sections
- navigation.tabs
# - navigation.tabs.sticky
- navigation.top
- navigation.tracking
2021-06-15 10:55:13 +02:00
- search.highlight
- search.share
- search.suggest
2022-02-06 11:12:14 +01:00
- toc.follow
# - toc.integrate
palette:
- scheme: default
primary: indigo
accent: indigo
toggle:
2022-06-11 11:09:20 +02:00
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
2022-05-08 17:50:57 +02:00
primary: indigo
accent: indigo
toggle:
2022-06-11 11:09:20 +02:00
icon: material/brightness-4
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:
2022-01-30 09:19:56 +01:00
logo: logo
2016-02-04 15:03:20 +01:00
# Plugins
plugins:
- blog
- search:
2023-09-14 19:09:18 +02:00
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
2019-12-22 17:42:58 +01:00
- minify:
minify_html: true
# Hooks
hooks:
2023-09-20 13:58:03 +02:00
- material/overrides/hooks/shortcodes.py
- material/overrides/hooks/translations.py
2017-11-03 14:25:37 +01:00
# Customization
2016-02-04 15:03:20 +01:00
extra:
2023-02-19 17:34:12 +01:00
annotate:
json: [.s2]
2021-06-06 17:32:30 +02:00
analytics:
provider: google
2022-08-13 09:12:58 +02:00
property: !ENV GOOGLE_ANALYTICS_KEY
social:
2020-03-09 21:14:47 +01:00
- icon: fontawesome/brands/github
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/
2022-01-28 19:13:21 +01:00
- icon: fontawesome/brands/python
link: https://pypi.org/project/mkdocs-material/
- icon: fontawesome/brands/mastodon
link: https://fosstodon.org/@squidfunk
2020-02-27 11:37:02 +01:00
- icon: fontawesome/brands/twitter
link: https://twitter.com/squidfunk
2016-02-04 15:03:20 +01:00
# Extensions
markdown_extensions:
- abbr
2022-01-29 16:11:11 +01:00
- admonition
- attr_list
- def_list
- footnotes
2020-12-21 17:38:58 +01:00
- md_in_html
- 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:
emoji_generator: !!python/name:materialx.emoji.to_svg
2022-01-30 15:30:40 +01:00
emoji_index: !!python/name:materialx.emoji.twemoji
2021-12-08 21:53:52 +01:00
- pymdownx.highlight:
2021-12-10 10:12:07 +01:00
anchor_linenums: true
2023-02-19 17:34:12 +01:00
line_spans: __span
pygments_lang_class: true
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:
2023-09-14 19:09:18 +02:00
normalize_issue_symbols: true
2019-01-29 11:07:18 +01:00
repo_url_shorthand: true
user: squidfunk
repo: mkdocs-material
2016-11-02 19:21:14 +01:00
- pymdownx.mark
- pymdownx.smartsymbols
2023-09-14 19:09:18 +02:00
- pymdownx.snippets:
auto_append:
- includes/mkdocs.md
2020-08-30 13:05:58 +02:00
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
2020-08-30 13:05:58 +02:00
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
2023-09-14 19:09:18 +02:00
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
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:
- Home: index.md
- Getting started:
- Installation: getting-started.md
- Creating your site: creating-your-site.md
- Publishing your site: publishing-your-site.md
- Customization: customization.md
2023-09-14 19:09:18 +02:00
- Conventions: conventions.md
- Browser support: browser-support.md
2023-09-10 08:19:21 +02:00
- Enterprise feedback: enterprise-support.md
2022-04-02 13:22:14 +02:00
- Philosophy: philosophy.md
- Alternatives: alternatives.md
- License: license.md
2021-10-10 22:32:32 +02:00
- Changelog:
- changelog/index.md
- How to upgrade: upgrade.md
- 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 13:38:55 +02:00
- FAQ:
2023-06-29 16:28:58 +02:00
- Sponsoring: faq/sponsoring.md
2020-07-21 16:01:22 +02:00
- Setup:
2023-04-06 15:03:41 +02:00
- setup/index.md
2020-07-21 16:01:22 +02: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 19:49:23 +01:00
- Ensuring data privacy: setup/ensuring-data-privacy.md
2020-07-21 16:01:22 +02:00
- 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
2022-09-11 19:25:40 +02:00
- Setting up a blog: setup/setting-up-a-blog.md
2021-05-01 17:53:39 +02:00
- Setting up tags: setup/setting-up-tags.md
- 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
- 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
- Building an optimized site: setup/building-an-optimized-site.md
2022-02-27 15:08:31 +01:00
- Building for offline usage: setup/building-for-offline-usage.md
- Extensions:
- setup/extensions/index.md
- Python Markdown: setup/extensions/python-markdown.md
- Python Markdown Extensions: setup/extensions/python-markdown-extensions.md
2023-09-14 19:09:18 +02:00
- Plugins:
- plugins/index.md
- Blog: plugins/blog.md
- Group: plugins/group.md
- Info: plugins/info.md
- Meta: plugins/meta.md
- Offline: plugins/offline.md
- Optimize: plugins/optimize.md
- Privacy: plugins/privacy.md
- Projects: plugins/projects.md
- Search: plugins/search.md
- Social: plugins/social.md
- Tags: plugins/tags.md
- Typeset: plugins/typeset.md
- Requirements:
- Image processing: plugins/requirements/image-processing.md
- Caching: plugins/requirements/caching.md
- Reference:
2021-12-16 17:08:57 +01:00
- reference/index.md
- Admonitions: reference/admonitions.md
2022-01-11 10:19:33 +01:00
- Annotations: reference/annotations.md
2020-07-27 12:32:24 +02:00
- Buttons: reference/buttons.md
- 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
- Diagrams: reference/diagrams.md
- Footnotes: reference/footnotes.md
2020-07-27 12:05:07 +02:00
- Formatting: reference/formatting.md
2022-03-27 14:01:30 +02:00
- Grids: reference/grids.md
- Icons, Emojis: reference/icons-emojis.md
- Images: reference/images.md
- Lists: reference/lists.md
2023-05-13 13:34:57 +02:00
- Math: reference/math.md
2022-05-08 17:50:57 +02:00
- Tooltips: reference/tooltips.md
2021-03-21 14:04:29 +01:00
- Insiders:
- 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