Skip to content

Commit 228599b

Browse files
committed
Documentation
1 parent f9d5c67 commit 228599b

15 files changed

+43
-43
lines changed

docs/blog/posts/blog-support-just-landed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ categories:
88
- Blog
99
links:
1010
- Getting started with Insiders: insiders/getting-started.md#requirements
11-
- setup/setting-up-a-blog.md#built-in-blog-plugin
11+
- plugins/blog.md
1212
---
1313

1414
# Blog support just landed
@@ -31,7 +31,7 @@ _This article explains how to build a standalone blog with Material for MkDocs.
3131
If you want to build a blog alongside your documentation, please refer to
3232
[the plugin's documentation][built-in blog plugin]._
3333

34-
[built-in blog plugin]: ../../setup/setting-up-a-blog.md#built-in-blog-plugin
34+
[built-in blog plugin]: ../../plugins/blog.md
3535
[Jekyll]: https://jekyllrb.com/
3636

3737
## Quick start

docs/blog/posts/chinese-search-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ _This article explains how to set up Chinese language support for the built-in
3535
search plugin in a few minutes._
3636
{ style="display: inline" }
3737

38-
[built-in search plugin]: ../../setup/setting-up-site-search.md#built-in-search-plugin
38+
[built-in search plugin]: ../../plugins/search.md
3939
[lunr-languages]: https://github.com/MihaiValentin/lunr-languages
4040

4141
## Configuration

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ categories:
99
- Search
1010
- Performance
1111
links:
12-
- setup/setting-up-site-search.md#built-in-search-plugin
12+
- plugins/search.md
1313
- insiders/index.md#how-to-become-a-sponsor
1414
---
1515

@@ -58,7 +58,7 @@ const index$ = document.forms.namedItem("search")
5858

5959
[lunr]: https://lunrjs.com
6060
[lunr-languages]: https://github.com/MihaiValentin/lunr-languages
61-
[built-in search plugin]: ../../setup/setting-up-site-search.md#built-in-search-plugin
61+
[built-in search plugin]: ../../plugins/search.md
6262

6363
### Search index
6464

@@ -244,7 +244,7 @@ carefully considered:
244244
stopping at a whitespace character when enough words have been consumed. A
245245
preview might look like this:
246246
247-
```
247+
```
248248
… channels, e.g., or which can be configured via mkdocs.yml …
249249
```
250250
@@ -286,7 +286,7 @@ it brings:
286286
287287
- __Better__: support for [rich search previews], preserving the structural
288288
information of code blocks, inline code, and lists, so they are rendered
289-
as-is, as well as [lookahead tokenization], [more accurate highlighting], and
289+
as-is, as well as [lookahead tokenization], [more accurate highlighting], and
290290
improved stability of typeahead. Also, a [slightly better UX].
291291
- __Faster__ and __smaller__: significant decrease in search index size of up
292292
to 48% due to improved extraction and construction techniques, resulting in a
@@ -463,7 +463,7 @@ also demonstrates that this now even works properly for search queries.[^5]
463463
464464
[^5]:
465465
Previously, the search query was not correctly tokenized due to the way
466-
[lunr] treats wildcards, as it disables the pipeline for search terms that
466+
[lunr] treats wildcards, as it disables the pipeline for search terms that
467467
contain wildcards. In order to provide a good typeahead experience,
468468
Material for MkDocs adds wildcards to the end of each search term not
469469
explicitly preceded with `+` or `-`, effectively disabling tokenization.
@@ -499,7 +499,7 @@ following expression to the separator allows for just that:
499499
&[lg]t;
500500
```
501501
502-
Searching for [:octicons-search-24: custom search worker script][q=script]
502+
Searching for [:octicons-search-24: custom search worker script][q=script]
503503
brings up the section on [custom search] and matches the `script` tag among the
504504
other search terms discovered.
505505
@@ -548,7 +548,7 @@ powerful as tokenization:
548548
Now, only the content blocks that actually contain occurrences of one of
549549
the search terms are considered for inclusion into the search preview. If a
550550
term only occurs in a code block, it's the code block that gets rendered,
551-
see, for example, the results of
551+
see, for example, the results of
552552
[:octicons-search-24: twitter][q=twitter].
553553
554554
[regular expressions]: https://github.com/squidfunk/mkdocs-material/blob/ec7ccd2b2d15dd033740f388912f7be7738feec2/src/assets/javascripts/integrations/search/highlighter/index.ts#L61-L91

docs/browser-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ check the distribution of browser types and versions among your users.
4848
[caniuse.com]: https://caniuse.com/
4949
[:is pseudo selector]: https://caniuse.com/css-matches-pseudo
5050
[browser support]: #supported-browsers
51-
[built-in privacy plugin]: setup/ensuring-data-privacy.md#built-in-privacy-plugin
51+
[built-in privacy plugin]: plugins/privacy.md
5252

5353
## Other browsers
5454

docs/insiders/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ organization GitHub account for sponsoring.
130130

131131
__Important__: If you're sponsoring @squidfunk through a GitHub organization,
132132
please send a short email to [email protected] with the name of your
133-
organization and the GitHub account of the individual that should be added as a
133+
organization and the GitHub account of the individual that should be added as a
134134
collaborator.[^4]
135135

136136
You can cancel your sponsorship anytime.[^5]
@@ -260,7 +260,7 @@ You can cancel your sponsorship anytime.[^5]
260260

261261
The following section lists all funding goals. Each goal contains a list of
262262
features prefixed with a checkmark symbol, denoting whether a feature is
263-
:octicons-check-circle-fill-24:{ style="color: #00e676" } already available or
263+
:octicons-check-circle-fill-24:{ style="color: #00e676" } already available or
264264
: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
265265
are released for general availability.
266266

@@ -289,7 +289,7 @@ are released for general availability.
289289
- [x] [Tags plugin: allow list] + [custom sorting]
290290
- [x] [Navigation subtitles]
291291

292-
[Meta plugin]: ../reference/index.md#built-in-meta-plugin
292+
[Meta plugin]: ../plugins/meta.md
293293
[Blog plugin: related links]: ../setup/setting-up-a-blog.md#adding-related-links
294294
[Blog plugin: custom index pages]: ../setup/setting-up-a-blog.md#custom-index-pages
295295
[Tags plugin: additional indexes]: ../setup/setting-up-tags.md#+tags.tags_extra_files
@@ -306,8 +306,8 @@ are released for general availability.
306306
- [x] [Privacy plugin: external links]
307307
- [x] [Instant prefetching]
308308

309-
[Optimize plugin]: ../setup/building-an-optimized-site.md#built-in-optimize-plugin
310-
[Typeset plugin]: ../reference/index.md#built-in-typeset-plugin
309+
[Optimize plugin]: ../plugins/optimize.md
310+
[Typeset plugin]: ../plugins/typeset.md
311311
[Privacy plugin: external links]: ../setup/ensuring-data-privacy.md#+privacy.links
312312
[Privacy plugin: optimization support]: ../setup/ensuring-data-privacy.md#+privacy.assets_include
313313
[Navigation path]: ../setup/setting-up-navigation.md#navigation-path
@@ -322,7 +322,7 @@ are released for general availability.
322322
- [x] [Code annotations: custom selectors]
323323
- [ ] Code line wrap button
324324

325-
[Projects plugin]: ../setup/building-an-optimized-site.md#built-in-projects-plugin
325+
[Projects plugin]: ../plugins/projects.md
326326
[Social plugin: custom layouts]: ../setup/setting-up-social-cards.md#customization
327327
[Social plugin: background images]: ../setup/setting-up-social-cards.md#+social.cards_layout_params.background_image
328328
[Code range selection]: ../reference/code-blocks.md#code-selection-button
@@ -536,7 +536,7 @@ __fair use policy__:
536536

537537
- Please __don't distribute the source code__ of Insiders. You may freely use
538538
it for public, private or commercial projects, privately fork or mirror it,
539-
but please don't make the source code public, as it would counteract the
539+
but please don't make the source code public, as it would counteract the
540540
sponsorware strategy.
541541

542542
- If you cancel your subscription, you're automatically removed as a

docs/plugins/blog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ a post. The property follows the same syntax as [`nav`][mkdocs.nav] in
13841384
``` yaml
13851385
---
13861386
links:
1387-
- setup/setting-up-site-search.md#built-in-search-plugin # (1)!
1387+
- plugins/search.md # (1)!
13881388
- Insiders:
13891389
- insiders/index.md#how-to-become-a-sponsor
13901390
- insiders/getting-started.md#requirements

docs/plugins/requirements/image-processing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,5 @@ The following environments come with a preinstalled version of [pngquant]:
132132
- [x] No installation needed in [Docker image]
133133

134134
[pngquant]: https://pngquant.org/
135-
[built-in optimize plugin]: ../../setup/building-an-optimized-site.md#built-in-optimize-plugin
135+
[built-in optimize plugin]: ../../plugins/optimize.md
136136
[pngquant-winbuild]: https://github.com/jibsen/pngquant-winbuild

docs/publishing-your-site.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ contents:
4949
- run: mkdocs gh-deploy --force
5050
```
5151

52-
1. You can change the name to your liking.
52+
1. You can change the name to your liking.
5353

5454
2. At some point, GitHub renamed `master` to `main`. If your default branch
5555
is named `master`, you can safely remove `main`, vice versa.
@@ -58,8 +58,8 @@ contents:
5858
`key` creation. The name is case-sensitive, so be sure to align it with `${{ env.cache_id }}`.
5959

6060
- The `--utc` option makes sure that each workflow runner uses the same time zone.
61-
- The `%V` format assures a cache update once a week.
62-
- You can change the format to `%F` to have daily cache updates.
61+
- The `%V` format assures a cache update once a week.
62+
- You can change the format to `%F` to have daily cache updates.
6363

6464
You can read the [manual page] to learn more about the formatting options of the `date` command.
6565

@@ -128,7 +128,7 @@ Your documentation should shortly appear at `<username>.github.io/<repository>`.
128128
[MkDocs plugins]: https://github.com/mkdocs/mkdocs/wiki/MkDocs-Plugins
129129
[personal access token]: https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token
130130
[Insiders]: insiders/index.md
131-
[built-in optimize plugin]: setup/building-an-optimized-site.md#built-in-optimize-plugin
131+
[built-in optimize plugin]: plugins/optimize.md
132132
[GitHub secrets]: https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
133133
[publishing source branch]: https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site
134134
[manual page]: https://man7.org/linux/man-pages/man1/date.1.html

docs/reference/icons-emojis.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ icon: material/emoticon-happy-outline
55
# Icons, Emojis
66

77
One of the best features of Material for MkDocs is the possibility to use [more
8-
than 10,000 icons][icon search] and thousands of emojis in your project
9-
documentation with practically zero additional effort. Moreover, [custom icons
8+
than 10,000 icons][icon search] and thousands of emojis in your project
9+
documentation with practically zero additional effort. Moreover, [custom icons
1010
can be added] and used in `mkdocs.yml`, documents and templates.
1111

1212
[icon search]: #search
@@ -75,7 +75,7 @@ between two colons. If you're using [Twemoji] (recommended), you can look up
7575
the shortcodes at [Emojipedia]:
7676
7777
``` title="Emoji"
78-
:smile:
78+
:smile:
7979
```
8080
8181
<div class="result" markdown>
@@ -199,7 +199,7 @@ With the help of the [built-in typeset plugin], you can use icons and emojis
199199
in headings, which will then be rendered in the sidebars. The plugin preserves
200200
Markdown and HTML formatting.
201201

202-
[built-in typeset plugin]: ./index.md#built-in-typeset-plugin
202+
[built-in typeset plugin]: ../plugins/typeset.md
203203

204204
## Customization
205205

docs/setup/adding-a-comment-system.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ If you wish to enable comments for an entire folder, you can use the
104104
[theme extension]: ../customization.md#extending-the-theme
105105
[comments]: https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/comments.html
106106
[overriding partials]: ../customization.md#overriding-partials
107-
[built-in meta plugin]: ../reference/index.md#built-in-meta-plugin
107+
[built-in meta plugin]: ../plugins/meta.md

0 commit comments

Comments
 (0)