Path to highlight.css and highlight.js in additional content is wrong

Topics: User Forum
Mar 6, 2007 at 12:41 PM

I'm having trouble with the code highlighting in my additional content part of the generated documentation. I looked at the source of the transformed html files and noticed that the path to hightlight.css and highlight.js looked a bit strange.

When looking at my structure the path should be "../../html/highlight.css", instead it is "../../../../../../../../../../../../../../html/highlight.css" (actually it is even longer, but I saw no point in hammering it in =).

This odd behaviour only appears in the website target of the build, the generated .chm displays all code as it should.

Any idea if the reason is on my end of the table or is there a bug in SHFB?

Thanx in advance / Daniel
Mar 6, 2007 at 3:20 PM
It's a bug and has been fixed. It'll be in the next release. You can use the Special build under Planned Releases if you need a fix for the time being.

Mar 6, 2007 at 3:41 PM
Thanx for your reply. No rush for me yet so I'll just wait for the next release.

/ Daniel