Skip to content

Commit 5fd86bd

Browse files
committed
Merge branch 'master' of github.com:squidfunk/mkdocs-material
2 parents 4edce43 + 24b5950 commit 5fd86bd

23 files changed

+1733
-5199
lines changed

docs/schema/assets/fonts.json

Lines changed: 1581 additions & 4743 deletions
Large diffs are not rendered by default.

docs/schema/extensions/pymdownx.json

Lines changed: 16 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
{
2828
"title": "Arithmatex – Python Markdown Extensions",
2929
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#arithmatex",
30-
"enum": [
31-
"pymdownx.arithmatex"
32-
]
30+
"const": "pymdownx.arithmatex"
3331
}
3432
]
3533
},
@@ -63,9 +61,7 @@
6361
{
6462
"title": "BetterEm – Python Markdown Extensions",
6563
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#betterem",
66-
"enum": [
67-
"pymdownx.betterem"
68-
]
64+
"const": "pymdownx.betterem"
6965
}
7066
]
7167
},
@@ -74,9 +70,7 @@
7470
{
7571
"title": "Caret – Python Markdown Extensions",
7672
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
77-
"enum": [
78-
"pymdownx.caret"
79-
]
73+
"const": "pymdownx.caret"
8074
},
8175
{
8276
"type": "object",
@@ -114,9 +108,7 @@
114108
{
115109
"title": "Critic – Python Markdown Extensions",
116110
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#critic",
117-
"enum": [
118-
"pymdownx.critic"
119-
]
111+
"const": "pymdownx.critic"
120112
},
121113
{
122114
"type": "object",
@@ -145,18 +137,14 @@
145137
{
146138
"title": "Details – Python Markdown Extensions",
147139
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#details",
148-
"enum": [
149-
"pymdownx.details"
150-
]
140+
"const": "pymdownx.details"
151141
},
152142
{
153143
"oneOf": [
154144
{
155145
"title": "Emoji – Python Markdown Extensions",
156146
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#emoji",
157-
"enum": [
158-
"pymdownx.emoji"
159-
]
147+
"const": "pymdownx.emoji"
160148
},
161149
{
162150
"type": "object",
@@ -208,9 +196,7 @@
208196
{
209197
"title": "Highlight – Python Markdown Extensions",
210198
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight",
211-
"enum": [
212-
"pymdownx.highlight"
213-
]
199+
"const": "pymdownx.highlight"
214200
},
215201
{
216202
"type": "object",
@@ -267,18 +253,14 @@
267253
{
268254
"title": "InlineHilite – Python Markdown Extensions",
269255
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#inlinehilite",
270-
"enum": [
271-
"pymdownx.inlinehilite"
272-
]
256+
"const": "pymdownx.inlinehilite"
273257
},
274258
{
275259
"oneOf": [
276260
{
277261
"title": "Keys – Python Markdown Extensions",
278262
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#keys",
279-
"enum": [
280-
"pymdownx.keys"
281-
]
263+
"const": "pymdownx.keys"
282264
},
283265
{
284266
"type": "object",
@@ -320,9 +302,7 @@
320302
{
321303
"title": "MagicLink – Python Markdown Extensions",
322304
"markdownDescription": "https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/",
323-
"enum": [
324-
"pymdownx.magiclink"
325-
]
305+
"const": "pymdownx.magiclink"
326306
},
327307
{
328308
"type": "object",
@@ -410,9 +390,7 @@
410390
{
411391
"title": "Mark – Python Markdown Extensions",
412392
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
413-
"enum": [
414-
"pymdownx.mark"
415-
]
393+
"const": "pymdownx.mark"
416394
},
417395
{
418396
"type": "object",
@@ -440,9 +418,7 @@
440418
{
441419
"title": "SmartSymbols – Python Markdown Extensions",
442420
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#smartsymbols",
443-
"enum": [
444-
"pymdownx.smartsymbols"
445-
]
421+
"const": "pymdownx.smartsymbols"
446422
},
447423
{
448424
"type": "object",
@@ -569,9 +545,7 @@
569545
{
570546
"title": "Snippets – Python Markdown Extensions",
571547
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#snippets",
572-
"enum": [
573-
"pymdownx.snippets"
574-
]
548+
"const": "pymdownx.snippets"
575549
}
576550
]
577551
},
@@ -580,9 +554,7 @@
580554
{
581555
"title": "SuperFences – Python Markdown Extensions",
582556
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#superfences",
583-
"enum": [
584-
"pymdownx.superfences"
585-
]
557+
"const": "pymdownx.superfences"
586558
},
587559
{
588560
"type": "object",
@@ -663,9 +635,7 @@
663635
{
664636
"title": "Tasklist – Python Markdown Extensions",
665637
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist",
666-
"enum": [
667-
"pymdownx.tasklist"
668-
]
638+
"const": "pymdownx.tasklist"
669639
},
670640
{
671641
"type": "object",
@@ -697,9 +667,7 @@
697667
{
698668
"title": "Tilde – Python Markdown Extensions",
699669
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#caret-mark-tilde",
700-
"enum": [
701-
"pymdownx.tilde"
702-
]
670+
"const": "pymdownx.tilde"
703671
},
704672
{
705673
"type": "object",

docs/schema/extra.json

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
"if": {
1919
"properties": {
2020
"provider": {
21-
"enum": [
22-
"google"
23-
]
21+
"const": "google"
2422
}
2523
}
2624
},
@@ -29,9 +27,7 @@
2927
"provider": {
3028
"title": "Google Analytics",
3129
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#google-analytics",
32-
"enum": [
33-
"google"
34-
]
30+
"const": "google"
3531
},
3632
"property": {
3733
"anyOf": [
@@ -189,21 +185,15 @@
189185
"oneOf": [
190186
{
191187
"title": "Button to accept cookies",
192-
"enum": [
193-
"accept"
194-
]
188+
"const": "accept"
195189
},
196190
{
197191
"title": "Button to reject cookies",
198-
"enum": [
199-
"reject"
200-
]
192+
"const": "reject"
201193
},
202194
{
203195
"title": "Button to manage settings",
204-
"enum": [
205-
"manage"
206-
]
196+
"const": "manage"
207197
}
208198
]
209199
},
@@ -310,9 +300,7 @@
310300
"provider": {
311301
"title": "Versioning provider",
312302
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#versioning",
313-
"enum": [
314-
"mike"
315-
]
303+
"const": "mike"
316304
},
317305
"default": {
318306
"title": "Default version",

docs/schema/plugins/blog.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/blog/",
7-
"enum": [
8-
"blog"
9-
]
7+
"const": "blog"
108
},
119
{
1210
"type": "object",
@@ -114,15 +112,11 @@
114112
"oneOf": [
115113
{
116114
"title": "Post excerpts are optional",
117-
"enum": [
118-
"optional"
119-
]
115+
"const": "optional"
120116
},
121117
{
122118
"title": "Post excerpts are required, thus the build will fail",
123-
"enum": [
124-
"required"
125-
]
119+
"const": "required"
126120
}
127121
],
128122
"default": "optional"

docs/schema/plugins/external/gen-files.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://github.com/oprypin/mkdocs-gen-files",
7-
"enum": [
8-
"git-authors"
9-
]
7+
"const": "git-authors"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/external/git-authors.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://timvink.github.io/mkdocs-git-authors-plugin/",
7-
"enum": [
8-
"git-authors"
9-
]
7+
"const": "git-authors"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/external/git-committers.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://github.com/ojacques/mkdocs-git-committers-plugin-2",
7-
"enum": [
8-
"git-committers"
9-
]
7+
"const": "git-committers"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/external/git-revision-date.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://github.com/zhaoterryy/mkdocs-git-revision-date-plugin",
7-
"enum": [
8-
"git-revision-date"
9-
]
7+
"const": "git-revision-date"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/external/literate-nav.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://github.com/oprypin/mkdocs-literate-nav",
7-
"enum": [
8-
"literate-nav"
9-
]
7+
"const": "literate-nav"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/external/macros.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://github.com/fralau/mkdocs_macros_plugin",
7-
"enum": [
8-
"macros"
9-
]
7+
"const": "macros"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/external/section-index.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://github.com/oprypin/mkdocs-section-index",
7-
"enum": [
8-
"section-index"
9-
]
7+
"const": "section-index"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/info.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/info/",
7-
"enum": [
8-
"info"
9-
]
7+
"const": "info"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/meta.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/meta/",
7-
"enum": [
8-
"meta"
9-
]
7+
"const": "meta"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/offline.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/offline/",
7-
"enum": [
8-
"offline"
9-
]
7+
"const": "offline"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/optimize.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/optimize/",
7-
"enum": [
8-
"optimize"
9-
]
7+
"const": "optimize"
108
},
119
{
1210
"type": "object",

docs/schema/plugins/privacy.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"oneOf": [
55
{
66
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/",
7-
"enum": [
8-
"privacy"
9-
]
7+
"const": "privacy"
108
},
119
{
1210
"type": "object",

0 commit comments

Comments
 (0)