Skip to content

Commit 6447166

Browse files
committed
Documentation
1 parent 65d68de commit 6447166

7 files changed

+22
-22
lines changed

docs/blog/2021/search-better-faster-smaller.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const index$ = document.forms.namedItem("search")
6868

6969
[lunr]: https://lunrjs.com
7070
[lunr-languages]: https://github.com/MihaiValentin/lunr-languages
71-
[built-in search plugin]: ../../setup/setting-up-site-search.md#built-in-search
71+
[built-in search plugin]: ../../setup/setting-up-site-search.md#built-in-search-plugin
7272

7373
### Search index
7474

docs/setup/changing-the-fonts.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ theme:
6868

6969
!!! tip "Automatically bundle Google Fonts"
7070

71-
The brand-new [built-in privacy] plugin makes it easy to use Google Fonts
71+
The brand-new [built-in privacy plugin] makes it easy to use Google Fonts
7272
while complying with the __General Data Protection Regulation__ (GDPR),
7373
by automatically downloading and self-hosting the web font files.
7474

7575
[data privacy]: https://developers.google.com/fonts/faq#what_does_using_the_google_fonts_api_mean_for_the_privacy_of_my_users
7676
[font=false support]: https://github.com/squidfunk/mkdocs-material/releases/tag/1.0.0
77-
[built-in privacy]: ensuring-data-privacy.md#built-in-privacy
77+
[built-in privacy plugin]: ensuring-data-privacy.md#built-in-privacy-plugin
7878

7979
## Customization
8080

docs/setup/ensuring-data-privacy.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ automatically bundled as part of the build process.
1414

1515
## Configuration
1616

17-
### Built-in privacy
17+
### Built-in privacy plugin
1818

1919
[:octicons-heart-fill-24:{ .mdx-heart } Insiders][Insiders]{ .mdx-insiders } ·
2020
[:octicons-tag-24: insiders-4.9.0][Insiders] ·
@@ -99,7 +99,7 @@ The following configuration options are available:
9999
authors might add external assets like third-party scripts or stylesheets
100100
that would need to be remembered to be defined as further local assets.
101101

102-
This is the very reason the [built-in privacy] plugin exists — it automates
102+
This is the very reason the [built-in privacy plugin] exists — it automates
103103
the process of downloading all external assets manually to ensure compliance
104104
with GDPR. Note that there are some [technical limitations].
105105

@@ -110,7 +110,7 @@ The following configuration options are available:
110110

111111
#### How it works
112112

113-
The [built-in privacy] plugin scans the resulting HTML for links to external
113+
The [built-in privacy plugin] scans the resulting HTML for links to external
114114
resources, including external scripts, style sheets, images and web fonts, and
115115
downloads them to bundle them with your documentation site. Every URL refering
116116
to an external resource, no matter if part of a template or Markdown file is
@@ -129,7 +129,7 @@ The external script is downloaded, and the link is replaced with:
129129
Style sheets are scanned for external `url(...)` references, e.g. images and
130130
web fonts, which are then also downloaded and bundled with your documentation
131131
site. This means that [Google Fonts] can be configured in `mkdocs.yml` as usual,
132-
as the [built-in privacy] plugin automatically downloads and bundles all
132+
as the [built-in privacy plugin] automatically downloads and bundles all
133133
dependent resources.
134134

135135
As a third measure, [`preconnect`][preconnect] hints used for DNS pre-fetching
@@ -138,7 +138,7 @@ removed during the build process.
138138

139139
??? example "Expand to inspect example"
140140

141-
For the official documentation, the [built-in privacy] plugin downloads the
141+
For the official documentation, the [built-in privacy plugin] downloads the
142142
following resources:
143143

144144
``` { .sh id="example" }
@@ -206,7 +206,7 @@ removed during the build process.
206206
└─ polyfill.io/v3/polyfill.min.js
207207
```
208208

209-
[built-in privacy]: #built-in-privacy
209+
[built-in privacy plugin]: #built-in-privacy-plugin
210210
[preconnect]: https://developer.mozilla.org/en-US/docs/Web/Performance/dns-prefetch
211211

212212
#### Caching <small>recommended</small> { #caching data-toc-label="Caching" }
@@ -248,7 +248,7 @@ carried out. You might want to:
248248
#### Limitations
249249

250250
Note that dynamically created URLs as part of scripts are not detected, and thus
251-
cannot be automatically downloaded. The [built-in privacy] plugin does not
251+
cannot be automatically downloaded. The [built-in privacy plugin] does not
252252
execute scripts – it can only detect fully qualified URLs to download and
253253
replace.
254254

