mkdocs-material/docs/insiders/index.md

316 lines
12 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-03-21 19:14:32 +03:00
Material for MkDocs follows the _sponsorware_ release strategy, which means
2020-07-26 15:46:09 +03:00
that _new features are first exclusively released to sponsors_ as part of
2020-12-21 19:38:58 +03:00
__Insiders__. Read on to learn [how sponsorship works][1], and how easy it is
to [get access to Insiders][2].
<figure class="mdx-video" markdown="1">
<div class="mdx-video__inner">
2021-05-02 13:08:08 +03:00
<iframe src="https://streamable.com/e/q64w50" allowfullscreen></iframe>
2020-12-21 19:38:58 +03:00
</div>
<figcaption markdown="1">
2021-06-15 12:56:08 +03:00
The official documentation is built with Insiders
[squidfunk.github.io/mkdocs-material][3]
2020-12-21 19:38:58 +03:00
</figcaption>
</figure>
[1]: #how-sponsorship-works
[2]: #how-to-become-a-sponsor
2021-06-15 12:56:08 +03:00
[3]: https://squidfunk.github.io/mkdocs-material/
2020-07-22 17:05:38 +03:00
2020-12-21 19:38:58 +03:00
## How sponsorship works
2020-07-22 18:56:47 +03:00
2021-05-30 12:45:36 +03:00
New features first land in Insiders, so _eligible sponsors have immediate
access_. Every feature is tied to a funding goal in monthly subscriptions.
2020-12-21 19:38:58 +03:00
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. Bugfixes are
2021-02-04 23:14:38 +03:00
always released simultaneously in both editions.[^1]
[^1]:
You may ask yourself why you should pay for something that is Open Source.
Doesn't that contradict the ethos of Open Source software? Yes and no. Yes,
some features are locked behind a monthly subscription, which means they are
only accessible when paying a small amount of money. No, the features are
only exclusive for a short time until specific funding goals are hit. 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,
you can be sure that bugs are fixed quickly and new features are added
regularly.
2020-12-21 19:38:58 +03:00
_Don't want to sponsor? No problem, Material for MkDocs already has tons of
features available, so chances are that most of your requirements are already
satisfied. See the [list of exclusive features][4] to learn which features are
currently only available to sponsors._
[4]: #exclusive-features
2020-07-22 18:56:47 +03:00
2020-12-21 19:38:58 +03:00
## How to become a sponsor
2021-05-30 12:45:36 +03:00
You can become an eligible sponsor with your individual or organization's GitHub
account. Visit __[squidfunk's sponsor profile][5]__, pick any tier __from
$10/month__[^2], and complete the checkout. Then, after a few hours, @squidfunk
will add you as a collaborator to the super-secret private GitHub repositority
2020-12-21 19:38:58 +03:00
containing the Insiders edition, which contains all [brand new and exclusive
features][4].
__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-05-30 12:45:36 +03:00
organization and the account that should be added as a collaborator.[^3]
You can cancel your sponsorship anytime.[^4]
2020-12-21 19:38:58 +03:00
2021-02-04 23:14:38 +03:00
[^2]:
2021-05-30 12:45:36 +03:00
Note that $10/month is the minimum amount to become eligible for Insiders.
2021-06-12 14:29:20 +03:00
If you sponsor with a lower amount, it's still very much appreciated, but
you won't be granted access to Insiders. Custom amounts of $10+ are also
eligible.
2021-05-30 12:45:36 +03:00
[^3]:
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-05-30 12:45:36 +03:00
[^4]:
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
[:octicons-heart-fill-24:{ .mdx-heart } &nbsp; Join our <span class="mdx-sponsorship-count" data-mdx-component="sponsorship-count"></span> awesome sponsors][5]{ .md-button .md-button--primary .mdx-sponsorship-button }
<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
[5]: https://github.com/sponsors/squidfunk
2020-07-22 18:56:47 +03:00
2020-12-21 19:38:58 +03:00
## Exclusive features
2020-07-26 15:46:09 +03:00
2020-12-21 19:38:58 +03:00
The following features are currently exclusively available to sponsors:
2020-07-26 15:46:09 +03:00
<div class="mdx-columns" markdown="1">
2020-07-26 15:46:09 +03:00
2021-07-10 16:21:22 +03:00
- [x] [Cookie consent :material-new-box:][33]
- [x] [Linking content tabs :material-new-box:][32]
2021-05-12 10:29:40 +03:00
- [x] [Boosting pages in search :material-new-box:][30]
2021-07-10 16:21:22 +03:00
- [x] [Tags (with search integration)][29]
2021-05-12 10:29:40 +03:00
- [x] [Stay on page when switching versions][28]
- [x] [Version warning][26]
2021-06-20 11:47:26 +03:00
- [x] [Custom admonition icons][31]
2021-04-11 19:09:04 +03:00
- [x] [Code block annotations][25]
- [x] [Anchor tracking ][24]
- [x] [Section index pages][22]
- [x] [Sticky navigation tabs][21]
- [x] [Mermaid.js integration][27]
- [x] [Remove generator notice][23]
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
2020-12-21 19:38:58 +03:00
_New features are added to this list every few weeks, so be sure to come back
from time to time to learn about what's new, or follow [@squidfunk on
:fontawesome-brands-twitter:{ .twitter } Twitter][6] to stay updated._
2020-07-22 18:56:47 +03:00
2020-12-21 19:38:58 +03:00
[6]: https://twitter.com/squidfunk
2020-07-26 15:46:09 +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
2020-12-21 19:38:58 +03:00
Following is a list of funding goals. When a funding goal is hit, the features
that are tied to it are merged back into Material for MkDocs and released to
the public for general availability.
2020-12-21 19:38:58 +03:00
#### $ 3,000 Caribbean Red
- [x] [Sticky navigation tabs][21]
- [x] [Section index pages][22]
- [x] [Remove generator notice][23]
2020-12-21 19:38:58 +03:00
2021-03-21 16:04:29 +03:00
[21]: ../setup/setting-up-navigation.md#sticky-navigation-tabs
[22]: ../setup/setting-up-navigation.md#section-index-pages
[23]: ../setup/setting-up-the-footer.md#remove-generator
2021-01-31 18:30:57 +03:00
2021-02-27 12:44:17 +03:00
#### $ 4,000 Ghost Pepper
- [x] [Anchor tracking][24]
- [x] [Code block annotations][25]
- [x] [Version warning][26]
2021-02-27 12:44:17 +03:00
2021-03-21 16:04:29 +03:00
[24]: ../setup/setting-up-navigation.md#anchor-tracking
[25]: ../reference/code-blocks.md#adding-annotations
2021-05-01 18:53:39 +03:00
[26]: ../setup/setting-up-versioning.md#version-warning
2020-12-21 19:38:58 +03:00
2021-01-24 14:34:03 +03:00
#### $ 5,000 Aji Panca
- [x] [Mermaid.js integration][27]
2021-04-11 19:09:04 +03:00
- [x] [Stay on page when switching versions][28]
2021-05-01 21:55:25 +03:00
- [x] [Tags (with search integration)][29]
[27]: ../reference/diagrams.md
2021-05-01 18:53:39 +03:00
[28]: ../setup/setting-up-versioning.md#stay-on-page
[29]: ../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-05-12 10:29:40 +03:00
- [x] [Boosting pages in search][30]
2021-07-10 16:21:22 +03:00
- [x] [Custom admonition icons][31]
- [x] [Linking content tabs][32]
2021-05-12 10:29:40 +03:00
[30]: ../setup/setting-up-site-search.md#boosting-a-page
2021-07-10 16:21:22 +03:00
[31]: ../reference/admonitions.md#changing-the-icons
[32]: ../reference/content-tabs.md#linking-content-tabs
2021-02-27 12:44:17 +03:00
#### $ 7,000 Royal Gold
2021-07-10 16:21:22 +03:00
- [x] [Cookie consent][33]
2021-02-27 12:44:17 +03:00
- [ ] Table of contents auto-collapse
- [ ] Table of contents follows active anchor
2021-07-10 16:21:22 +03:00
[33]: ../setup/setting-up-site-analytics.md#cookie-consent
2021-02-27 12:44:17 +03:00
2021-03-29 10:13:21 +03:00
#### $ 8,000 Scotch Bonnet
2021-07-10 16:21:22 +03:00
- [ ] Improved search result summaries
- [ ] Stay on page when switching languages
2021-05-12 10:29:40 +03:00
- [ ] List of last searches
2021-02-27 12:44:17 +03:00
#### Future
2021-07-10 16:21:22 +03:00
- [ ] [Material for MkDocs Live Edit][34]
2021-02-27 12:44:17 +03:00
- [ ] New layouts and styles
- [ ] Code block palette toggle
2021-07-10 16:21:22 +03:00
- [ ] Native lightbox integration
2020-12-21 19:38:58 +03:00
2021-07-10 16:21:22 +03:00
[34]: https://twitter.com/squidfunk/status/1338252230265360391
2020-12-21 19:38:58 +03:00
### Goals completed
2021-07-21 18:19:05 +03:00
#### $ 2,500 Biquinho Vermelho
- [x] [Search suggestions][18]
- [x] [Search highlighting][19]
- [x] [Search sharing][20]
[18]: ../setup/setting-up-site-search.md#search-suggestions
[19]: ../setup/setting-up-site-search.md#search-highlighting
[20]: ../setup/setting-up-site-search.md#search-sharing
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
- [x] [Color palette toggle][16]
- [x] [Back-to-top button][17]
[16]: ../setup/changing-the-colors.md#color-palette-toggle
[17]: ../setup/setting-up-navigation.md#back-to-top-button
#### $ 1,500 Bhut Jolokia
- [x] [Admonition inline blocks][12]
- [x] [Site language selection][13]
- [x] [Versioning][14]
[12]: ../reference/admonitions.md#inline-blocks
[13]: ../setup/changing-the-language.md#site-language-selector
[14]: ../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
2020-12-21 19:38:58 +03:00
- [x] [Navigation sections][7]
- [x] [Navigation expansion][8]
- [x] [Hiding the sidebars][9]
- [x] [Table of contents in navigation][10]
- [x] [Header hides on scroll][11]
2020-07-22 18:56:47 +03:00
2021-03-21 16:04:29 +03:00
[7]: ../setup/setting-up-navigation.md#navigation-sections
[8]: ../setup/setting-up-navigation.md#navigation-expansion
2021-05-01 18:53:39 +03:00
[9]: ../setup/setting-up-navigation.md#hiding-the-sidebars
2021-03-21 16:04:29 +03:00
[10]: ../setup/setting-up-navigation.md#navigation-integration
[11]: ../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
2020-09-04 00:25:24 +03:00
_We're running an open source project and want to make sure that users can build
2020-12-21 19:38:58 +03:00
the documentation without having access to Insiders. Is this still possible?_
2020-09-04 00:18:02 +03:00
2020-12-21 19:38:58 +03:00
Yes. Insiders is compatible with Material for MkDocs. All new features are
implemented behind feature flags; all configuration changes are
backward-compatible. This means that your users will be able to build the
documentation locally with Material for MkDocs and when they push their changes,
it can be built with Insiders (e.g. as part of GitHub Actions). Thus, it's
2021-07-10 16:21:22 +03:00
recommended to [install Insiders][35] only in CI, as you don't want to expose
2020-12-21 19:38:58 +03:00
your `GH_TOKEN` to users.
2020-09-04 00:18:02 +03:00
2021-07-10 16:21:22 +03:00
[35]: ../publishing-your-site.md#github-pages
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-07-10 16:21:22 +03:00
yearly billing cycle][36]. If for some reason you cannot do that, you could
2021-05-30 12:45:36 +03:00
also create a dedicated GitHub account with a yearly billing cycle, which you
only use for sponsoring (some sponsors already do that).
One-time payments are not eligible for Insiders.
2021-07-10 16:21:22 +03:00
[36]: 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
_We're using Material for MkDocs to build the developer documentation of a
2020-12-21 19:38:58 +03:00
commercial project. Can we use Insiders under the same terms and conditions?_
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-07-10 16:21:22 +03:00
by the [MIT license][37]. 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
it for public, private or commercial projects, fork it, mirror it, do whatever
you want with it, but please don't release the source code, as it would
counteract the sponsorware strategy.
2020-07-22 19:30:00 +03:00
2020-07-26 15:46:09 +03:00
- If you cancel your subscription, you're removed as a collaborator and will
2020-12-21 19:38:58 +03:00
miss out on future updates of Insiders. However, you may __use the latest
version__ that's available to you __as long as you like__. Just remember that
2021-07-10 16:21:22 +03:00
[GitHub deletes private forks][38].
2020-07-22 19:30:00 +03:00
2021-07-10 16:21:22 +03:00
[37]: ../license.md
[38]: https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/removing-a-collaborator-from-a-personal-repository