docs: describe the outer root fields

roms_directory, emulators_directory and configs_directory described
themselves but not their fields, which the data page lists.
This commit is contained in:
Abdessamad Derraz committed 2026-11-09 23:01:22 +01:00
1 parent 314b15b4ad
commit 594e31cd6a
1 file changed
+8
+8
View File
@@ -540,11 +540,13 @@
],
"properties": {
"bios_folder": {
"description": "Name of the BIOS folder from_bios starts from, the platform's base_destination.",
"type": "string",
"minLength": 1,
"pattern": "^[^/\\\\]+$"
},
"from_bios": {
"description": "The roms root relative to that BIOS folder.",
"type": "string",
"pattern": "^(\\.|\\.\\.(/\\.\\.)?(/[^/\\\\:.][^/\\\\:]*)*)$",
"maxLength": 1024
@@ -563,11 +565,13 @@
],
"properties": {
"bios_folder": {
"description": "Name of the BIOS folder; the other paths are relative to the folder holding it.",
"type": "string",
"minLength": 1,
"pattern": "^[^/\\\\]+$"
},
"searched": {
"description": "The places the launcher tries for an emulator key, in order, {key} standing for it.",
"type": "array",
"minItems": 1,
"items": {
@@ -576,10 +580,12 @@
}
},
"default": {
"description": "The place the installer creates when none of searched exists.",
"type": "string",
"pattern": "\\{key\\}"
},
"config": {
"description": "The launcher's key=value file, a key of which moves the folder.",
"type": "string",
"pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$)).+$"
}
@@ -595,11 +601,13 @@
],
"properties": {
"bios_folder": {
"description": "Name of the BIOS folder from_bios starts from, the platform's base_destination.",
"type": "string",
"minLength": 1,
"pattern": "^[^/\\\\]+$"
},
"from_bios": {
"description": "The configs folder relative to that BIOS folder.",
"type": "string",
"pattern": "^(\\.|\\.\\.(/\\.\\.)?(/[^/\\\\:.][^/\\\\:]*)*)$",
"maxLength": 1024