You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've managed to reproduce this in some cases. It looks like the print output is not dealing with relative links, rather the output of each page is not different when printing vs. normal page output.
Okay, so I think, after doing some investigations, the issue is basically that:
because the links used to be relative to the root, they happened to work for print.html, because it was at the site root
now that links are not relative to the root, they no longer work.
This means that we need some sort of "URL normalization" pass, which has to know how to re-target all of the links in the text. And it needs to know which page they are on...
I'm working on updating the rust docs to use the mdbook 0.2 series.
In #603 the new link strategy was implemented.
I can get a link to work, but then the print page is broken. See https://raw.githubusercontent.com/rust-lang/rust/master/src/doc/unstable-book/src/language-features/asm.md for example:
Changing this to either of
means that the print page's link is broken.
@cetra3 you implemented this, and @Michael-F-Bryan you merged it. Any ideas?
The text was updated successfully, but these errors were encountered: