Stream: implementers
Topic: jekyll without ig publisher
Sean McIlvenna (May 04 2017 at 18:42):
is there a way to re-run the jekyll process on an IG without re-running the entire publisher?
Eric Haas (May 04 2017 at 19:06):
use the -watch option then it updates with each update to a page for example.
-watch (optional): if this is present, the publisher will not terminate; instead, it will stay running, and watch for changes to the IG or its contents and re-run when it sees changes. Note that changes the spec or to dependent implementation guides (see below) are not picked up during watch mode
Sean McIlvenna (May 04 2017 at 19:54):
trying now eric, will see what happens
Sean McIlvenna (May 04 2017 at 19:54):
thanks
Sean McIlvenna (May 04 2017 at 19:57):
seems to be working... for the most part
Sean McIlvenna (May 04 2017 at 19:57):
the templates I'm changing are at the top-level of the package
Sean McIlvenna (May 04 2017 at 19:58):
and -watch only watches the "pages" directory, it seems
Sean McIlvenna (May 04 2017 at 19:58):
so, would be good if it could also watch top-level templates for changes
Sean McIlvenna (May 04 2017 at 19:58):
but, easy enough to get around... just need to add a space and hit "save" on a pages/ file to get it to re-start the jekyll proces
Sean McIlvenna (May 04 2017 at 20:00):
@Eric Haas do you know how to tell (from jekyll templates) what examples are loaded for a given structure-definition?
Sean McIlvenna (May 04 2017 at 20:00):
not all of my StructureDefinitions have examples, so I'm trying to figure out how to selectively list the samples for a StructureDefinition in the jekyll templates
Sean McIlvenna (May 04 2017 at 20:01):
I figured maybe the ImplementationGuide.resource.exampleFor field would tell the ig publisher to include some extra info in the jekyll variables for StructureDefinitions
Sean McIlvenna (May 04 2017 at 20:01):
but that doesn't seem to be the case
Eric Haas (May 04 2017 at 20:09):
-watch it will update after making pages, example and spreadsheet/resource changes too. but yes, the templates require a full publish.
Eric Haas (May 04 2017 at 20:12):
re examples for each sd look in the temp/_includes/ for list files. but the titles are a wonky and its ugly so I manually update them using an inserted md file.
Sean McIlvenna (May 04 2017 at 20:13):
ok. might just end up generate a _data file that lists the examples in the IG for each StructureDefinition
Lloyd McKenzie (May 04 2017 at 20:41):
There should be a data file that lists what examples exist for a given artifact - take a look at SDC.
Last updated: Apr 12 2022 at 19:14 UTC