about summary refs log tree commit diff
path: root/src/doc/index.md
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-11-13 15:09:24 -0700
committerMichael Howell <michael@notriddle.com>2023-11-13 16:00:31 -0700
commit29f5d2c1aedc37ec0040504b73e6c9ac5a8c97c1 (patch)
tree6b85f1303cc022dcb95644eb11934e678fa6372a /src/doc/index.md
parent85b84504669c6c779fab7b96fbe5b26635067cd1 (diff)
downloadrust-29f5d2c1aedc37ec0040504b73e6c9ac5a8c97c1.tar.gz
rust-29f5d2c1aedc37ec0040504b73e6c9ac5a8c97c1.zip
doc: add release notes to standalone doc bundle
This is a workaround for #101714 on top of being a useful addition
in its own right. It is intended to change the "canonical URL"
for viewing the release notes from GitHub, which is relatively
slow, to a pre-rendered HTML file that loads from the same CDN
as the standard library docs. It also means you get a copy of
the release notes when installing the rust-docs with rustup.
Diffstat (limited to 'src/doc/index.md')
-rw-r--r--src/doc/index.md14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/doc/index.md b/src/doc/index.md
index 7c97c16c20b..8ad5b427b55 100644
--- a/src/doc/index.md
+++ b/src/doc/index.md
@@ -4,12 +4,6 @@
 nav {
     display: none;
 }
-body {
-    font-family: serif;
-}
-h1, h2, h3, h4, h5, h6 {
-    font-family: sans-serif;
-}
 h3 {
     font-size: 1.35rem;
 }
@@ -119,10 +113,14 @@ documentation for your project _and_ all its dependencies in their correct
 version, and open it in your browser. Add the flag `--document-private-items` to
 also show items not marked `pub`.
 
-### The Edition Guide
+### Rust Version History
+
+[The Release Notes](releases.html) describes the change history of the Rust
+toolchain and language.
 
 [The Edition Guide](edition-guide/index.html) describes the Rust editions and
-their differences.
+their differences. The latest version of the toolchain supports all
+historical editions.
 
 ### The `rustc` Book