Stream: IG creation
Topic: Adding content to the IG
Jose Costa Teixeira (Mar 24 2020 at 21:38):
One of my ig.xml is now 1000+ lines long. that is not really easy to manage anymore
additionally, i have to change the IG every time of of the contributors has a new resource to add.
Jose Costa Teixeira (Mar 24 2020 at 21:40):
Here's an idea:
Could we have (by using an extension) the IG get the definition.resources from a List? Then I can have a list for vocabulary, a list for scenarios, a list for profiles, one for models... and I can simply point to those lists from the IG, and the maintainers simply have to add the lists and the resources.
Jose Costa Teixeira (Mar 24 2020 at 21:41):
I can play around with the templates to have something, but I want to see what the toolsmiths think of this.
Jose Costa Teixeira (Mar 24 2020 at 21:42):
this is not (yet) about using that to create ToC and menus, it's just to make sure that the IG can point to a list of resources.
Jose Costa Teixeira (Mar 24 2020 at 21:42):
I think this impacts sushi @Chris Moesel
Jose Costa Teixeira (Mar 24 2020 at 21:42):
this way I can point to my list, and Sushi can populate that list instead of rewriting the entire IG
Jose Costa Teixeira (Mar 24 2020 at 21:50):
(this could eventually be used for making a user-defined structured TOC by having Lists of Lists)
Jose Costa Teixeira (Mar 24 2020 at 21:51):
(and could be interesting to add items to the menu as well)
Grahame Grieve (Mar 24 2020 at 22:14):
the IG get the definition.resources from a List?
yes that works already, though the title is a bit tricky
Jose Costa Teixeira (Mar 24 2020 at 22:16):
now that's good news. Is there any example I can look at?
Lloyd McKenzie (Mar 24 2020 at 23:24):
You can also have the IG just grab all the resources without needing to list them at all (except for examples because the IG is the only place you can declare a title or description for those).
Jose Costa Teixeira (Mar 25 2020 at 10:14):
Indeed, but we need more control.
Jose Costa Teixeira (Mar 31 2020 at 05:39):
Grahame Grieve said:
the IG get the definition.resources from a List?
yes that works already, though the title is a bit tricky
where can I find anything on this?
Grahame Grieve (Mar 31 2020 at 05:51):
in the ig parameters documentation
Jose Costa Teixeira (Mar 31 2020 at 06:06):
i don't see anything that resembles list or resource containers
Grahame Grieve (Mar 31 2020 at 07:36):
autoload-resources
Jose Costa Teixeira (Mar 31 2020 at 08:05):
from what I read, this option will tell the IG get resources from sub-folders, I was looking at a List.
Jose Costa Teixeira (Mar 31 2020 at 08:07):
if you confirm that sub-folders is what we have, I can use that for now.
Jose Costa Teixeira (Mar 31 2020 at 08:08):
(using Lists would be interesting that it could potentially be useful to populate the ToC and menus.)
Last updated: Apr 12 2022 at 19:14 UTC