Go to file
squidfunk ae867d484b Squashed commit of the following:
commit 9b5b80380fc81f5a68828e22754f0e7d53b0dea0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 16:25:06 2021 +0100

    Refactored more stuff

commit 5a2108254f1222db7de08690e13c24e972ea19c0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 13:48:16 2021 +0100

    Refactored more stuff

commit b3a112f4bddefebcf9dbd1d0ffe240d86fc9aa08
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 12:02:42 2021 +0100

    Refactored more stuff

commit bff323b6b81571021c0ac9be6f637de7728447a5
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Feb 6 18:14:52 2021 +0100

    Refactored search result list

commit 27b7e7e2da3b725797ad769e4411260ffd35b9f8
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Feb 6 17:12:36 2021 +0100

    Refactored more components

commit 3747e5ba6d084ed513a2659f48f161449b760076
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 18:56:26 2021 +0100

    Implemented new architecture for several components

commit ea2851ab0f27113b080c2539a94a88dc0332be84
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 14:53:42 2021 +0100

    Removed unnecessary height declaration for sidebars

commit 3c3f83ab4ef392dbabf1a11afba2556e529b1674
Merge: 91d239d8 13024179
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 13:04:49 2021 +0100

    Merge branch 'master' into refactor/observable-architecture

commit 91d239d86649b9571b376011669bc73a7865b186
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Jan 9 13:11:04 2021 +0100

    Started refactoring observable architecture
2021-02-07 16:28:16 +01:00
.github Removed Python Markdown version range limitation 2020-12-22 14:20:20 +01:00
docs Documentation 2021-01-24 12:34:03 +01:00
material Squashed commit of the following: 2021-02-07 16:28:16 +01:00
src Squashed commit of the following: 2021-02-07 16:28:16 +01:00
typings Squashed commit of the following: 2021-02-07 16:28:16 +01:00
.browserslistrc Fixed incorrect calculation of anchors, huge performance gain 2020-02-25 13:59:57 +01:00
.dockerignore Added version to plugin dependency in Dockerfile 2020-02-14 08:37:17 +01:00
.editorconfig Updated copyright year (#1449) 2020-02-08 10:33:01 +01:00
.gitattributes Fixed line feeds on Windows (#1614) 2020-04-17 10:02:43 +02:00
.gitignore Updated copyright year (#1449) 2020-02-08 10:33:01 +01:00
.stylelintignore Added main template override for official docs 2020-03-26 11:19:20 +01:00
.stylelintrc Fixed stylelint errors (#1913) 2020-09-07 19:04:26 +02:00
CHANGELOG Fixed search not being shown when using header autohiding 2021-01-24 11:51:10 +01:00
CODE_OF_CONDUCT.md Updated documentation 2020-03-10 11:55:25 +01:00
CONTRIBUTING.md Updated contribution guidelines 2020-10-18 11:38:45 +02:00
Dockerfile Fixed Docker image for default themes 2021-01-05 19:29:48 +01:00
LICENSE Updated copyright year (#1449) 2020-02-08 10:33:01 +01:00
MANIFEST.in Finished syntax highlighter docs and moved overrides to CSS 2020-07-19 22:23:26 +02:00
mkdocs.yml Removed Snippets extension for demonstration purposes 2021-01-12 17:14:41 +01:00
package-lock.json Bump @fortawesome/fontawesome-free from 5.15.1 to 5.15.2 2021-01-18 06:01:52 +00:00
package.json Squashed commit of the following: 2021-02-07 16:28:16 +01:00
README.md Updated README 2021-01-09 13:16:25 +01:00
requirements.txt Removed Python Markdown version range limitation 2020-12-22 14:20:20 +01:00
setup.py Formatting (#2078) 2020-11-30 16:25:30 +01:00
tsconfig.json Squashed commit of the following: 2021-02-07 16:28:16 +01:00
tslint.json Updated dependencies 2020-06-08 08:54:27 +02:00
webpack.config.ts Squashed commit of the following: 2021-02-07 16:28:16 +01:00

Material for MkDocs

A Material Design theme for MkDocs

Build Downloads Chat on Gitter Python Package Index Docker Pulls

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. Set up in 5 minutes.

A demo is worth a thousand words — check it out at squidfunk.github.io/mkdocs-material.

Features

  • It's just Markdown — write your technical documentation in plain Markdown no need to know HTML, JavaScript, or CSS. Material for MkDocs will do the heavy lifting and convert your writing to a beautiful and functional website.

  • Responsive by design — built from the ground up to work on all sorts of devices from mobile phones to widescreens. The underlying fluid layout will always adapt perfectly to the available screen space.

  • Static, yet searchable — almost magically, your technical documentation website will be searchable without any further ado. Material for MkDocs comes with built-in search no server needed that will instantly answer your users' queries.

  • Many configuration options — change the color palette, font families, language, icons, favicon and logo. Add a source repository link, links to your social profiles, Google Analytics and Disqus - all with a few lines of code.

  • Truly international — thanks to many contributors, Material for MkDocs includes translations for more than 40 languages and offers full native RTL (right-to-left) support for languages such as Arabic, Persian (Farsi) and Hebrew.

  • Accessible — Material for MkDocs provides extensible keyboard navigation and semantic markup including role attributes and landmarks. Furthermore, the layout is entirely based on rem values, respecting the user's default font size.

  • Beyond GitHub Markdown — integrates natively with Python Markdown Extensions, offering additional elements like callouts, tabbed content containers, mathematical formulas, critic markup, task lists, and emojis.

  • Modern architecture — Material for MkDocs's underlying codebase is built with TypeScript, RxJS, and SCSS, and is compiled with Webpack, bringing excellent possibilities for theme extension and customization.

Material for MkDocs uses the sponsorware release strategy, which means that new features are first exclusively released to sponsors as part of Material for MkDocs Insiders. Read on to learn how sponsorship works, and how you can become a sponsor.

Quick start

Material for MkDocs can be installed with pip:

pip install mkdocs-material

Add the following line to mkdocs.yml:

theme:
  name: material

For other installation methods, configuration options, and a demo, visit squidfunk.github.io/mkdocs-material

Premium Sponsors

Users

License

MIT License

Copyright (c) 2016-2020 Martin Donath

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.