Documentation

This commit is contained in:
squidfunk 2022-10-18 14:32:22 +07:00
parent 93daab252d
commit b2f310a220
2 changed files with 8 additions and 7 deletions

View File

@ -82,14 +82,15 @@ a handful of them, [thanks to our awesome sponsors]!
## What's in for me?
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:
<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] [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]
- [x] [Navigation status]

View File

@ -210,14 +210,14 @@ The following configuration options are available for external assets:
[`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
normally not necessary to change this option:
``` yaml
plugins:
- privacy:
external_assets_dir: assets/externals
external_assets_dir: assets/external
```
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
[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-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:
``` 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
@ -363,7 +363,7 @@ removed during the build process.
``` { .sh id="example" }
.
└─ assets/externals/
└─ assets/external/
├─ unpkg.com/tablesort@5.3.0/dist/tablesort.min.js
├─ fonts.googleapis.com/css
├─ fonts.gstatic.com/s/