2020-04-05 17:37:01 +03:00
|
|
|
|
<p align="center">
|
2020-04-05 18:23:07 +03:00
|
|
|
|
<a href="https://squidfunk.github.io/mkdocs-material">
|
2020-04-07 18:03:01 +03:00
|
|
|
|
<img src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.png" width="320" alt="Material for MkDocs">
|
2020-04-05 18:23:07 +03:00
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
|
<strong>
|
2020-04-05 18:39:08 +03:00
|
|
|
|
A
|
|
|
|
|
<a href="https://material.io/">Material Design</a>
|
|
|
|
|
theme for
|
|
|
|
|
<a href="https://www.mkdocs.org/">MkDocs</a>
|
2020-04-05 18:23:07 +03:00
|
|
|
|
</strong>
|
2020-04-05 17:37:01 +03:00
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
2020-04-13 10:55:37 +03:00
|
|
|
|
<a href="https://github.com/squidfunk/mkdocs-material/actions"><img
|
|
|
|
|
src="https://github.com/squidfunk/mkdocs-material/workflows/ci/badge.svg?branch=master"
|
|
|
|
|
alt="GitHub Action"
|
|
|
|
|
/></a>
|
|
|
|
|
<a href="https://pypistats.org/packages/mkdocs-material"><img
|
|
|
|
|
src="https://img.shields.io/pypi/dm/mkdocs-material.svg"
|
|
|
|
|
alt="Downloads"
|
|
|
|
|
/></a>
|
|
|
|
|
<a href="https://gitter.im/squidfunk/mkdocs-material"><img
|
|
|
|
|
src="https://badges.gitter.im/squidfunk/mkdocs-material.svg"
|
|
|
|
|
alt="Chat on Gitter"
|
|
|
|
|
/></a>
|
|
|
|
|
<a href="https://pypi.org/project/mkdocs-material"><img
|
|
|
|
|
src="https://img.shields.io/pypi/v/mkdocs-material.svg"
|
|
|
|
|
alt="Python Package Index"
|
|
|
|
|
/></a>
|
2020-06-20 13:46:29 +03:00
|
|
|
|
<a href="https://hub.docker.com/r/squidfunk/mkdocs-material/"><img
|
|
|
|
|
src="https://img.shields.io/docker/pulls/squidfunk/mkdocs-material"
|
|
|
|
|
alt="Docker Pulls"
|
|
|
|
|
/></a>
|
2020-05-14 09:58:43 +03:00
|
|
|
|
<a href="https://github.com/sponsors/squidfunk"><img
|
2020-05-14 10:02:50 +03:00
|
|
|
|
src="https://img.shields.io/static/v1?label=sponsor&message=%E2%9D%A4&logo=GitHub&color=ea4aaa"
|
2020-04-13 10:55:37 +03:00
|
|
|
|
/></a>
|
2020-04-05 17:37:01 +03:00
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
|
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.
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p align="center">
|
2020-04-05 18:39:08 +03:00
|
|
|
|
<a href="https://squidfunk.github.io/mkdocs-material/getting-started/">
|
2020-05-27 14:39:13 +03:00
|
|
|
|
<img src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/screenshot.png" width="700" />
|
2020-04-05 17:37:01 +03:00
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
|
2020-04-05 19:44:20 +03:00
|
|
|
|
<p align="center">
|
2020-04-05 19:42:18 +03:00
|
|
|
|
<em>
|
2020-04-05 19:46:27 +03:00
|
|
|
|
A demo is worth a thousand words — check it out at
|
2020-04-05 19:47:50 +03:00
|
|
|
|
<a
|
|
|
|
|
href="https://squidfunk.github.io/mkdocs-material/"
|
|
|
|
|
>squidfunk.github.io/mkdocs-material</a>.
|
2020-04-05 19:42:18 +03:00
|
|
|
|
</em>
|
|
|
|
|
</p>
|
|
|
|
|
|
2020-04-05 17:37:01 +03:00
|
|
|
|
## Features
|
|
|
|
|
|
2020-04-05 18:39:08 +03:00
|
|
|
|
* **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.
|
2020-04-05 18:23:07 +03:00
|
|
|
|
|
2020-04-05 18:39:08 +03:00
|
|
|
|
* **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.
|
2020-04-05 18:23:07 +03:00
|
|
|
|
|
2020-04-05 18:39:08 +03:00
|
|
|
|
* **Many configuration options** — change the color palette, font families,
|
2020-04-05 20:25:31 +03:00
|
|
|
|
language, icons, favicon and logo. Add a source repository link, links to your
|
2020-04-05 18:39:08 +03:00
|
|
|
|
social profiles, Google Analytics and Disqus - all with a few lines of code.
|
2020-04-05 18:23:07 +03:00
|
|
|
|
|
2020-04-05 18:39:08 +03:00
|
|
|
|
* **Truly international** — thanks to many contributors, Material for MkDocs
|
2020-04-05 19:40:10 +03:00
|
|
|
|
includes translations for more than 40 languages and offers full native RTL
|
|
|
|
|
(right-to-left) support for languages such as Arabic, Persian (Farsi) and
|
2020-04-05 18:39:08 +03:00
|
|
|
|
Hebrew.
|
2020-04-05 18:23:07 +03:00
|
|
|
|
|
2020-04-05 19:40:10 +03:00
|
|
|
|
* **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.
|
|
|
|
|
|
2020-04-05 18:39:08 +03:00
|
|
|
|
* **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.
|
2020-04-05 17:37:01 +03:00
|
|
|
|
|
2020-04-05 18:39:08 +03:00
|
|
|
|
* **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.
|
2017-01-13 00:39:18 +03:00
|
|
|
|
|
2016-02-11 14:33:28 +03:00
|
|
|
|
## Quick start
|
2016-02-10 01:48:01 +03:00
|
|
|
|
|
2020-04-05 18:39:08 +03:00
|
|
|
|
Material for MkDocs can be installed with `pip`:
|
2016-02-10 01:48:01 +03:00
|
|
|
|
|
|
|
|
|
``` sh
|
|
|
|
|
pip install mkdocs-material
|
|
|
|
|
```
|
|
|
|
|
|
2020-03-10 14:10:53 +03:00
|
|
|
|
Add the following line to `mkdocs.yml`:
|
2016-02-10 01:48:01 +03:00
|
|
|
|
|
|
|
|
|
``` yaml
|
2017-10-31 21:48:20 +03:00
|
|
|
|
theme:
|
2020-03-10 13:55:25 +03:00
|
|
|
|
name: material
|
2016-02-10 01:48:01 +03:00
|
|
|
|
```
|
|
|
|
|
|
2020-04-05 19:44:20 +03:00
|
|
|
|
For other installation methods, configuration options, and a demo, visit
|
2020-04-05 19:23:59 +03:00
|
|
|
|
[squidfunk.github.io/mkdocs-material][1]
|
2019-12-08 18:46:21 +03:00
|
|
|
|
|
2020-04-05 17:37:01 +03:00
|
|
|
|
[1]: https://squidfunk.github.io/mkdocs-material/
|
2019-12-08 18:46:21 +03:00
|
|
|
|
|
2020-04-05 19:23:59 +03:00
|
|
|
|
## Users
|
|
|
|
|
|
2020-04-05 19:32:38 +03:00
|
|
|
|
* **Companies** —
|
2020-04-18 13:15:27 +03:00
|
|
|
|
[AWS](https://awssecworkshops.com/),
|
2020-07-20 16:13:06 +03:00
|
|
|
|
[Datadog](https://datadoghq.dev/integrations-core/)
|
2020-04-18 13:15:27 +03:00
|
|
|
|
[ING](https://ing-bank.github.io/baker/),
|
|
|
|
|
[Lyft](https://lyft.github.io/amundsen/),
|
2020-04-05 19:32:38 +03:00
|
|
|
|
[Netflix](https://netflix.github.io/titus/),
|
|
|
|
|
[SAP](https://sap.github.io/ui5-tooling/),
|
2020-07-20 16:13:06 +03:00
|
|
|
|
[Salesforce](https://policy-sentry.readthedocs.io/en/latest/),
|
2020-05-16 16:55:05 +03:00
|
|
|
|
[SoundCloud](https://intervene.dev/),
|
2020-04-05 19:32:38 +03:00
|
|
|
|
[Spotify](https://spotify.github.io/mkdocs-monorepo-plugin/),
|
|
|
|
|
[Square](https://square.github.io/okhttp/),
|
2020-07-20 16:13:06 +03:00
|
|
|
|
[Uber](https://ludwig-ai.github.io/ludwig-docs/getting_started/),
|
2020-04-05 19:32:38 +03:00
|
|
|
|
[Zalando](https://opensource.zalando.com/skipper/)
|
|
|
|
|
|
|
|
|
|
* **Open Source** —
|
|
|
|
|
[AutoKeras](https://autokeras.com/),
|
2020-05-09 19:30:03 +03:00
|
|
|
|
[BFE](https://www.bfe-networks.net/),
|
2020-04-05 19:32:38 +03:00
|
|
|
|
[FastAPI](https://fastapi.tiangolo.com/),
|
2020-05-22 12:22:36 +03:00
|
|
|
|
[Kubernetes](https://kops.sigs.k8s.io/),
|
2020-04-05 19:32:38 +03:00
|
|
|
|
[OpenFaaS](https://docs.openfaas.com/),
|
|
|
|
|
[Pi-Hole](https://docs.pi-hole.net/),
|
|
|
|
|
[Pydantic](https://pydantic-docs.helpmanual.io/),
|
|
|
|
|
[Traefik](https://docs.traefik.io/),
|
|
|
|
|
[Vapor](https://docs.vapor.codes/),
|
|
|
|
|
[ZeroNet](https://zeronet.io/docs/)
|
2020-04-05 19:23:59 +03:00
|
|
|
|
|
2020-05-14 09:58:43 +03:00
|
|
|
|
## Sponsors
|
|
|
|
|
|
2020-05-22 18:23:08 +03:00
|
|
|
|
<p>
|
|
|
|
|
<a href="https://cirrus-ci.org/" target=_blank>
|
2020-05-27 14:39:13 +03:00
|
|
|
|
<img src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/cirrus-ci.svg" width="155" />
|
2020-05-22 18:23:08 +03:00
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
|
2020-05-14 10:04:06 +03:00
|
|
|
|
If you're using this project a lot, consider [sponsoring][2] it! This will give
|
|
|
|
|
me the opportunity to sustain my efforts maintaining it. Every contribution
|
|
|
|
|
counts, no matter how small!
|
2020-05-14 09:58:43 +03:00
|
|
|
|
|
|
|
|
|
[2]: https://github.com/sponsors/squidfunk
|
|
|
|
|
|
2016-02-11 14:33:28 +03:00
|
|
|
|
## License
|
|
|
|
|
|
2016-02-17 20:08:11 +03:00
|
|
|
|
**MIT License**
|
|
|
|
|
|
2020-02-08 12:33:01 +03:00
|
|
|
|
Copyright (c) 2016-2020 Martin Donath
|
2016-02-11 14:33:28 +03: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.
|