mkdocs-material/docs/insiders/index.md

380 lines
16 KiB
Markdown
Raw Normal View History

2020-07-22 17:05:38 +03:00
---
template: overrides/main.html
2021-03-21 19:14:32 +03:00
title: Insiders
2020-07-22 17:05:38 +03:00
---
2021-03-21 19:14:32 +03:00
# Insiders
2020-07-22 17:05:38 +03:00
2021-11-07 20:23:01 +03:00
Material for MkDocs follows the __sponsorware__ release strategy, which means
that new features are first exclusively released to sponsors as part of
[Insiders]. Read on to learn [what sponsorships achieve],
[how to become a sponsor] to get access to Insiders, and
[what's in for you][available features]!
2020-12-21 19:38:58 +03:00
2021-10-05 00:36:31 +03:00
<figure class="mdx-video" markdown>
<div class="mdx-video__inner">
2021-10-02 17:15:32 +03:00
<iframe src="https://streamable.com/e/ihhxw0" allowfullscreen></iframe>
2020-12-21 19:38:58 +03:00
</div>
2021-10-05 00:36:31 +03:00
<figcaption markdown>
2021-11-13 14:13:45 +03:00
This documentation is built with Insiders
2021-11-07 20:23:01 +03:00
[squidfunk.github.io/mkdocs-material][Material for MkDocs]
2020-12-21 19:38:58 +03:00
</figcaption>
</figure>
2021-11-07 20:23:01 +03:00
[Insiders]: #what-is-insiders
[what sponsorships achieve]: #what-sponsorships-achieve
[how to become a sponsor]: #how-to-become-a-sponsor
[available features]: #available-features
[Material for MkDocs]: https://squidfunk.github.io/mkdocs-material/
2020-07-22 17:05:38 +03:00
2021-11-07 20:23:01 +03:00
## What is Insiders?
2020-07-22 18:56:47 +03:00
2021-11-07 20:23:01 +03:00
Material for MkDocs Insiders is a private fork of Material for MkDocs, hosted as
a private GitHub repository. Almost[^1] all new features are developed as part of
this fork, which means that they are immediately available to all eligible
sponsors, as they are made collaborators of this repository.
2021-02-04 23:14:38 +03:00
[^1]:
2021-11-07 20:23:01 +03:00
In general, every new feature is first exclusively released to sponsors, but
sometimes upstream dependencies like [Python Markdown Extensions] enhance
existing features that must be supported by Material for MkDocs.
Every feature is tied to a [funding goal] in monthly subscriptions. When a
funding goal is hit, the features that are tied to it are merged back into
Material for MkDocs and released for general availability, making them available
to all users. Bugfixes are always released in tandem.
Sponsorships start as low as [__$10 a month__][how to become a sponsor].[^2]
[^2]:
Note that $10 a month is the minimum amount to become eligible for
Insiders. While GitHub Sponsors also allows to sponsor lower amounts or
one-time amounts, those can't be granted access to Insiders due to
technical reasons.
[Python Markdown Extensions]: https://facelessuser.github.io/pymdown-extensions/
2021-11-07 20:28:38 +03:00
[funding goal]: #funding
2021-11-07 20:23:01 +03:00
## What sponsorships achieve
Sponsorships make this project sustainable, as they buy the maintainers of this
project time a very scarce resource which is spent on the development of new
features, bug fixing, stability improvement, issue triage and general support.
The biggest bottleneck in Open Source is time.[^3]
[^3]:
2021-11-07 20:59:18 +03:00
Making an Open Source project sustainable is exceptionally hard: maintainers
burn out, projects are abandoned. That's not great and very unpredictable.
The sponsorware model ensures that if you decide to use Material for MkDocs,
2021-02-04 23:14:38 +03:00
you can be sure that bugs are fixed quickly and new features are added
regularly.
2021-11-07 20:23:01 +03:00
If you're unsure if you should sponsor this project, check out the list of
[completed funding goals] to learn whether you're already using features that
were developed with the help of sponsorships. You're most likely using at least
a handful of them, [thanks to our awesome sponsors]!
2020-12-21 19:38:58 +03:00
2021-11-07 20:23:01 +03:00
[completed funding goals]: #goals-completed
[thanks to our awesome sponsors]: #how-to-become-a-sponsor
2020-07-22 18:56:47 +03:00
2020-12-21 19:38:58 +03:00
## How to become a sponsor
2021-11-07 20:23:01 +03:00
Thanks for your interest in sponsoring! In order to become an eligible sponsor
with your GitHub account, visit [squidfunk's sponsor profile], and complete
a sponsorship of __$10 a month or more__. You can use your individual or
organization GitHub account for sponsoring.
2020-12-21 19:38:58 +03:00
__Important__: If you're sponsoring @squidfunk through a GitHub organization,
please send a short email to sponsors@squidfunk.com with the name of your
2021-11-07 20:23:01 +03:00
organization and the GitHub account of the individual that should be added as a
collaborator.[^4]
2021-05-30 12:45:36 +03:00
2021-11-07 20:23:01 +03:00
You can cancel your sponsorship anytime.[^5]
2021-05-30 12:45:36 +03:00
2021-11-07 20:23:01 +03:00
[^4]:
2020-12-21 19:38:58 +03:00
It's currently not possible to grant access to each member of an
organization, as GitHub only allows for adding users. Thus, after
sponsoring, please send an email to sponsors@squidfunk.com, stating which
account should become a collaborator of the Insiders repository. We're
working on a solution which will make access to organizations much simpler.
To ensure that access is not tied to a particular individual GitHub account,
create a bot account (i.e. a GitHub account that is not tied to a specific
individual), and use this account for the sponsoring. After being added to
the list of collaborators, the bot account can create a private fork of the
private Insiders GitHub repository, and grant access to all members of the
organizations.
2021-11-07 20:23:01 +03:00
[^5]:
2020-12-22 13:38:28 +03:00
If you cancel your sponsorship, GitHub schedules a cancellation request
2021-05-30 12:45:36 +03:00
which will become effective at the end of the billing cycle. This means
that even though you cancel your sponsorship, you will keep your access to
Insiders as long as your cancellation isn't effective. All charges are
processed by GitHub through Stripe. As we don't receive any information
regarding your payment, and GitHub doesn't offer refunds, sponsorships are
non-refundable.
2020-12-21 19:38:58 +03:00
2021-11-07 20:23:01 +03:00
[:octicons-heart-fill-24:{ .mdx-heart } &nbsp; Join our <span class="mdx-sponsorship-count" data-mdx-component="sponsorship-count"></span> awesome sponsors][squidfunk's sponsor profile]{ .md-button .md-button--primary .mdx-sponsorship-button }
<hr />
2021-10-05 00:36:31 +03:00
<div class="mdx-premium" markdown>
**Special thanks** to our **premium sponsors**:
[![Cirrus CI]](https://cirrus-ci.org/){ target=_blank title="Cirrus CI" }
2021-11-07 20:23:01 +03:00
[![Basler]](https://docs.baslerweb.com/){ target=_blank title="Basler" }
[![Hummingbot]](https://hummingbot.io/){ target=_blank title="Hummingbot" }
[![KX]](https://kx.com/){ target=_blank title="KX Systems" }
[![Manticore Games]](https://www.manticoregames.com/){ target=_blank title="Manticore Games" }
[![Account technologies]](https://www.accounttechnologies.com/){ target=_blank title="Account technologies" }
2021-11-10 10:43:38 +03:00
[![Prefect]](https://orion-docs.prefect.io/){ target=_blank title="Prefect" }
</div>
2021-11-07 20:23:01 +03:00
[Cirrus CI]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-cirrus-ci.png
[Basler]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-basler.png
[Hummingbot]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-hummingbot.png
[KX]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-kx.png
[Manticore Games]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-manticore-games.png
[Account technologies]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-account-technologies.png
2021-11-10 10:43:38 +03:00
[Prefect]: https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/sponsors/sponsor-prefect.png
<hr />
<div class="mdx-sponsorship" data-mdx-component="sponsorship" hidden>
<div class="mdx-sponsorship__list"></div>
<small>
If you sponsor publicly, you're automatically added here with a link to
your profile and avatar to show your support for Material for MkDocs.
Alternatively, if you wish to keep your sponsorship private, you'll be a
silent +1. You can select visibility during checkout and change it
afterwards.
</small>
2020-11-26 13:54:13 +03:00
</div>
2020-12-21 19:38:58 +03:00
2021-11-07 20:23:01 +03:00
[squidfunk's sponsor profile]: https://github.com/sponsors/squidfunk
2020-07-22 18:56:47 +03:00
2021-11-07 20:23:01 +03:00
## Available features
2020-07-26 15:46:09 +03:00
2021-11-07 20:23:01 +03:00
The following features are solely available via Material for MkDocs Insiders:
2020-07-26 15:46:09 +03:00
2021-10-05 00:36:31 +03:00
<div class="mdx-columns" markdown>
2020-07-26 15:46:09 +03:00
2021-12-02 17:22:23 +03:00
- [x] [Dismissable announcement bar] :material-new-box:
- [x] [Was this page helpful?]
- [x] [Brand new search plugin]
2021-11-07 20:23:01 +03:00
- [x] [Rich search previews]
- [x] [Tokenizer with lookahead]
- [x] [Advanced search highlighting]
- [x] [Excluding content from search]
- [x] [Social cards]
- [x] [Cookie consent]
- [x] [Linking content tabs]
- [x] [Boosting pages in search]
2021-12-02 17:22:23 +03:00
- [x] [Tags with search integration]
2021-11-07 20:23:01 +03:00
- [x] [Stay on page when switching versions]
- [x] [Custom admonition icons]
- [x] [Mermaid.js integration]
2020-07-22 18:56:47 +03:00
2020-12-21 19:38:58 +03:00
</div>
2020-07-22 18:56:47 +03:00
## Funding <span class="mdx-sponsorship-total" data-mdx-component="sponsorship-total"></span>
2020-07-26 15:46:09 +03:00
2020-12-21 19:38:58 +03:00
### Goals
2020-07-26 15:46:09 +03:00
2021-11-07 20:23:01 +03:00
The following section lists all funding goals. Each goal contains a list of
features prefixed with a checkmark symbol, denoting whether a feature is
:octicons-check-circle-fill-24:{ style="color: #00e676" } already available or
:octicons-check-circle-fill-24:{ style="color: var(--md-default-fg-color--lightest)" } planned, but not yet implemented. When the funding goal is hit, the features
are released for general availability.
2021-01-24 14:34:03 +03:00
#### $ 5,000 Aji Panca
2021-11-07 20:23:01 +03:00
- [x] [Mermaid.js integration]
- [x] [Stay on page when switching versions]
2021-12-02 17:22:23 +03:00
- [x] [Tags with search integration]
2021-11-07 20:23:01 +03:00
[Mermaid.js integration]: ../reference/diagrams.md
[Stay on page when switching versions]: ../setup/setting-up-versioning.md#stay-on-page
2021-12-02 17:22:23 +03:00
[Tags with search integration]: ../setup/setting-up-tags.md
2021-02-27 12:44:17 +03:00
#### $ 6,000 Trinidad Scorpion
2020-12-21 19:38:58 +03:00
2021-11-07 20:23:01 +03:00
- [x] [Boosting pages in search]
- [x] [Custom admonition icons]
- [x] [Linking content tabs]
2021-05-12 10:29:40 +03:00
2021-11-07 20:23:01 +03:00
[Boosting pages in search]: ../setup/setting-up-site-search.md#search-boosting
[Custom admonition icons]: ../reference/admonitions.md#admonition-icons
[Linking content tabs]: ../reference/content-tabs.md#linked-content-tabs
2021-02-27 12:44:17 +03:00
#### $ 7,000 Royal Gold
2021-11-07 20:23:01 +03:00
- [x] [Cookie consent]
- [x] [Was this page helpful?]
2021-12-02 17:22:23 +03:00
- [x] [Dismissable announcement bar]
2021-07-10 16:21:22 +03:00
2021-11-07 20:23:01 +03:00
[Cookie consent]: ../setup/setting-up-site-analytics.md#cookie-consent
[Was this page helpful?]: ../setup/setting-up-site-analytics.md#was-this-page-helpful
2021-12-02 17:22:23 +03:00
[Dismissable announcement bar]: ../setup/setting-up-the-header.md#mark-as-read
2021-02-27 12:44:17 +03:00
2021-03-29 10:13:21 +03:00
#### $ 8,000 Scotch Bonnet
2021-11-07 20:23:01 +03:00
- [x] [Social cards]
2021-07-10 16:21:22 +03:00
- [ ] Stay on page when switching languages
2021-11-24 12:41:38 +03:00
- [ ] Sidebars automatically scroll to active item
2021-07-25 16:40:40 +03:00
2021-11-07 20:23:01 +03:00
[Social cards]: ../setup/setting-up-social-cards.md
2021-09-13 19:14:28 +03:00
#### $ 10,000 Carolina Reaper
2021-02-27 12:44:17 +03:00
2021-11-07 20:23:01 +03:00
- [x] [Brand new search plugin]
- [x] [Rich search previews]
- [x] [Tokenizer with lookahead]
- [x] [Advanced search highlighting]
- [x] [Excluding content from search]
2020-12-21 19:38:58 +03:00
2021-11-07 20:23:01 +03:00
[Brand new search plugin]: ../blog/2021/search-better-faster-smaller.md
[Rich search previews]: ../blog/2021/search-better-faster-smaller.md#rich-search-previews
[Tokenizer with lookahead]: ../blog/2021/search-better-faster-smaller.md#tokenizer-lookahead
[Advanced search highlighting]: ../blog/2021/search-better-faster-smaller.md#accurate-highlighting
[Excluding content from search]: ../setup/setting-up-site-search.md#search-exclusion
2020-12-21 19:38:58 +03:00
### Goals completed
2021-11-07 20:23:01 +03:00
This section lists all funding goals that were previously completed, which means
that those features were part of Insiders, but are now generally available and
can be used by all users.
2021-11-13 14:22:30 +03:00
#### $ 4,000 Ghost Pepper
- [x] [Anchor tracking]
- [x] [Code annotations]
- [x] [Version warning]
[Anchor tracking]: ../setup/setting-up-navigation.md#anchor-tracking
[Code annotations]: ../reference/code-blocks.md#adding-annotations
[Version warning]: ../setup/setting-up-versioning.md#version-warning
2021-09-23 10:23:42 +03:00
#### $ 3,000 Caribbean Red
2021-11-07 20:23:01 +03:00
- [x] [Sticky navigation tabs]
- [x] [Section index pages]
- [x] [Remove generator notice]
2021-09-23 10:23:42 +03:00
2021-11-07 20:23:01 +03:00
[Sticky navigation tabs]: ../setup/setting-up-navigation.md#sticky-navigation-tabs
[Section index pages]: ../setup/setting-up-navigation.md#section-index-pages
[Remove generator notice]: ../setup/setting-up-the-footer.md#generator-notice
2021-09-23 10:23:42 +03:00
2021-07-21 18:19:05 +03:00
#### $ 2,500 Biquinho Vermelho
2021-11-07 20:23:01 +03:00
- [x] [Search suggestions]
- [x] [Search highlighting]
- [x] [Search sharing]
2021-07-21 18:19:05 +03:00
2021-11-07 20:23:01 +03:00
[Search suggestions]: ../setup/setting-up-site-search.md#search-suggestions
[Search highlighting]: ../setup/setting-up-site-search.md#search-highlighting
[Search sharing]: ../setup/setting-up-site-search.md#search-sharing
2021-07-21 18:19:05 +03:00
2021-03-29 19:59:53 +03:00
#### $ 2,000 Black Pearl
2020-12-21 19:38:58 +03:00
2021-03-29 19:59:53 +03:00
- [x] Latest release tag
2021-11-07 20:23:01 +03:00
- [x] [Color palette toggle]
- [x] [Back-to-top button]
2021-03-29 19:59:53 +03:00
2021-11-07 20:23:01 +03:00
[Color palette toggle]: ../setup/changing-the-colors.md#color-palette-toggle
[Back-to-top button]: ../setup/setting-up-navigation.md#back-to-top-button
2021-03-29 19:59:53 +03:00
#### $ 1,500 Bhut Jolokia
2021-11-07 20:23:01 +03:00
- [x] [Admonition inline blocks]
- [x] [Site language selection]
- [x] [Versioning]
2021-03-29 19:59:53 +03:00
2021-11-07 20:23:01 +03:00
[Admonition inline blocks]: ../reference/admonitions.md#inline-blocks
[Site language selection]: ../setup/changing-the-language.md#site-language-selector
[Versioning]: ../setup/setting-up-versioning.md#versioning
2020-07-22 18:56:47 +03:00
2020-12-21 19:38:58 +03:00
#### $ 1,000 Prairie Fire
2020-07-22 18:56:47 +03:00
2021-11-07 20:23:01 +03:00
- [x] [Navigation sections]
- [x] [Navigation expansion]
- [x] [Hiding the sidebars]
- [x] [Table of contents in navigation]
- [x] [Header hides on scroll]
2020-07-22 18:56:47 +03:00
2021-11-07 20:23:01 +03:00
[Navigation sections]: ../setup/setting-up-navigation.md#navigation-sections
[Navigation expansion]: ../setup/setting-up-navigation.md#navigation-expansion
[Hiding the sidebars]: ../setup/setting-up-navigation.md#hiding-the-sidebars
[Table of contents in navigation]: ../setup/setting-up-navigation.md#navigation-integration
[Header hides on scroll]: ../setup/setting-up-the-header.md#automatic-hiding
2020-07-22 19:30:00 +03:00
2021-03-29 19:59:53 +03:00
#### $ 500 Madame Jeanette
2021-02-23 01:42:26 +03:00
2021-03-29 19:59:53 +03:00
- [x] Improved search result grouping
- [x] Improved search result relevance and scoring
- [x] Missing query terms in search results
2021-02-23 01:42:26 +03:00
2020-09-04 00:18:02 +03:00
## Frequently asked questions
2020-07-22 19:30:00 +03:00
2020-09-04 00:18:02 +03:00
### Compatibility
2021-11-07 20:23:01 +03:00
_We're running an open source project and want to make sure that users can
change and build the documentation without having access to Insiders. Is this
still possible?_
2020-09-04 00:18:02 +03:00
2021-11-07 20:23:01 +03:00
Yes. Insiders is compatible with Material for MkDocs. Almost all new features
are implemented behind feature flags; almost all configuration changes are
backward-compatible. This means that developers will be able to build the
2020-12-21 19:38:58 +03:00
documentation locally with Material for MkDocs and when they push their changes,
2021-11-07 20:23:01 +03:00
it can be built with Insiders (e.g. as part of GitHub Actions).
When using built-in plugins that are solely available via Insiders, it might be
necessary to split the `mkdocs.yml` configuration into a base configuration, and
one with plugin overrides. Note that this is a limitation of MkDocs, which can
be mitigated by using [configuration inheritance].
See the [getting started guide] for more information.
2020-09-04 00:18:02 +03:00
2021-11-07 20:23:01 +03:00
[configuration inheritance]: https://www.mkdocs.org/user-guide/configuration/#configuration-inheritance
2021-11-07 20:59:18 +03:00
[getting started guide]: getting-started.md#caveats
2020-10-11 13:20:36 +03:00
2021-05-30 12:45:36 +03:00
### Payment
_We don't want to pay for sponsorship every month. Are there any other options?_
Yes. You can sponsor on a yearly basis by [switching your GitHub account to a
2021-11-07 20:23:01 +03:00
yearly billing cycle][billing cycle]. If for some reason you cannot do that, you
could also create a dedicated GitHub account with a yearly billing cycle, which
you only use for sponsoring (some sponsors already do that).
2021-05-30 12:45:36 +03:00
2021-11-07 20:23:01 +03:00
If you have any problems or further questions, please reach out to
sponsors@squidfunk.com.
2021-05-30 12:45:36 +03:00
2021-11-07 20:23:01 +03:00
[billing cycle]: https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/changing-the-duration-of-your-billing-cycle
2021-05-30 12:45:36 +03:00
2020-09-04 00:18:02 +03:00
### Terms
2021-11-07 20:23:01 +03:00
_Are we allowed to use Insiders under the same terms and conditions as
Material for MkDocs?_
2020-09-04 00:18:02 +03:00
Yes. Whether you're an individual or a company, you may use _Material for MkDocs
Insiders_ precisely under the same terms as Material for MkDocs, which are given
2021-11-07 20:23:01 +03:00
by the [MIT license]. However, we kindly ask you to respect the following
2020-09-04 00:18:02 +03:00
guidelines:
2020-07-22 19:30:00 +03:00
2020-12-21 19:38:58 +03:00
- Please __don't distribute the source code__ of Insiders. You may freely use
2021-11-07 20:23:01 +03:00
it for public, private or commercial projects, privately fork or mirror it,
but please don't make the source code public, as it would counteract the
sponsorware strategy.
2020-07-22 19:30:00 +03:00
2021-11-07 20:23:01 +03:00
- If you cancel your subscription, you're automatically removed as a
collaborator and will miss out on all future updates of Insiders. However, you
may __use the latest version__ that's available to you __as long as you like__.
Just remember that [GitHub deletes private forks].
2020-07-22 19:30:00 +03:00
2021-11-07 20:23:01 +03:00
[MIT license]: ../license.md
[GitHub deletes private forks]: https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/removing-a-collaborator-from-a-personal-repository