2022-01-29 18:12:25 +03:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft-07/schema",
|
|
|
|
"title": "Material for MkDocs",
|
2022-01-29 20:19:42 +03:00
|
|
|
"markdownDescription": "Configuration",
|
2022-01-29 18:12:25 +03:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-01-29 20:19:42 +03:00
|
|
|
"INHERIT": {
|
|
|
|
"title": "Inherit from configuration",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#configuration-inheritance",
|
|
|
|
"pattern": "\\.yml$"
|
|
|
|
},
|
2022-01-29 18:12:25 +03:00
|
|
|
"site_name": {
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site name, used in header, title and drawer",
|
2022-01-29 18:12:25 +03:00
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_name",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"site_url": {
|
|
|
|
"title": "Site URL",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_url",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"site_author": {
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site author, used in document head",
|
2022-01-29 18:12:25 +03:00
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_author",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"site_description": {
|
2022-01-29 20:19:42 +03:00
|
|
|
"title": "Site description, used in document head and in social cards",
|
2022-01-29 18:12:25 +03:00
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_description",
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-01-29 20:19:42 +03:00
|
|
|
"repo_name": {
|
|
|
|
"title": "Repository name, used in header",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#repository-name",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"repo_url": {
|
|
|
|
"title": "Repository URL",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#repository",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"edit_uri": {
|
|
|
|
"title": "Path from repository root to directory containing Markdown",
|
2023-01-06 00:59:56 +03:00
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#edit_uri",
|
2022-01-29 20:19:42 +03:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"copyright": {
|
|
|
|
"title": "Copyright, used in footer",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#copyright-notice",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"docs_dir": {
|
|
|
|
"title": "Directory containing the Markdown sources",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#docs_dir",
|
|
|
|
"type": "string",
|
|
|
|
"default": "docs"
|
|
|
|
},
|
|
|
|
"site_dir": {
|
|
|
|
"title": "Directory containing the HTML output",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_dir",
|
|
|
|
"type": "string",
|
|
|
|
"default": "site"
|
|
|
|
},
|
|
|
|
"use_directory_urls": {
|
|
|
|
"title": "Pages are located in their own directories",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#use_directory_urls",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"extra_templates": {
|
|
|
|
"title": "Additional HTML files to include",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#extra_templates",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"title": "Path to HTML file",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#extra_templates",
|
|
|
|
"pattern": "\\.html$"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"minItems": 1
|
|
|
|
},
|
|
|
|
"extra_css": {
|
|
|
|
"title": "Additional CSS files to include",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-css",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"title": "Path to CSS file",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-css",
|
2022-07-17 13:03:37 +03:00
|
|
|
"pattern": "\\.css($|\\?)"
|
2022-01-29 20:19:42 +03:00
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"minItems": 1
|
|
|
|
},
|
|
|
|
"extra_javascript": {
|
|
|
|
"title": "Additional JavaScript files to include",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"title": "Path to JavaScript file",
|
|
|
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript",
|
2022-07-17 13:03:37 +03:00
|
|
|
"pattern": "\\.js($|\\?)"
|
2022-01-29 20:19:42 +03:00
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"minItems": 1
|
|
|
|
},
|
2022-12-02 21:05:11 +03:00
|
|
|
"hooks": {
|
|
|
|
"title": "Hooks",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#hooks",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"title": "Path to Python file",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#hooks",
|
|
|
|
"pattern": "\\.py$"
|
|
|
|
},
|
|
|
|
"uniqueItems": true,
|
|
|
|
"minItems": 1
|
|
|
|
},
|
2022-01-30 16:19:35 +03:00
|
|
|
"strict": {
|
|
|
|
"title": "Strict mode",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#strict",
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
2022-03-26 10:23:54 +03:00
|
|
|
"dev_addr": {
|
|
|
|
"title": "Development IP Address",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#dev_addr",
|
|
|
|
"type": "string",
|
|
|
|
"default": "127.0.0.1:8000"
|
|
|
|
},
|
2022-01-30 16:19:35 +03:00
|
|
|
"remote_branch": {
|
|
|
|
"title": "Remote branch to deploy to",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#remote_branch",
|
|
|
|
"type": "string",
|
|
|
|
"default": "gh-pages"
|
|
|
|
},
|
|
|
|
"remote_name": {
|
|
|
|
"title": "Remote origin to deploy to",
|
|
|
|
"markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#remote_name",
|
|
|
|
"type": "string",
|
|
|
|
"default": "origin"
|
|
|
|
},
|
2022-01-29 18:12:25 +03:00
|
|
|
"theme": {
|
|
|
|
"$ref": "schema/theme.json"
|
|
|
|
},
|
|
|
|
"plugins": {
|
|
|
|
"$ref": "schema/plugins.json"
|
|
|
|
},
|
|
|
|
"markdown_extensions": {
|
|
|
|
"$ref": "schema/extensions.json"
|
2022-01-29 20:19:42 +03:00
|
|
|
},
|
2022-01-29 21:14:23 +03:00
|
|
|
"extra": {
|
|
|
|
"$ref": "schema/extra.json"
|
|
|
|
},
|
2022-01-29 20:19:42 +03:00
|
|
|
"nav": {
|
|
|
|
"$ref": "schema/nav.json"
|
2023-01-28 16:35:24 +03:00
|
|
|
},
|
|
|
|
"watch": {
|
|
|
|
"items": {
|
|
|
|
"title": "Path to watch for changes",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"type": "array"
|
2022-01-29 18:12:25 +03:00
|
|
|
}
|
|
|
|
},
|
2022-06-05 11:26:58 +03:00
|
|
|
"additionalProperties": false
|
2022-01-29 18:12:25 +03:00
|
|
|
}
|