WIP: Expand the developer documentation #27

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

View file

@ -37,9 +37,7 @@ class Rougail(UserDatas):
self.converted = RougailConvert(self.rougailconfig)
self.config = None
def run(self):
"""Get Tiramisu Config"""
if not self.config:
def get_root_option(self):
tiram_obj = self.converted.save()
optiondescription = {}
custom_types = {
@ -47,8 +45,13 @@ class Rougail(UserDatas):
for custom in self.rougailconfig["custom_types"].values()
}
exec(tiram_obj, custom_types, optiondescription) # pylint: disable=W0122
return optiondescription["option_0"]
def run(self):
"""Get Tiramisu Config"""
if not self.config:
self.config = Config(
optiondescription["option_0"],
self.get_root_option(),
display_name=tiramisu_display_name,
)
self.config.property.read_write()