Commit Graph

13 Commits

Author SHA1 Message Date
Steve Klabnik
6c524fa894 fix redirect pages 2018-11-20 17:59:52 -05:00
Félix Saparelli
0ed0eef71a Highlight recommended path and lowlight the rest
Instead of placing the link to the recommended resource i.e. the second
edition in second place, push it up to the top of the list. In fact,
push the link to the first edition always at the bottom.

To emphasise even more that's where new visitors should go, bolden the
first link, and make the first-ed link smaller.

All this as well as a slight edit and simplification of the copy is
designed to make the new and recommended resources the primary path
readers take, without hiding the old resource completely.
2017-12-31 18:12:49 +13:00
Félix Saparelli
6454576fe4 Add blurb and code example
To improve immediate value and reduce discard-because-not-useful factor
upon arriving at a page which does not contain the content you were
expecting, add a small blurb taken/adapted from the newer source,
optionally accompanied by a code sample describing the feature.

However, due to the transitive nature of this resource, there must be no
content here that isn't available elsewhere.
2017-12-31 16:15:12 +13:00
Félix Saparelli
fb9f9805ed Add the title of the link into its text
To make it clearer where links are going, eliminate entirely the
language of "Related" or the long verbose book titles. Instead, simply
prefix with "In the first/second edition" as needed, and in similar
style for other resources like the reference or the Unsafe book.

Add the target's title, i.e. chapter number, name, and sometimes
subsection, directly to the link copy.
2017-12-31 12:20:58 +13:00
Félix Saparelli
e1381afbce Always go somewhere
Unless it is the correct place to go, never link to the index of the
second edition as fallback. Point instead to different books, to the
reference, to the API documentation, etc.
2017-12-31 12:20:58 +13:00
Félix Saparelli
ebbdd0132f Put the chapter title as the title
And reword the blurb to include what was previously in the title.

This makes it easier to see that one has arrived to the right place:
beforehand, the only indication was through the link target for the
first edition; it was nowhere in the copy itself for most pages.
2017-12-31 12:20:58 +13:00
Kornel
dc3c9b5472 Make explanation on redirect pages shorter to make the links forward obvious 2017-06-14 19:44:30 +01:00
Matt Brubeck
3a5480dbba Link to specific first edition chapters from /redirects 2017-04-06 16:49:56 -07:00
Matt Brubeck
581359bd23 Fix links from /redirects to /second-edition 2017-04-06 16:35:12 -07:00
steveklabnik
d6d4f48178 Fix up redirects
These fail tidy check upstream, because while linking to `/` is valid,
it won't show up on many systems, so linking to `/index.html` is
preferred.
2017-03-15 11:53:23 -04:00
steveklabnik
fd90f5f743 Fix up some frontmatter issues.
1. Explain the differences between the two books in the index.
2. format redirects to 80 cols.
2017-03-07 16:28:29 -05:00
steveklabnik
b4efb723af Rustdoc hates markdown
Markdown wants #, but rustodoc wants %.

Whatever.
2017-03-07 16:02:53 -05:00
steveklabnik
852d2427aa add redirects for original book 2017-03-03 11:45:13 -05:00