2016-08-07 18:01:56 +02:00
|
|
|
# Material <small>for MkDocs</small>
|
2016-02-09 21:59:37 +01:00
|
|
|
|
2018-01-18 22:32:40 +01:00
|
|
|
## Create beautiful project documentation
|
2016-02-09 21:59:37 +01:00
|
|
|
|
2017-01-02 23:11:32 +01:00
|
|
|
Material is a theme for [MkDocs][1], an excellent static site generator geared
|
2017-01-12 00:49:28 +01:00
|
|
|
towards project documentation. It is built using Google's [Material Design][2]
|
2017-01-12 20:15:30 +01:00
|
|
|
guidelines.
|
2016-02-09 21:59:37 +01:00
|
|
|
|
2017-11-18 18:00:39 +01:00
|
|
|
[![Material for MkDocs](assets/images/material.png)](assets/images/material.png)
|
2017-01-12 22:39:18 +01:00
|
|
|
|
2018-06-10 15:30:26 +02:00
|
|
|
[1]: https://www.mkdocs.org
|
2019-08-23 17:33:06 +02:00
|
|
|
[2]: https://material.io/design/
|
2017-01-02 23:11:32 +01:00
|
|
|
|
2016-02-24 17:31:01 +01:00
|
|
|
## Quick start
|
|
|
|
|
2017-01-02 23:11:32 +01:00
|
|
|
Install the latest version of Material with `pip`:
|
2016-02-24 17:31:01 +01:00
|
|
|
|
|
|
|
``` sh
|
|
|
|
pip install mkdocs-material
|
|
|
|
```
|
|
|
|
|
2017-09-06 10:18:57 +02:00
|
|
|
Append the following line to your project's `mkdocs.yml`:
|
2016-02-24 17:31:01 +01:00
|
|
|
|
|
|
|
``` yaml
|
2017-10-31 19:42:43 +01:00
|
|
|
theme:
|
|
|
|
name: 'material'
|
2016-02-24 17:31:01 +01:00
|
|
|
```
|
|
|
|
|
2017-09-06 10:18:57 +02:00
|
|
|
## What to expect
|
|
|
|
|
|
|
|
* Responsive design and fluid layout for all kinds of screens and devices,
|
2019-08-27 17:41:51 +02:00
|
|
|
designed to serve your project documentation in a user-friendly way in 38
|
2018-01-13 17:19:07 +01:00
|
|
|
languages with optimal readability.
|
2017-09-06 10:18:57 +02:00
|
|
|
|
|
|
|
* Easily customizable primary and accent color, fonts, favicon and logo;
|
|
|
|
straight forward localization through theme extension; integrated with Google
|
|
|
|
Analytics, Disqus and GitHub.
|
|
|
|
|
|
|
|
* Well-designed search interface accessible through hotkeys (<kbd>F</kbd> or
|
|
|
|
<kbd>S</kbd>), intelligent grouping of search results, search term
|
|
|
|
highlighting and lazy loading.
|
|
|
|
|
2017-01-12 00:49:28 +01:00
|
|
|
For detailed instructions see the [getting started guide][3].
|
|
|
|
|
|
|
|
[3]: getting-started.md
|