Updated JSON schema

This commit is contained in:
squidfunk 2023-01-28 14:41:31 +01:00
parent 7132103e24
commit f08566ada1
9 changed files with 18 additions and 17 deletions

View File

@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "MkDocs plugin to programmatically generate documentation pages during the build",
"title": "Generate pages during the build",
"oneOf": [
{
"markdownDescription": "https://github.com/oprypin/mkdocs-gen-files",
@ -24,5 +24,6 @@
"type": ["object", "null"]
}
}
}]
}
]
}

View File

@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Git authors plugin",
"title": "Add git authors to pages",
"oneOf": [
{
"markdownDescription": "https://timvink.github.io/mkdocs-git-authors-plugin/",

View File

@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Git committers plugin",
"title": "Add git contributors to pages",
"oneOf": [
{
"markdownDescription": "https://github.com/ojacques/mkdocs-git-committers-plugin-2",

View File

@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Git revision date plugin",
"title": "Add git revision date to pages",
"oneOf": [
{
"markdownDescription": "https://github.com/zhaoterryy/mkdocs-git-revision-date-plugin",

View File

@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Literate navigation plugin",
"title": "Configure navigation in Markdown instead of YAML",
"oneOf": [
{
"markdownDescription": "https://github.com/oprypin/mkdocs-literate-nav",

View File

@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Macros plugin",
"title": "Use variables and macros in Markdown",
"oneOf": [
{
"markdownDescription": "https://github.com/fralau/mkdocs_macros_plugin",

View File

@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Minify plugin",
"title": "Minify HTML, JavaScript and CSS during the build",
"type": "object",
"properties": {
"minify": {

View File

@ -1,27 +1,27 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Redirects plugin",
"title": "Add redirects when moving pages to new locations",
"type": "object",
"properties": {
"redirects": {
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects",
"markdownDescription": "https://github.com/mkdocs/mkdocs-redirects",
"type": "object",
"properties": {
"redirect_maps": {
"title": "Mapping of Markdown files",
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
"markdownDescription": "https://github.com/mkdocs/mkdocs-redirects#using",
"type": "object",
"patternProperties": {
"\\.md$": {
"oneOf": [
{
"title": "Internal redirect",
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
"markdownDescription": "https://github.com/mkdocs/mkdocs-redirects#using",
"pattern": "\\.md(#\\S+)?$"
},
{
"title": "External redirect",
"markdownDescription": "https://github.com/datarobot/mkdocs-redirects#using",
"markdownDescription": "https://github.com/mkdocs/mkdocs-redirects#using",
"pattern": "^https?:"
}
]

View File

@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "MkDocs plugin to allow clickable sections that lead to an index page",
"title": "Add index section pages to navigation",
"oneOf": [
{
"markdownDescription": "https://github.com/oprypin/mkdocs-section-index",
@ -12,8 +12,8 @@
"type": "object",
"additionalProperties": false,
"properties": {
"section-index": {
}
"section-index": {}
}
}]
}
]
}