1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-09-24 03:18:21 +02:00
mkdocs-material/mkdocs.yml

172 lines
5.3 KiB
YAML
Raw Normal View History

# Copyright (c) 2016-2020 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: >-
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 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
edit_uri: ""
2016-02-04 15:03:20 +01:00
# Copyright
2020-03-10 11:55:25 +01:00
copyright: Copyright &copy; 2016 - 2020 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
custom_dir: material
# 404 page
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
# Default values, taken from mkdocs_theme.yml
language: en
2020-03-05 16:44:55 +01:00
features:
- tabs
2020-03-29 14:20:26 +02:00
#- instant
palette:
2020-05-18 21:37:57 +02:00
scheme: default
2017-11-03 14:25:37 +01:00
primary: indigo
accent: indigo
2017-10-31 18:21:09 +01:00
font:
text: Roboto
code: Roboto Mono
2020-02-27 11:37:02 +01:00
icon:
logo: logo
2020-02-13 09:46:17 +01:00
favicon: assets/favicon.png
2016-02-04 15:03:20 +01:00
# Plugins
plugins:
- search
2019-12-22 17:42:58 +01:00
- minify:
minify_html: true
2017-11-03 14:25:37 +01:00
# Customization
2016-02-04 15:03:20 +01:00
extra:
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/
2020-02-27 11:37:02 +01:00
- icon: fontawesome/brands/twitter
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:
2016-09-23 11:56:25 +02:00
- markdown.extensions.admonition
2020-03-26 10:25:13 +01:00
- markdown.extensions.attr_list
2017-02-19 16:11:01 +01:00
- markdown.extensions.def_list
2016-09-23 11:56:25 +02:00
- markdown.extensions.footnotes
- markdown.extensions.meta
2017-10-20 09:37:18 +02:00
- markdown.extensions.toc:
permalink: true
2016-12-15 15:55:40 +01:00
- pymdownx.arithmatex
2017-10-20 09:37:18 +02:00
- pymdownx.betterem:
smart_enable: all
2016-11-02 19:21:14 +01:00
- pymdownx.caret
- pymdownx.critic
2017-08-29 08:17:26 +02:00
- pymdownx.details
2017-01-09 22:25:15 +01:00
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.highlight:
use_pygments: true
2020-02-27 11:37:02 +01:00
# linenums_style: pymdownx-inline
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
- pymdownx.snippets:
check_paths: true
- pymdownx.superfences
- pymdownx.tabbed
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
- Getting started:
- Installation: getting-started.md
- Creating your site: creating-your-site.md
- Publishing your site: publishing-your-site.md
- Customization: customization.md
- Troubleshooting: troubleshooting.md
- Data privacy: data-privacy.md
- Guides:
2020-05-31 16:43:56 +02:00
- Changing colors: guides/changing-colors.md
- Changing the fonts: guides/changing-the-fonts.md
- Changing the language: guides/changing-the-language.md
- Navigation: guides/navigation.md
- Syntax highlighting: guides/syntax-highlighting.md
- Adding a git repository: guides/adding-a-git-repository.md
2020-05-31 16:43:56 +02:00
- Adding an announcement bar: guides/adding-an-announcement-bar.md
- Adding icons and emojis: guides/adding-icons-and-emojis.md
- Adding footer links: guides/adding-footer-links.md
- Adding site analytics: guides/adding-site-analytics.md
- Adding a comment system: guides/adding-a-comment-system.md
- Adding a landing page: guides/adding-a-landing-page.md
2016-09-02 22:59:14 +02:00
- Extensions:
- Admonition: extensions/admonition.md
2017-01-09 23:55:04 +01:00
- CodeHilite: extensions/codehilite.md
2016-09-02 22:59:14 +02:00
- Footnotes: extensions/footnotes.md
- Metadata: extensions/metadata.md
- PyMdown: extensions/pymdown.md
- Plugins:
- Search: plugins/search.md
2020-03-09 19:03:48 +01:00
- Minification: plugins/minification.md
- Revision date: plugins/revision-date.md
2020-03-20 16:47:47 +01:00
- Awesome pages: plugins/awesome-pages.md
2020-03-09 19:03:48 +01:00
- Releases:
2020-04-06 14:57:35 +02:00
- Upgrading to 5.x: releases/5.md
- Upgrading to 4.x: releases/4.md
2020-03-09 19:03:48 +01:00
- Changelog: releases/changelog.md
2020-07-16 23:55:37 +02:00
# - Contributing: contributing.md
# - License: license.md
# Google Analytics
google_analytics:
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"]
- auto