Book: Help wanted: Fix links to go to matching section in current edition rather than root page

Created on 5 Feb 2019  路  12Comments  路  Source: rust-lang/book

Steve and I are swamped right now, but we get that this is annoying, so we'd love help.

What needs to be done is look at this PR for reference of what sections map to what sections, and make similar changes in:

to change the "current edition" links from "../index.html" to "../whatever-corresponding-section.html".

There are a few sections that won't map exactly: Chapter 7, Chapter 19, and some of the Appendices. Comment if you have trouble figuring out what a link should be and I can help!

Thank you in advance, whoever takes this on!

E-help-wanted

All 12 comments

This PR did one page: https://github.com/rust-lang/book/pull/1795

Ultimately, all the pages need to be done, I'd accept a PR for some or all!

I don't mind giving this a go if you wouldn't mind.

I've made some changes in this commit: https://github.com/danpker/book/commit/eaf33af2c0c5cd9a8761b8582b89de1b8bdb1f33
I should be able to do some more in a bit.

I actually wrote a python script to automate this.. Would that be helpful? Herei it is for second edition
https://github.com/rahul-thakoor/book/commit/1aab6c6dd8fce3b06506c5c90b34ab2892539f0b

I've made a PR for some First Edition stuff: https://github.com/rust-lang/book/pull/1803

Can I take the second edition?

Go for it, it looks like you've already done it 馃槈

Go for it, it looks like you've already done it 馃槈

Indeed.. Save some trouble.. Thanks

Fixes for second edition: #1804

Thank you both!!!! That's a huge help <3 <3 <3

Thank you helpers!!! 馃挴

Thank you everyone!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

binarycrusader picture binarycrusader  路  4Comments

istarus picture istarus  路  4Comments

mikebenfield picture mikebenfield  路  3Comments

jvivian picture jvivian  路  4Comments

rpjohnst picture rpjohnst  路  4Comments