mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
93daab252d
commit
b2f310a220
@ -82,14 +82,15 @@ a handful of them, [thanks to our awesome sponsors]!
|
|||||||
## What's in for me?
|
## What's in for me?
|
||||||
|
|
||||||
The moment you [become a sponsor][how to become a sponsor], you'll get __immediate
|
The moment you [become a sponsor][how to become a sponsor], you'll get __immediate
|
||||||
access to 24 additional features__ that you can start using right away, and
|
access to 25 additional features__ that you can start using right away, and
|
||||||
which are currently exclusively available to sponsors:
|
which are currently exclusively available to sponsors:
|
||||||
|
|
||||||
<div class="mdx-columns" markdown>
|
<div class="mdx-columns" markdown>
|
||||||
|
|
||||||
|
- [x] [Privacy plugin: external links] :material-alert-decagram:{ .mdx-pulse title="Added on October 18, 2022" }
|
||||||
- [x] [Navigation subtitles] :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
|
- [x] [Navigation subtitles] :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
|
||||||
- [x] [Tags plugin: allow list] :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
|
- [x] [Tags plugin: allow list] :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
|
||||||
- [x] [Blog plugin: custom index pages] :material-alert-decagram:{ .mdx-pulse title="Added on September 27, 2022" }
|
- [x] [Blog plugin: custom index pages]
|
||||||
- [x] [Blog plugin: related links]
|
- [x] [Blog plugin: related links]
|
||||||
- [x] [Blog plugin]
|
- [x] [Blog plugin]
|
||||||
- [x] [Navigation status]
|
- [x] [Navigation status]
|
||||||
|
@ -210,14 +210,14 @@ The following configuration options are available for external assets:
|
|||||||
|
|
||||||
[`external_assets_dir`](#+privacy.external_assets_dir){ #+privacy.external_assets_dir }
|
[`external_assets_dir`](#+privacy.external_assets_dir){ #+privacy.external_assets_dir }
|
||||||
|
|
||||||
: :octicons-milestone-24: Default: `assets/externals` – This option
|
: :octicons-milestone-24: Default: `assets/external` – This option
|
||||||
specifies where the downloaded [external assets] will be stored. It's
|
specifies where the downloaded [external assets] will be stored. It's
|
||||||
normally not necessary to change this option:
|
normally not necessary to change this option:
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
- privacy:
|
- privacy:
|
||||||
external_assets_dir: assets/externals
|
external_assets_dir: assets/external
|
||||||
```
|
```
|
||||||
|
|
||||||
The path must be defined relative to [`docs_dir`][docs_dir].
|
The path must be defined relative to [`docs_dir`][docs_dir].
|
||||||
@ -281,7 +281,7 @@ The following configuration options are available for external assets:
|
|||||||
[example]: #example
|
[example]: #example
|
||||||
[technical limitations]: #limitations
|
[technical limitations]: #limitations
|
||||||
|
|
||||||
#### External links
|
#### External links :material-alert-decagram:{ .mdx-pulse title="Added on October 18, 2022" }
|
||||||
|
|
||||||
[:octicons-heart-fill-24:{ .mdx-heart } Sponsors only][Insiders]{ .mdx-insiders } ·
|
[:octicons-heart-fill-24:{ .mdx-heart } Sponsors only][Insiders]{ .mdx-insiders } ·
|
||||||
[:octicons-tag-24: insiders-4.26.0][Insiders] ·
|
[:octicons-tag-24: insiders-4.26.0][Insiders] ·
|
||||||
@ -343,7 +343,7 @@ then replaced with the URL to the local copy. An example:
|
|||||||
The external script is downloaded, and the link is replaced with:
|
The external script is downloaded, and the link is replaced with:
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<script src="assets/externals/example.com/script.js"></script>
|
<script src="assets/external/example.com/script.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
Style sheets are scanned for external `url(...)` references, e.g. images and
|
Style sheets are scanned for external `url(...)` references, e.g. images and
|
||||||
@ -363,7 +363,7 @@ removed during the build process.
|
|||||||
|
|
||||||
``` { .sh id="example" }
|
``` { .sh id="example" }
|
||||||
.
|
.
|
||||||
└─ assets/externals/
|
└─ assets/external/
|
||||||
├─ unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
|
├─ unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
|
||||||
├─ fonts.googleapis.com/css
|
├─ fonts.googleapis.com/css
|
||||||
├─ fonts.gstatic.com/s/
|
├─ fonts.gstatic.com/s/
|
||||||
|
Loading…
Reference in New Issue
Block a user