FHIR Chat · Build errors - Broken Links · committers

Stream: committers

Topic: Build errors - Broken Links


view this post on Zulip AbdulMalik Shakir (Feb 26 2019 at 14:36):

My VRDR IG has many pages. One for each profile and then several for introductory and explanatory text. When I conduct a build the IG published but has a large number of "broken links". It seems to indicate that all links on every page are broken. However when I view the page all of the links work. I'm puzzled. There four errors that appear on every page, even pages with no links. They are:

The link 'http://hl7.org/fhir/STU3/' for "null" cannot be resolved
The image source 'guide/VitalRecordsDeathReporting/files/styles/ballotable/fhir-logo.png?v=1d4ca6e6331a800' cannot be resolved
The link '/' for "Vital Records Death Reporting" cannot be resolved
The image source 'guide/VitalRecordsDeathReporting/files/styles/ballotable/hl7-logo.png?v=1d4ca6e6331a800' cannot be resolved

The errors seem related to the FHIR and HL7 logos that appear on the top of each page. Has anyone else run into this error. What is the resolution?

The remaining broken links on each page are links that are part of the expansion of structured definitions that include links to the HL7 FHIR pages for datatypes, value sets, resource definitions, etc. Again when I click the links they work so I am confused as to why they are being reported as broken. Can someone give me guidance on how I might proceed with these errors?

Thanks.

view this post on Zulip Lloyd McKenzie (Feb 26 2019 at 15:05):

The parameter on your png is definitely the cause of one error. In practice, the browser's probably dropping the parameter, which is why your link works. However, the parameter is unnecessary and is probably confusing the link checker. There may be a case issue with your FHIR link. The link checker presumes that links are case-sensitive (because they often are). The link checker expects the base URL for the standard to be "stu3" not "STU3"

view this post on Zulip Lloyd McKenzie (Feb 26 2019 at 15:06):

(That's how it's defined in the package files the IGPublisher is grabbing.)

view this post on Zulip AbdulMalik Shakir (Feb 26 2019 at 16:50):

Lloyd..... Thanks your comment got me headed in the right direction. Removing the parameter on the PNG worked. Changing the case of STU to stu had no effect. However, changing the http: to https: did make a difference. And finally removing the unnecessary hyperlink "href="/" before the page title removed the final remaining error.

I completed these change for one page and now need to make the same changes in all pages. THANKS!

view this post on Zulip Lloyd McKenzie (Feb 26 2019 at 17:01):

http should be the link. Not sure why your build is wanting https...


Last updated: Apr 12 2022 at 19:14 UTC