Stream: committers
Topic: Additional Example Content
Bryn Rhodes (Aug 01 2016 at 18:48):
I have several resource examples that point to additional content that I want to include as part of the examples (additional pages, basically). How do I get those into the build? I can add them to the [pages] section in the publish.ini, but that feels wrong since they are part of the examples for a particular resource. Is there a way to do this that I'm missing?
Lloyd McKenzie (Aug 01 2016 at 19:22):
If you want stand-alone pages to be published, the only way that happens is if they're in the publish.ini file.
Lloyd McKenzie (Aug 01 2016 at 19:23):
I'm not sure there's a way to have individual examples point to anything. However, you can have a general introduction page for all of the examples that could include links to your custom pages
Bryn Rhodes (Aug 01 2016 at 19:24):
Okay, and is there any restriction on the content types? I mean, can I just include .xml and .cql content directly?
Lloyd McKenzie (Aug 02 2016 at 02:16):
That I don't know. If it's not HTML, you might want to list it as an image - that way no validation will be attempted on it.
Bryn Rhodes (Aug 02 2016 at 03:42):
FYI, I ended up adding it in the [files] section, works fine for different types of content, just copies the file straight across.
Grahame Grieve (Aug 02 2016 at 08:20):
resource examples should be registered in the spreadsheet
Bryn Rhodes (Aug 02 2016 at 14:31):
They are, they just reference non-FHIR resource content and I don't see a way to include that in the build other than through the publish.ini.
Grahame Grieve (Aug 02 2016 at 20:47):
no there probably isn't for the other content
Last updated: Apr 12 2022 at 19:14 UTC