1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-30 18:24:35 +01:00
mkdocs-material/README.md

210 lines
8.1 KiB
Markdown
Raw Normal View History

2020-04-05 16:37:01 +02:00
<p align="center">
2020-08-12 09:12:11 +02:00
<a href="https://squidfunk.github.io/mkdocs-material/">
2021-02-15 11:05:24 +01:00
<img src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg" width="320" alt="Material for MkDocs">
2020-04-05 17:23:07 +02:00
</a>
</p>
<p align="center">
<strong>
2020-04-05 17:39:08 +02:00
A
<a href="https://material.io/">Material Design</a>
theme for
<a href="https://www.mkdocs.org/">MkDocs</a>
2020-04-05 17:23:07 +02:00
</strong>
2020-04-05 16:37:01 +02:00
</p>
<p align="center">
2020-04-13 09:55:37 +02:00
<a href="https://github.com/squidfunk/mkdocs-material/actions"><img
2020-11-22 12:09:16 +01:00
src="https://github.com/squidfunk/mkdocs-material/workflows/build/badge.svg?branch=master"
alt="Build"
2020-04-13 09:55:37 +02:00
/></a>
2020-08-16 10:59:09 +02:00
<a href="https://pypistats.org/packages/mkdocs-material"><img
2020-04-13 09:55:37 +02:00
src="https://img.shields.io/pypi/dm/mkdocs-material.svg"
alt="Downloads"
2020-08-16 10:59:09 +02:00
/></a>
2020-04-13 09:55:37 +02:00
<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 12:46:29 +02: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-04-05 16:37:01 +02: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 17:39:08 +02:00
<a href="https://squidfunk.github.io/mkdocs-material/getting-started/">
2020-05-27 13:39:13 +02:00
<img src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/screenshot.png" width="700" />
2020-04-05 16:37:01 +02:00
</a>
</p>
2020-04-05 18:44:20 +02:00
<p align="center">
2020-04-05 18:42:18 +02:00
<em>
2021-09-04 12:15:54 +02:00
Check out the demo
2020-04-05 18:47:50 +02:00
<a
href="https://squidfunk.github.io/mkdocs-material/"
>squidfunk.github.io/mkdocs-material</a>.
2020-04-05 18:42:18 +02:00
</em>
</p>
2021-09-04 12:15:54 +02:00
<h2></h2>
<p>&nbsp;</p>
2021-09-04 12:19:22 +02:00
<p id="premium-sponsors" align="center"><strong>Special thanks</strong> to our <strong>premium sponsors</strong>:</p>
2021-09-04 12:15:54 +02:00
<p>&nbsp;</p>
<p align="center">
2021-10-14 12:07:20 +02:00
<a href="https://kx.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/kx.svg" height="40"
/></a>&nbsp;&nbsp;
2021-09-04 12:15:54 +02:00
<a href="https://hummingbot.io/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/hummingbot.png" height="40"
/></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://docs.baslerweb.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/basler.png" height="40"
/></a>&nbsp;&nbsp;
<a href="https://cirrus-ci.org/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/cirrus-ci.svg" height="40"
/></a>
</p>
<p>&nbsp;</p>
2020-04-05 16:37:01 +02:00
## Features
2021-02-15 17:31:32 +01:00
* **It's just Markdown ...** — write your technical documentation in Markdown
no need to know HTML, JavaScript or CSS. Material for MkDocs will do the heavy
lifting and create a beautiful and functional website.
2020-04-05 17:39:08 +02:00
2021-02-15 17:31:32 +01:00
* **... but there's more** — integrates natively with Python Markdown
Extensions, adding callouts, tabbed content containers, mathematical formulas,
critic markup, task lists, and [more than 10k icons and emojis][2].
* **Responsive by design** — built from the ground up to work on all kinds of
devices from mobile phones to widescreens. The underlying fluid layout will
2020-04-05 17:39:08 +02:00
always adapt perfectly to the available screen space.
2020-04-05 17:23:07 +02:00
2021-02-15 17:31:32 +01:00
* **Static, but searchable** — almost magically, your technical documentation
2020-04-05 17:39:08 +02:00
website will be searchable without any further ado. Material for MkDocs comes
2021-02-15 17:31:32 +01:00
with built-in search no server needed.
2020-04-05 17:23:07 +02:00
2021-02-15 17:31:32 +01:00
* **Many configuration options** — change the color palette, font families,
2020-04-05 19:25:31 +02:00
language, icons, favicon and logo. Add a source repository link, links to your
2021-02-15 17:31:32 +01:00
social profiles, Google Analytics and Disqus - all with a few lines of config.
2020-04-05 17:23:07 +02:00
2021-02-15 17:31:32 +01:00
* **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.
2020-04-05 17:23:07 +02:00
2020-04-05 18:40:10 +02:00
* **Accessible** — Material for MkDocs provides extensible keyboard navigation
and semantic markup including role attributes and landmarks. Furthermore, the
2021-02-15 17:31:32 +01:00
layout respects the user's default font size.
2020-04-05 16:37:01 +02:00
2020-04-05 17:39:08 +02:00
* **Modern architecture** — Material for MkDocs's underlying codebase is built
2021-02-26 16:41:00 +01:00
on top of TypeScript, RxJS, and SCSS, bringing excellent possibilities for
theme extension and customization.
2017-01-12 22:39:18 +01:00
2021-02-15 17:31:32 +01:00
_Material for MkDocs uses the [sponsorware][3] release strategy, which means
2020-08-12 09:12:11 +02:00
that new features are first exclusively released to sponsors as part of Material
2021-02-15 17:31:32 +01:00
for MkDocs Insiders. Read on to learn [how sponsorship works][4], and how you
can [become a sponsor][5]._
2020-08-12 09:12:11 +02:00
2021-02-15 17:31:32 +01:00
[2]: https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/#search
[3]: https://github.com/sponsorware/docs
[4]: https://squidfunk.github.io/mkdocs-material/insiders/#how-sponsorship-works
[5]: https://squidfunk.github.io/mkdocs-material/insiders/#how-to-become-a-sponsor
2020-08-12 09:12:11 +02:00
2016-02-11 12:33:28 +01:00
## Quick start
2016-02-09 23:48:01 +01:00
2020-04-05 17:39:08 +02:00
Material for MkDocs can be installed with `pip`:
2016-02-09 23:48:01 +01:00
``` sh
pip install mkdocs-material
```
2020-03-10 12:10:53 +01:00
Add the following line to `mkdocs.yml`:
2016-02-09 23:48:01 +01:00
``` yaml
2017-10-31 19:48:20 +01:00
theme:
2020-03-10 11:55:25 +01:00
name: material
2016-02-09 23:48:01 +01:00
```
2020-04-05 18:44:20 +02:00
For other installation methods, configuration options, and a demo, visit
2020-04-05 18:23:59 +02:00
[squidfunk.github.io/mkdocs-material][1]
2020-04-05 16:37:01 +02:00
[1]: https://squidfunk.github.io/mkdocs-material/
2021-02-15 14:28:58 +01:00
## Trusted by ...
2021-08-14 14:14:58 +02:00
### ... leading organizations
2021-02-15 14:28:58 +01:00
2021-08-27 13:25:49 +02:00
[Atlassian](https://atlassian.github.io/data-center-helm-charts/),
2021-02-15 14:28:58 +01:00
[AWS](https://aws.github.io/copilot-cli/),
[Binance](https://docs.binance.org/),
2021-09-08 15:46:24 +02:00
[Bloomberg](https://bloomberg.github.io/selekt/),
2021-08-14 14:14:58 +02:00
[CERN](http://abpcomputing.web.cern.ch/),
2021-02-15 14:28:58 +01:00
[Datadog](https://datadoghq.dev/integrations-core/),
2021-08-04 22:34:55 +02:00
[Google](https://google.github.io/accompanist/),
2021-02-15 14:28:58 +01:00
[ING](https://ing-bank.github.io/baker/),
2021-07-31 10:22:17 +02:00
[Intel](https://open-amt-cloud-toolkit.github.io/docs/),
2021-02-15 14:28:58 +01:00
[LinkedIn](https://linkedin.github.io/school-of-sre/),
2021-04-24 13:10:53 +02:00
[Microsoft](https://microsoft.github.io/code-with-engineering-playbook/),
2021-08-02 09:19:15 +02:00
[Mozilla](https://mozillafoundation.github.io/engineering-handbook/),
2021-02-15 14:28:58 +01:00
[Netflix](https://netflix.github.io/titus/),
[Salesforce](https://policy-sentry.readthedocs.io/en/latest/),
[SoundCloud](https://intervene.dev/),
[Square](https://square.github.io/okhttp/),
[Zalando](https://opensource.zalando.com/skipper/)
### ... and successful Open Source projects
2021-08-27 13:23:06 +02:00
[Arduino](https://arduino.github.io/arduino-cli/),
2021-02-15 14:28:58 +01:00
[AutoKeras](https://autokeras.com/),
[BFE](https://www.bfe-networks.net/),
[Crystal](https://crystal-lang.org/reference/),
2021-05-14 09:26:47 +02:00
[Electron](https://www.electron.build/),
2021-02-15 14:28:58 +01:00
[FastAPI](https://fastapi.tiangolo.com/),
2021-07-20 09:15:21 +02:00
[Knative](https://knative.dev/docs/),
2021-07-30 17:46:33 +02:00
[Kubernetes](https://kops.sigs.k8s.io/),
2021-02-15 14:28:58 +01:00
[kSQL](https://docs.ksqldb.io/),
[Nokogiri](https://nokogiri.org/),
[OpenFaaS](https://docs.openfaas.com/),
[Pi-Hole](https://docs.pi-hole.net/),
[Pydantic](https://pydantic-docs.helpmanual.io/),
2021-10-11 19:23:36 +02:00
[Renovate](https://docs.renovatebot.com/),
2021-02-15 14:28:58 +01:00
[Traefik](https://docs.traefik.io/),
[Vapor](https://docs.vapor.codes/),
[ZeroNet](https://zeronet.io/docs/),
[WTF](https://wtfutil.com/)
2020-04-05 18:23:59 +02:00
2016-02-11 12:33:28 +01:00
## License
2016-02-17 18:08:11 +01:00
**MIT License**
2021-02-14 16:54:27 +01:00
Copyright (c) 2016-2021 Martin Donath
2016-02-11 12:33:28 +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.