WIP: Expand the developer documentation #27

Draft
gremond wants to merge 77 commits from develop into developer_docs
Showing only changes of commit ea34751e08 - Show all commits

View file

@ -488,11 +488,16 @@ force_optional:
extra_vars |= obj["extra_vars"] extra_vars |= obj["extra_vars"]
if not "options" in obj: if not "options" in obj:
continue continue
if not isinstance(obj["options"], list):
options = [obj["options"]]
else:
options = obj["options"]
for option in options:
convert.parse_root_file( convert.parse_root_file(
f'rougail.config.{obj["name"]}', f'rougail.config.{obj["name"]}',
"", "",
"1.1", "1.1",
YAML().load(obj["options"]), YAML().load(option),
) )
tiram_obj = convert.save(None) tiram_obj = convert.save(None)