|
1 | 1 | {
|
2 | 2 | "$schema": "https://json-schema.org/draft-07/schema",
|
3 | 3 | "title": "Material for MkDocs",
|
4 |
| - "markdownDescription": "Configuration syntax", |
| 4 | + "markdownDescription": "Configuration", |
5 | 5 | "type": "object",
|
6 | 6 | "properties": {
|
| 7 | + "INHERIT": { |
| 8 | + "title": "Inherit from configuration", |
| 9 | + "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#configuration-inheritance", |
| 10 | + "pattern": "\\.yml$" |
| 11 | + }, |
7 | 12 | "site_name": {
|
8 |
| - "title": "Site name – set in header, title and drawer", |
| 13 | + "title": "Site name, used in header, title and drawer", |
9 | 14 | "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_name",
|
10 | 15 | "type": "string"
|
11 | 16 | },
|
|
15 | 20 | "type": "string"
|
16 | 21 | },
|
17 | 22 | "site_author": {
|
18 |
| - "title": "Site author, set as meta tag", |
| 23 | + "title": "Site author, used in document head", |
19 | 24 | "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_author",
|
20 | 25 | "type": "string"
|
21 | 26 | },
|
22 | 27 | "site_description": {
|
23 |
| - "title": "Site description, set as meta tag and in social cards", |
| 28 | + "title": "Site description, used in document head and in social cards", |
24 | 29 | "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_description",
|
25 | 30 | "type": "string"
|
26 | 31 | },
|
| 32 | + "repo_name": { |
| 33 | + "title": "Repository name, used in header", |
| 34 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#repository-name", |
| 35 | + "type": "string" |
| 36 | + }, |
| 37 | + "repo_url": { |
| 38 | + "title": "Repository URL", |
| 39 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#repository", |
| 40 | + "type": "string" |
| 41 | + }, |
| 42 | + "edit_uri": { |
| 43 | + "title": "Path from repository root to directory containing Markdown", |
| 44 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#edit-button", |
| 45 | + "type": "string" |
| 46 | + }, |
| 47 | + "copyright": { |
| 48 | + "title": "Copyright, used in footer", |
| 49 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-footer/#copyright-notice", |
| 50 | + "type": "string" |
| 51 | + }, |
| 52 | + "docs_dir": { |
| 53 | + "title": "Directory containing the Markdown sources", |
| 54 | + "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#docs_dir", |
| 55 | + "type": "string", |
| 56 | + "default": "docs" |
| 57 | + }, |
| 58 | + "site_dir": { |
| 59 | + "title": "Directory containing the HTML output", |
| 60 | + "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#site_dir", |
| 61 | + "type": "string", |
| 62 | + "default": "site" |
| 63 | + }, |
| 64 | + "use_directory_urls": { |
| 65 | + "title": "Pages are located in their own directories", |
| 66 | + "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#use_directory_urls", |
| 67 | + "type": "boolean", |
| 68 | + "default": false |
| 69 | + }, |
| 70 | + "extra_templates": { |
| 71 | + "title": "Additional HTML files to include", |
| 72 | + "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#extra_templates", |
| 73 | + "type": "array", |
| 74 | + "items": { |
| 75 | + "title": "Path to HTML file", |
| 76 | + "markdownDescription": "https://www.mkdocs.org/user-guide/configuration/#extra_templates", |
| 77 | + "pattern": "\\.html$" |
| 78 | + }, |
| 79 | + "uniqueItems": true, |
| 80 | + "minItems": 1 |
| 81 | + }, |
| 82 | + "extra_css": { |
| 83 | + "title": "Additional CSS files to include", |
| 84 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-css", |
| 85 | + "type": "array", |
| 86 | + "items": { |
| 87 | + "title": "Path to CSS file", |
| 88 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-css", |
| 89 | + "pattern": "\\.css$" |
| 90 | + }, |
| 91 | + "uniqueItems": true, |
| 92 | + "minItems": 1 |
| 93 | + }, |
| 94 | + "extra_javascript": { |
| 95 | + "title": "Additional JavaScript files to include", |
| 96 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript", |
| 97 | + "type": "array", |
| 98 | + "items": { |
| 99 | + "title": "Path to JavaScript file", |
| 100 | + "markdownDescription": "https://squidfunk.github.io/mkdocs-material/customization/#additional-javascript", |
| 101 | + "pattern": "\\.js$" |
| 102 | + }, |
| 103 | + "uniqueItems": true, |
| 104 | + "minItems": 1 |
| 105 | + }, |
27 | 106 | "theme": {
|
28 | 107 | "$ref": "schema/theme.json"
|
29 | 108 | },
|
|
32 | 111 | },
|
33 | 112 | "markdown_extensions": {
|
34 | 113 | "$ref": "schema/extensions.json"
|
| 114 | + }, |
| 115 | + "nav": { |
| 116 | + "$ref": "schema/nav.json" |
35 | 117 | }
|
36 | 118 | },
|
37 |
| - "additionalProperties": false, |
38 |
| - "required": [ |
39 |
| - "site_name" |
40 |
| - ] |
| 119 | + "additionalProperties": false |
41 | 120 | }
|
0 commit comments