Skip to content

Commit 04d678b

Browse files
committed
Merge branch 'master' into docs/simplify-overrides
2 parents 080fccd + 487140e commit 04d678b

File tree

2,429 files changed

+3864
-3377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,429 files changed

+3864
-3377
lines changed

docs/insiders/index.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ which are currently exclusively available to sponsors:
8888

8989
- [x] [Privacy plugin: external links] :material-alert-decagram:{ .mdx-pulse title="Added on October 18, 2022" }
9090
- [x] [Navigation subtitles] :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
91-
- [x] [Tags plugin: allow list] :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
91+
- [x] [Tags plugin: allow list] and [custom sorting] :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
9292
- [x] [Blog plugin: custom index pages]
9393
- [x] [Blog plugin: related links]
9494
- [x] [Blog plugin]
@@ -295,14 +295,15 @@ are released for general availability.
295295
- [x] [Blog plugin: related links]
296296
- [x] [Blog plugin: custom index pages]
297297
- [x] [Tags plugin: additional indexes]
298-
- [x] [Tags plugin: allow list]
298+
- [x] [Tags plugin: allow list] and [custom sorting]
299299
- [x] [Navigation subtitles]
300300

301301
[Meta plugin]: ../reference/index.md#built-in-meta-plugin
302302
[Blog plugin: related links]: ../setup/setting-up-a-blog.md#adding-related-links
303303
[Blog plugin: custom index pages]: ../setup/setting-up-a-blog.md#custom-index-pages
304304
[Tags plugin: additional indexes]: ../setup/setting-up-tags.md#+tags.tags_extra_files
305305
[Tags plugin: allow list]: ../setup/setting-up-tags.md#+tags.tags_allowed
306+
[custom sorting]: ../setup/setting-up-tags.md#+tags.tags_compare
306307
[Navigation subtitles]: ../reference/index.md#setting-the-page-subtitle
307308

308309
#### $ 20,000 – Jalapeño

docs/schema/assets/icons.json

+15
Original file line numberDiff line numberDiff line change
@@ -9131,7 +9131,9 @@
91319131
"octicons/arrow-both-24",
91329132
"octicons/arrow-down-16",
91339133
"octicons/arrow-down-24",
9134+
"octicons/arrow-down-left-16",
91349135
"octicons/arrow-down-left-24",
9136+
"octicons/arrow-down-right-16",
91359137
"octicons/arrow-down-right-24",
91369138
"octicons/arrow-left-16",
91379139
"octicons/arrow-left-24",
@@ -9141,7 +9143,9 @@
91419143
"octicons/arrow-switch-24",
91429144
"octicons/arrow-up-16",
91439145
"octicons/arrow-up-24",
9146+
"octicons/arrow-up-left-16",
91449147
"octicons/arrow-up-left-24",
9148+
"octicons/arrow-up-right-16",
91459149
"octicons/arrow-up-right-24",
91469150
"octicons/beaker-16",
91479151
"octicons/beaker-24",
@@ -9386,6 +9390,10 @@
93869390
"octicons/issue-opened-24",
93879391
"octicons/issue-reopened-16",
93889392
"octicons/issue-reopened-24",
9393+
"octicons/issue-tracked-by-16",
9394+
"octicons/issue-tracked-by-24",
9395+
"octicons/issue-tracked-in-16",
9396+
"octicons/issue-tracked-in-24",
93899397
"octicons/italic-16",
93909398
"octicons/italic-24",
93919399
"octicons/iterations-16",
@@ -9875,6 +9883,7 @@
98759883
"simple/backblaze",
98769884
"simple/backbonedotjs",
98779885
"simple/backendless",
9886+
"simple/backstage",
98789887
"simple/badgr",
98799888
"simple/badoo",
98809889
"simple/baidu",
@@ -10242,6 +10251,7 @@
1024210251
"simple/dynamics365",
1024310252
"simple/dynatrace",
1024410253
"simple/e",
10254+
"simple/e3",
1024510255
"simple/ea",
1024610256
"simple/eagle",
1024710257
"simple/easyjet",
@@ -10269,6 +10279,7 @@
1026910279
"simple/elementary",
1027010280
"simple/elementor",
1027110281
"simple/eleventy",
10282+
"simple/elgato",
1027210283
"simple/elixir",
1027310284
"simple/eljueves",
1027410285
"simple/ello",
@@ -10612,6 +10623,7 @@
1061210623
"simple/ibm",
1061310624
"simple/ibmcloud",
1061410625
"simple/ibmwatson",
10626+
"simple/iced",
1061510627
"simple/iceland",
1061610628
"simple/icinga",
1061710629
"simple/icloud",
@@ -10979,6 +10991,7 @@
1097910991
"simple/moscowmetro",
1098010992
"simple/motorola",
1098110993
"simple/mozilla",
10994+
"simple/mqtt",
1098210995
"simple/msi",
1098310996
"simple/msibusiness",
1098410997
"simple/mta",
@@ -11345,6 +11358,7 @@
1134511358
"simple/rarible",
1134611359
"simple/rasa",
1134711360
"simple/raspberrypi",
11361+
"simple/ravelry",
1134811362
"simple/ray",
1134911363
"simple/razer",
1135011364
"simple/razorpay",
@@ -11606,6 +11620,7 @@
1160611620
"simple/stackshare",
1160711621
"simple/stadia",
1160811622
"simple/staffbase",
11623+
"simple/standardjs",
1160911624
"simple/starbucks",
1161011625
"simple/stardock",
1161111626
"simple/starlingbank",

docs/setup/setting-up-tags.md

+28
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,34 @@ The following configuration options are available:
132132
tags_slugify_separator: "-"
133133
```
134134

135+
[`tags_compare`](#+tags.tags_compare){ #+tags.tags_compare }
136+
137+
: [:octicons-tag-24: insiders-4.26.2][Insiders] · :octicons-milestone-24:
138+
Default: `None` – This option specifies which function to use when
139+
comparing tag values for sorting. If you wish to compare tags irregardless
140+
of casing, use:
141+
142+
``` yaml
143+
plugins:
144+
- tags:
145+
tags_compare: !!python/name:material.plugins.tags.plugin.casefold
146+
```
147+
148+
You can also define your own comparison function which must return a tag
149+
value (as a string) that is used for sorting, and reference it accordingly.
150+
151+
[`tags_compare_reverse`](#+tags.tags_compare_reverse){ #+tags.tags_compare_reverse }
152+
153+
: [:octicons-tag-24: insiders-4.26.2][Insiders] · :octicons-milestone-24:
154+
Default: `false` – This option specifies whether tags are sorted in reverse
155+
order. It is mainly provided for completeness. To change direction, use:
156+
157+
``` yaml
158+
plugins:
159+
- tags:
160+
tags_compare_reverse: true
161+
```
162+
135163
[`tags_allowed`](#+tags.tags_allowed){ #+tags.tags_allowed } :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
136164

137165
: [:octicons-tag-24: insiders-4.25.0][Insiders] · :octicons-milestone-24:
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
+1-1
Loading

material/.icons/simple/1password.svg

+1-1
Loading

material/.icons/simple/3m.svg

+1-1
Loading

material/.icons/simple/42.svg

+1-1
Loading

material/.icons/simple/4chan.svg

+1-1
Loading

material/.icons/simple/4d.svg

+1-1
Loading

material/.icons/simple/500px.svg

+1-1
Loading

0 commit comments

Comments
 (0)