You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Config file: update JSON schema
- Add build.commands
- Mark deprecated attributes as such
- Mention a little more about how the schema can be used :)
Closes#9822
"description": "Read the Docs configuration file.",
@@ -59,12 +59,13 @@
59
59
"properties": {
60
60
"image": {
61
61
"title": "Image",
62
-
"description": "The build docker image to be used.",
62
+
"description": "DEPRECATED: use build.os instead.\n\nThe build docker image to be used.",
63
63
"enum": [
64
64
"stable",
65
65
"latest"
66
66
],
67
-
"default": "latest"
67
+
"default": "latest",
68
+
"deprecated": true
68
69
},
69
70
"apt_packages": {
70
71
"title": "APT Packages",
@@ -214,6 +215,15 @@
214
215
"type": "string"
215
216
},
216
217
"default": []
218
+
},
219
+
"commands": {
220
+
"title": "Build commands",
221
+
"description": "Override the whole build process with custom commands. When using this option, none of the commands from build.jobs will be executed.",
222
+
"type": "array",
223
+
"items": {
224
+
"title": "Custom commands",
225
+
"type": "string"
226
+
}
217
227
}
218
228
},
219
229
"required": [
@@ -231,7 +241,7 @@
231
241
"properties": {
232
242
"version": {
233
243
"title": "Version",
234
-
"description": "The Python version (this depends on the build image).",
244
+
"description": "DEPRECATED: use build.tools.python instead.\n\nThe Python version to activate for your build (availability of Python versions depend on the build image).",
0 commit comments