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

44 lines
1.5 KiB
JSON
Raw Normal View History

2022-06-24 15:38:01 +03:00
{
"$schema": "https://json-schema.org/draft-07/schema",
2023-01-28 16:41:31 +03:00
"title": "Add git contributors to pages",
2022-06-24 15:38:01 +03:00
"oneOf": [
{
"markdownDescription": "https://github.com/ojacques/mkdocs-git-committers-plugin-2",
"const": "git-committers"
2022-06-24 15:38:01 +03:00
},
{
"type": "object",
"properties": {
2022-06-26 12:47:23 +03:00
"git-committers": {
2022-06-24 15:38:01 +03:00
"markdownDescription": "https://github.com/ojacques/mkdocs-git-committers-plugin-2",
"type": "object",
"properties": {
"enabled": {
"title": "Enable plugin",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#+git-committers.enabled",
2022-06-24 15:38:01 +03:00
"type": "boolean",
"default": true
},
"repository": {
"title": "Repository slug",
2022-09-11 20:25:40 +03:00
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#+git-committers.repository",
2022-06-24 15:38:01 +03:00
"type": "string"
},
"branch": {
"title": "Repository branch",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#+git-committers.branch",
"type": "string",
"default": "master"
}
2022-06-24 15:38:01 +03:00
},
"additionalProperties": false,
"required": [
"repository"
]
}
},
"additionalProperties": false
}
]
}