2016-08-07 19:01:56 +03:00
|
|
|
# Material <small>for MkDocs</small>
|
2016-02-09 23:59:37 +03:00
|
|
|
|
2017-01-12 22:15:30 +03:00
|
|
|
## Beautiful project documentation
|
2016-02-09 23:59:37 +03:00
|
|
|
|
2017-01-03 01:11:32 +03:00
|
|
|
Material is a theme for [MkDocs][1], an excellent static site generator geared
|
2017-01-12 02:49:28 +03:00
|
|
|
towards project documentation. It is built using Google's [Material Design][2]
|
2017-01-12 22:15:30 +03:00
|
|
|
guidelines.
|
2016-02-09 23:59:37 +03:00
|
|
|
|
2017-01-13 00:39:18 +03:00
|
|
|
[![Material for MkDocs](images/material.png)](images/material.png)
|
|
|
|
|
2017-01-03 01:11:32 +03:00
|
|
|
[1]: http://www.mkdocs.org
|
|
|
|
[2]: https://www.google.com/design/spec/material-design
|
|
|
|
|
2016-02-24 19:31:01 +03:00
|
|
|
## Quick start
|
|
|
|
|
2017-01-03 01:11:32 +03:00
|
|
|
Install the latest version of Material with `pip`:
|
2016-02-24 19:31:01 +03:00
|
|
|
|
|
|
|
``` sh
|
|
|
|
pip install mkdocs-material
|
|
|
|
```
|
|
|
|
|
2017-09-06 11:18:57 +03:00
|
|
|
Append the following line to your project's `mkdocs.yml`:
|
2016-02-24 19:31:01 +03:00
|
|
|
|
|
|
|
``` yaml
|
|
|
|
theme: 'material'
|
|
|
|
```
|
|
|
|
|
2017-09-06 11:18:57 +03:00
|
|
|
## What to expect
|
|
|
|
|
|
|
|
* Responsive design and fluid layout for all kinds of screens and devices,
|
|
|
|
designed to serve your project documentation in a user-friendly way with
|
|
|
|
optimal readability.
|
|
|
|
|
|
|
|
* 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 02:49:28 +03:00
|
|
|
For detailed instructions see the [getting started guide][3].
|
|
|
|
|
|
|
|
[3]: getting-started.md
|