mkdocs-material/README.md

309 lines
14 KiB
Markdown
Raw Permalink Normal View History

2020-04-05 17:37:01 +03:00
<p align="center">
2023-02-26 19:36:59 +03:00
<a href="https://squidfunk.github.io/mkdocs-material/">
2022-11-12 12:51:21 +03:00
<img src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg" width="320" alt="Material for MkDocs">
</a>
2020-04-05 18:23:07 +03:00
</p>
<p align="center">
<strong>
2023-07-20 11:42:52 +03:00
A powerful documentation framework on top of
2020-04-05 18:39:08 +03:00
<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
2020-11-22 14:09:16 +03:00
src="https://github.com/squidfunk/mkdocs-material/workflows/build/badge.svg?branch=master"
alt="Build"
2020-04-13 10:55:37 +03:00
/></a>
2020-08-16 11:59:09 +03:00
<a href="https://pypistats.org/packages/mkdocs-material"><img
2023-09-21 15:53:33 +03:00
src="https://img.shields.io/pypi/dm/mkdocs-material.svg"
2020-04-13 10:55:37 +03:00
alt="Downloads"
2020-08-16 11:59:09 +03:00
/></a>
2023-09-21 15:53:33 +03:00
<a href="https://pypi.org/project/mkdocs-material"><img
src="https://img.shields.io/pypi/v/mkdocs-material.svg"
2020-04-13 10:55:37 +03:00
alt="Python Package Index"
/></a>
2023-09-21 15:53:33 +03:00
<a href="https://hub.docker.com/r/squidfunk/mkdocs-material/"><img
src="https://img.shields.io/docker/pulls/squidfunk/mkdocs-material"
2020-06-20 13:46:29 +03:00
alt="Docker Pulls"
/></a>
2020-04-05 17:37:01 +03:00
</p>
<p align="center">
2022-04-18 23:26:06 +03:00
Write your documentation in Markdown and create a professional static site for
your Open Source or commercial project in minutes searchable, customizable,
2023-05-02 12:30:22 +03:00
more than 60 languages, for all devices.
2020-04-05 17:37:01 +03:00
</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>
2023-09-21 15:53:33 +03:00
Check out the demo
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>
2021-09-04 13:15:54 +03:00
<h2></h2>
2023-03-28 18:37:20 +03:00
<p id="premium-sponsors">&nbsp;</p>
2023-03-28 18:29:37 +03:00
<p align="center"><strong>Silver sponsors</strong></p>
<p align="center">
<a href="https://fastapi.tiangolo.com/" target=_blank><img
2023-03-28 18:31:04 +03:00
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-fastapi.png" height="120"
2023-03-28 18:29:37 +03:00
/></a>
2023-11-09 18:56:54 +03:00
<a href="https://www.trendpop.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-trendpop.png" height="120"
/></a>
2023-03-28 18:29:37 +03:00
</p>
2021-09-04 13:15:54 +03:00
<p>&nbsp;</p>
2023-03-28 18:29:37 +03:00
<p align="center"><strong>Bronze sponsors</strong></p>
2021-09-04 13:15:54 +03:00
<p align="center">
<a href="https://cirrus-ci.org/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-cirrus-ci.png" height="58"
2021-11-07 20:23:01 +03:00
/></a>
<a href="https://docs.baslerweb.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-basler.png" height="58"
2021-11-07 20:23:01 +03:00
/></a>
<a href="https://kx.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-kx.png" height="58"
2021-11-07 20:23:01 +03:00
/></a>
<a href="https://www.manticoregames.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-manticore-games.png" height="58"
2021-11-07 20:23:01 +03:00
/></a>
2021-11-10 10:43:38 +03:00
<a href="https://orion-docs.prefect.io/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-prefect.png" height="58"
2021-11-10 10:43:38 +03:00
/></a>
2022-02-09 20:07:43 +03:00
<a href="https://datadoghq.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-datadog.png" height="58"
2022-02-09 20:07:43 +03:00
/></a>
2022-02-10 23:12:05 +03:00
<a href="https://www.zenoss.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-zenoss.png" height="58"
2022-02-10 23:12:05 +03:00
/></a>
2023-03-17 17:42:04 +03:00
<a href="https://docs.posit.co" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-posit.png" height="58"
/></a>
2022-04-13 10:43:57 +03:00
<a href="https://n8n.io" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-n8n.png" height="58"
2022-04-13 10:42:16 +03:00
/></a>
2022-06-07 17:38:02 +03:00
<a href="https://www.dogado.de" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-dogado.png" height="58"
2022-06-07 17:38:02 +03:00
/></a>
<a href="https://wwt.com" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-wwt.png" height="58"
/></a>
2022-06-24 13:57:46 +03:00
<a href="https://coda.io" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-coda.png" height="58"
2022-06-24 13:57:46 +03:00
/></a>
2022-06-30 18:08:35 +03:00
<a href="https://elastic.co" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-elastic.png" height="58"
2022-06-30 18:08:35 +03:00
/></a>
2022-07-13 10:51:50 +03:00
<a href="https://ipfabric.io/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-ip-fabric.png" height="58"
/></a>
2022-07-14 12:42:36 +03:00
<a href="https://www.apex.ai/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-apex-ai.png" height="58"
/></a>
2022-08-26 09:34:55 +03:00
<a href="https://jitterbit.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-jitterbit.png" height="58"
/></a>
<a href="https://sparkfun.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-sparkfun.png" height="58"
/></a>
2022-09-25 11:18:53 +03:00
<a href="https://eccenca.com/" target=_blank><img
2022-09-25 11:19:27 +03:00
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-eccenca.png" height="58"
2022-09-25 11:18:53 +03:00
/></a>
2022-09-30 10:13:17 +03:00
<a href="https://neptune.ai/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-neptune-ai.png" height="58"
/></a>
2023-08-24 09:46:30 +03:00
<!-- <a href="https://cash.app/" target=_blank><img
2022-11-08 21:00:08 +03:00
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-cashapp.png" height="58"
2023-08-24 09:46:30 +03:00
/></a> -->
2022-12-31 15:12:45 +03:00
<a href="https://rackn.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-rackn.png" height="58"
/></a>
2023-02-03 15:51:44 +03:00
<a href="https://civicactions.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-civic-actions.png" height="58"
/></a>
2023-04-03 10:06:06 +03:00
<a href="https://bitcrowd.net/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-bitcrowd.png" height="58"
/></a>
2023-04-17 12:25:41 +03:00
<a href="https://getscreen.me/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-getscreenme.png" height="58"
/></a>
<a href="https://botcity.dev/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-botcity.png" height="58"
/></a>
<a href="https://www.springernature.com/gp" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-sn-technology.png" height="58"
/></a>
2023-06-13 11:19:14 +03:00
<a href="https://kolena.io/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-kolena.png" height="58"
/></a>
<a href="https://www.evergiving.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-evergiving.png" height="58"
/></a>
2023-06-20 13:19:45 +03:00
<a href="https://koor.tech/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-koor.png" height="58"
/></a>
2023-07-07 10:37:30 +03:00
<a href="https://astral.sh/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-astral.png" height="58"
/></a>
2023-07-07 17:03:11 +03:00
<a href="https://oikolab.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-oikolab.png" height="58"
/></a>
2023-08-26 10:58:03 +03:00
<a href="https://www.buhlergroup.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-buhler.png" height="58"
/></a>
2023-09-11 10:04:04 +03:00
<a href="https://transformationflow.io/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-transformationflow.png" height="58"
/></a>
2023-10-27 14:19:02 +03:00
<a href="https://3dr.com/" target=_blank><img
src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-3dr.png" height="58"
/></a>
2021-09-04 13:15:54 +03:00
</p>
<p>&nbsp;</p>
2022-04-18 23:26:06 +03:00
## Everything you would expect
2020-04-05 17:37:01 +03:00
2022-04-18 23:28:22 +03:00
### It's just Markdown
Focus on the content of your documentation and create a professional static site
in minutes. No need to know HTML, CSS or JavaScript let Material for MkDocs do
the heavy lifting for you.
### Works on all devices
Serve your documentation with confidence Material for MkDocs automatically
adapts to perfectly fit the available screen estate, no matter the type or size
of the viewing device. Desktop. Tablet. Mobile. All great.
### Made to measure
Make it yours change the colors, fonts, language, icons, logo, and more with
a few lines of configuration. Material for MkDocs can be easily extended and
provides many options to alter appearance and behavior.
### Fast and lightweight
Don't let your users wait get incredible value with a small footprint by using
2022-04-19 11:15:31 +03:00
one of the fastest themes available with excellent performance, yielding optimal
2022-04-18 23:28:22 +03:00
search engine rankings and happy users that return.
### Built for everyone
Make accessibility a priority users can navigate your documentation with touch
devices, keyboards, and screen readers. Semantic markup ensures that your
documentation works for everyone.
### Open Source
2022-11-12 16:47:36 +03:00
Trust 20,000+ users choose a mature and actively maintained solution built
2022-04-18 23:28:22 +03:00
with state-of-the-art Open Source technologies. Keep ownership of your content
without fear of vendor lock-in. Licensed under MIT.
2020-08-12 10:12:11 +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
```
2022-05-08 18:50:57 +03:00
Add the following lines 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
```
2022-04-18 23:26:06 +03:00
For detailed installation instructions, configuration options, and a demo, visit
2021-11-07 20:23:01 +03:00
[squidfunk.github.io/mkdocs-material][Material for MkDocs]
2021-11-07 20:23:01 +03:00
[Material for MkDocs]: https://squidfunk.github.io/mkdocs-material/
2021-02-15 16:28:58 +03:00
## Trusted by ...
2022-04-18 23:30:28 +03:00
### ... industry leaders
2021-02-15 16:28:58 +03:00
2023-09-01 01:56:13 +03:00
[ArXiv](https://info.arxiv.org),
2021-08-27 14:25:49 +03:00
[Atlassian](https://atlassian.github.io/data-center-helm-charts/),
2021-02-15 16:28:58 +03:00
[AWS](https://aws.github.io/copilot-cli/),
2021-09-08 16:46:24 +03:00
[Bloomberg](https://bloomberg.github.io/selekt/),
2021-08-14 15:14:58 +03:00
[CERN](http://abpcomputing.web.cern.ch/),
2023-08-31 15:19:36 +03:00
[CloudFlare](https://cloudflare.github.io/itty-router-openapi/),
2021-02-15 16:28:58 +03:00
[Datadog](https://datadoghq.dev/integrations-core/),
2021-08-04 23:34:55 +03:00
[Google](https://google.github.io/accompanist/),
2022-04-24 15:29:47 +03:00
[Hewlett Packard](https://hewlettpackard.github.io/squest/),
2021-02-15 16:28:58 +03:00
[ING](https://ing-bank.github.io/baker/),
2021-07-31 11:22:17 +03:00
[Intel](https://open-amt-cloud-toolkit.github.io/docs/),
2022-07-14 01:06:05 +03:00
[JetBrains](https://jetbrains.github.io/projector-client/mkdocs/),
2021-02-15 16:28:58 +03:00
[LinkedIn](https://linkedin.github.io/school-of-sre/),
2021-04-24 14:10:53 +03:00
[Microsoft](https://microsoft.github.io/code-with-engineering-playbook/),
2021-08-02 10:19:15 +03:00
[Mozilla](https://mozillafoundation.github.io/engineering-handbook/),
2021-02-15 16:28:58 +03:00
[Netflix](https://netflix.github.io/titus/),
2023-09-17 12:57:42 +03:00
[Red Hat](https://ansible.readthedocs.io/projects/lint/),
2021-02-15 16:28:58 +03:00
[Salesforce](https://policy-sentry.readthedocs.io/en/latest/),
2023-10-12 11:01:22 +03:00
[SIEMENS](https://opensource.siemens.com/),
2023-08-31 15:19:36 +03:00
[Slack](https://slackhq.github.io/circuit/),
2021-02-15 16:28:58 +03:00
[Square](https://square.github.io/okhttp/),
[Zalando](https://opensource.zalando.com/skipper/)
### ... and successful Open Source projects
2021-08-27 14:23:06 +03:00
[Arduino](https://arduino.github.io/arduino-cli/),
2023-09-07 14:32:55 +03:00
[Auto-GPT](https://docs.agpt.co/),
2021-02-15 16:28:58 +03:00
[AutoKeras](https://autokeras.com/),
[BFE](https://www.bfe-networks.net/),
2021-11-26 10:38:50 +03:00
[CentOS](https://docs.infra.centos.org/),
2021-02-15 16:28:58 +03:00
[Crystal](https://crystal-lang.org/reference/),
2021-05-14 10:26:47 +03:00
[Electron](https://www.electron.build/),
2021-02-15 16:28:58 +03:00
[FastAPI](https://fastapi.tiangolo.com/),
2022-05-07 10:12:09 +03:00
[GoReleaser](https://goreleaser.com/),
2021-07-20 10:15:21 +03:00
[Knative](https://knative.dev/docs/),
2021-07-30 18:46:33 +03:00
[Kubernetes](https://kops.sigs.k8s.io/),
2021-02-15 16:28:58 +03:00
[kSQL](https://docs.ksqldb.io/),
[Nokogiri](https://nokogiri.org/),
[OpenFaaS](https://docs.openfaas.com/),
2022-05-07 10:12:09 +03:00
[Percona](https://docs.percona.com/percona-monitoring-and-management/),
2021-02-15 16:28:58 +03:00
[Pi-Hole](https://docs.pi-hole.net/),
[Pydantic](https://pydantic-docs.helpmanual.io/),
2023-09-08 16:43:27 +03:00
[PyPI](https://docs.pypi.org/),
2021-10-11 20:23:36 +03:00
[Renovate](https://docs.renovatebot.com/),
2021-02-15 16:28:58 +03:00
[Traefik](https://docs.traefik.io/),
2023-09-07 14:34:16 +03:00
[Trivy](https://aquasecurity.github.io/trivy/),
2021-02-15 16:28:58 +03:00
[Vapor](https://docs.vapor.codes/),
[ZeroNet](https://zeronet.io/docs/),
2023-05-17 12:03:30 +03:00
[WebKit](https://docs.webkit.org/),
2021-02-15 16:28:58 +03:00
[WTF](https://wtfutil.com/)
2020-04-05 19:23:59 +03:00
2016-02-11 14:33:28 +03:00
## License
2016-02-17 20:08:11 +03:00
**MIT License**
2023-01-02 13:08:58 +03:00
Copyright (c) 2016-2023 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.