All the modules I am working on or using require me to manually add my custom output to the list of outputs in my config:
[outputs]
home = [
"HTML",
"myownformat"
]
Is there any way to define some form of shallow/deep
merging instead of having to do that manually as user of a module? I would love some form of this:
- users config:
[module] # setup myownformat module [output] home = ["HTML"]
- myownformat module’s config
[output] home = ["myownformat"]
And then magically arriving at the merged format above. Is that possible with the current setup?The way I understand deep
and shallow
merging they both end at home
, so they would replace or ignore the config.