docs/setup/setting-up-site-search.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ not be compliant with privacy regulations. Moreover, search even works
1515

1616
## Configuration
1717

18-
### Built-in search
18+
### Built-in search plugin
1919

2020
[:octicons-tag-24: 0.1.0][search support] ·
2121
:octicons-cpu-24: Plugin

docs/setup/setting-up-social-cards.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The social preview image for the page on [setting up site analytics].
3737

3838
## Configuration
3939

40-
### Built-in social cards
40+
### Built-in social plugin
4141

4242
[:octicons-heart-fill-24:{ .mdx-heart } Insiders][Insiders]{ .mdx-insiders } ·
4343
[:octicons-tag-24: insiders-2.12.0][Insiders] ·
@@ -179,8 +179,8 @@ install all dependencies on your system:
179179

180180
#### Caching <small>recommended</small> { #caching data-toc-label="Caching" }
181181

182-
The [built-in social cards] plugin automatically fetches the fonts you define
183-
in `mkdocs.yml` from Google Fonts, and uses them to render the text that is
182+
The [built-in social plugin] automatically fetches the fonts you define in
183+
`mkdocs.yml` from Google Fonts, and uses them to render the text that is
184184
displayed on the social card. The font files and generated cards are both
185185
written to the `.cache` directory, which is used in subsequent builds to detect
186186
whether the social cards need to be regenerated. You might want to:
@@ -213,12 +213,12 @@ whether the social cards need to be regenerated. You might want to:
213213
- run: mkdocs gh-deploy --force
214214
```
215215

216-
[built-in social cards]: #built-in-social-cards
216+
[built-in social plugin]: #built-in-social-plugin
217217
[publishing guide]: ../publishing-your-site.md#with-github-actions
218218

219219
#### Meta tags
220220

221-
The [built-in social cards] plugin automatically sets all necessary `meta` tags,
221+
The [built-in social plugin] automatically sets all necessary `meta` tags,
222222
equivalent to the following two customizations, which you can set manually when
223223
you don't want to use it:
224224

docs/setup/setting-up-tags.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ can help to discover relevant information faster.
1111

1212
## Configuration
1313

14-
### Built-in tags
14+
### Built-in tags plugin
1515

1616
[:octicons-tag-24: 8.2.0][tags support] ·
1717
:octicons-cpu-24: Plugin ·
@@ -53,7 +53,7 @@ The following configuration options are available:
5353

5454
### Adding tags
5555

56-
When both, the [built-in tags] plugin and [Metadata] extension are enabled,
56+
When both, the [built-in tags plugin] and [Metadata] extension are enabled,
5757
tags can be added for a document with custom front matter. Add the following
5858
lines at the top of a Markdown file:
5959

@@ -79,14 +79,14 @@ following screenshots:
7979

8080
[![Tag search preview]][Tag search preview]
8181

82-
[built-in tags]: #built-in-tags
82+
[built-in tags plugin]: #built-in-tags-plugin
8383
[Metadata]: extensions/python-markdown.md#metadata
8484
[Tags preview]: ../assets/screenshots/tags.png
8585
[Tag search preview]: ../assets/screenshots/tags-search.png
8686

8787
### Adding a tags index
8888

89-
The [built-in tags] plugin allows to define a file to render a [tags index]
89+
The [built-in tags plugin] allows to define a file to render a [tags index]
9090
[tags.tags_file], which can be any page that is part of the `nav` section. To
9191
add a tags index, create a page, e.g. `tags.md`:
9292

docs/upgrade.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ matches the new structure:
10371037

10381038
[CSS variables]: setup/changing-the-colors.md#custom-colors
10391039
[icon integration]: reference/icons-emojis.md#search
1040-
[prebuilt search indexes]: setup/setting-up-site-search.md#built-in-search
1040+
[prebuilt search indexes]: setup/setting-up-site-search.md#built-in-search-plugin
10411041

10421042
### Changes to `mkdocs.yml`
10431043

@@ -1135,7 +1135,7 @@ was renamed to `separator`:
11351135
tokenizer: '[\s\-\.]+'
11361136
```
11371137

1138-
[plugin options]: setup/setting-up-site-search.md#built-in-search
1138+
[plugin options]: setup/setting-up-site-search.md#built-in-search-plugin
11391139

11401140
#### `extra.social.*`
11411141

0 commit comments

Comments
 (0)