Stream: IG creation
Topic: IG Parameters
Gabriel Kleinoscheg (Nov 18 2021 at 10:48):
I was wondering if the IG parameters excludexml
, excludettl
, and excludejson
as described in https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters are currently implemented and working?
Eric Haas (Nov 18 2021 at 11:20):
yes
Gabriel Kleinoscheg (Nov 18 2021 at 11:45):
Well, ok, the navigational tabs are being displayed or hidden depending on the configuration. But the files, e.g. *.ttl and *.ttl.html, are still generated.
Documentation, however, states that generation is also prevented if the parameters are set to true
.
Eric Haas (Nov 18 2021 at 12:05):
I was not aware that the pages were still being built -I knew that the fragments where - but sadly turning those off does not give a performance boost.
Grahame Grieve (Nov 18 2021 at 12:39):
only the template can control the actual generation
Gabriel Kleinoscheg (Nov 18 2021 at 12:39):
Without messing with the IG itself it is possible to alter the configuration of the template in use in config.json
. Here an example for CodeSystem if you want to prevent TTL from being generated:
{
"defaults": {
"CodeSystem": {
"ttl": false,
"ttl-html": false
}
}
}
Grahame Grieve (Nov 18 2021 at 12:40):
right you can do it in the template. Though you'll need your own template to do that
Lloyd McKenzie (Nov 18 2021 at 15:58):
So the issue is that there are files in the IG package (that aren't referenced anywhere) and that's making the package larger than necessary or is potentially confusing to people who download the package or explore it by hand?
Lloyd McKenzie (Nov 18 2021 at 15:59):
If that's a serious issue, I guess we could theoretically get the 'exclude' parameters to pass into the publisher and override the settings in the config.json so you wouldn't need a custom template...
Eric Haas (Nov 18 2021 at 16:08):
My only issue is the publisher impacts my laptop's performance even for small igs. I had hoped turning off all those thing would speed it up.
Lloyd McKenzie (Nov 18 2021 at 16:28):
By a few seconds maybe. That's not a time-consuming part of what it does.
Last updated: Apr 12 2022 at 19:14 UTC