Book Links Fail
pducks32 opened this issue · comments
Hi,
All links within the book on Github fail. This is because their definitions are set to .html
files and not .md
files.
I was going to make a Pull Request but I am new to rust and failure and thought that maybe they are intentionally wrong to support some other use case for them (like a website version). If that is the case then maybe there is another approach that could allow both Github and this other client to both work side by side?
Steps to Reproduce
- Navigate to https://github.com/rust-lang-nursery/failure/blob/master/book/src/custom-fail.md
- Scroll to bottom
- Click on use-error link
- Note the 404
Steps to Investigate
- Click edit on Github
- Scroll to the link definitions at the end
- Note the
.html
extension for a.md
page.
This works as intended.
Those md files are source code that is compiled into html for the failure book that can be found here;
https://rust-lang-nursery.github.io/failure/intro.html
The confusion arises because Github understands markdown so you can read the book here but of course without working links.