FHIR Chat · Heading offset · IG creation

Stream: IG creation

Topic: Heading offset


view this post on Zulip Jose Costa Teixeira (May 11 2020 at 06:36):

where is {site.data.info.headingOffset}} defined? Can I control it?
Reason for this: my pages are skipping one heading level and I don't know why - http://build.fhir.org/ig/hl7-be/be-core/branches/master/usecases.html

view this post on Zulip Jose Costa Teixeira (May 11 2020 at 06:37):

level 3 is missing. My html is <h3 id="patient-demographics">Patient demographics</h3> but it shows up as 3.2.0.1

view this post on Zulip Jose Costa Teixeira (May 11 2020 at 07:11):

@Grahame Grieve any idea what to look for?
image.png
(this should go from 3.2 to 3.2.1, not 3.2.0.1)

view this post on Zulip Grahame Grieve (May 11 2020 at 07:18):

I don't find headingOffset in the code anywhere. I don't know where it comes from

view this post on Zulip Jose Costa Teixeira (May 11 2020 at 08:06):

Just realized something: in my example, it cannot be 3.2.1 because 3.2.1 is already taken by a sub-page

view this post on Zulip Jose Costa Teixeira (May 11 2020 at 08:06):

image.png

view this post on Zulip Jose Costa Teixeira (May 11 2020 at 08:07):

so it seems the publisher is just smarter than me...

view this post on Zulip Lloyd McKenzie (May 11 2020 at 14:44):

headingOffset was used for multi-version IGs. That approach is now deprecated (and broken). We haven't yet introduced the new approach - in part because it's a ton of work and in part because the original impetus to support multi-version Da Vinci IGs is now gone since Da Vinci has consolidated on R4

view this post on Zulip Jose Costa Teixeira (May 11 2020 at 14:45):

good. The issue I have is cosmetic, i don't expect complaints about it.

view this post on Zulip Jose Costa Teixeira (May 11 2020 at 14:47):

And I think this may be adjacent or overlapping with some new ideas for handling IG structure - ToC, menus...
(I'm not sure about that, it's just a feeling, so I will let it sit there)


Last updated: Apr 12 2022 at 19:14 UTC