Commit Graph

15 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
de1c417faf Revert "Update listings to account for cargo new template update" 2024-05-22 14:36:32 -04:00
Tobias Bucher
e1c1701837 Fix some whitespace at end-of-line and end-of-file 2024-05-22 16:25:21 +02:00
Nicholas Nethercote
5b6c1ceaa6 Prepare for removal of compiler plugin support.
https://github.com/rust-lang/rust/pull/116412 will remove support for
compiler plugins from rustc, which includes the entry in The Rust
Unstable Book. This commit removes a link to that entry so it won't be
broken when that PR merges.
2023-11-01 09:55:24 -04:00
steveklabnik
62210e326c fix many links in redirects
see https://travis-ci.org/rust-lang/rust/builds/333458473
2018-01-26 11:44:04 -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
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
Corey Farwell
98b18fabdd Update Unstable Book links to reflect to new layout.
https://github.com/rust-lang/rust/pull/41295
2017-04-17 13:33:10 -04:00
steveklabnik
69b461acdd fix broken link
we moved this to the unstable book
2017-04-13 18:00:11 -04: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