Stream: IG creation
Topic: links to anchors
Eric Haas (Nov 24 2020 at 20:04):
These relative links are causing link errors in US Core and I cannot figure out why. If you click on them they resolve and the html is correct. I suspect the anchor is messing up the tool.
The link 'StructureDefinition-us-core-organization.html#notes' for "See Change Here" cannot be resolved (valid targets: 94 targets)
index.html#/html/body/div/div/div/div/div/div/ol/li/p/a at Line 419, column 137 error The link 'StructureDefinition-us-core-patient.html#notes' for "See Change Here" cannot be resolved (valid targets: 127 targets)
here is a screenshot confirming the defining the anchor id="notes"
There are other places where I removed the anchor due to link errors but I would prefer to point to the anchor and not the page.
Sarah Gaunt (Nov 24 2020 at 20:06):
I had the same issue - I was trying to link to an anchor for a group on the artifact index page. I gave up and just removed the anchor and linked to the ful page. :sad:
Grahame Grieve (Nov 24 2020 at 20:08):
you need to create an actual anchor
Grahame Grieve (Nov 24 2020 at 20:08):
<a name="notes"> </a>
Eric Haas (Nov 24 2020 at 20:13):
OK I guess that will have to wait and be a PR to the templates
Lloyd McKenzie (Nov 24 2020 at 23:31):
A change to the templates?
Eric Haas (Nov 25 2020 at 02:26):
the notes and intro headers are not anchored like this. they only have a id="notes" in the h3 node
Lloyd McKenzie (Nov 25 2020 at 23:31):
Can you raise an issue against the Git project @Eric Haas ?
Last updated: Apr 12 2022 at 19:14 UTC