From 1cede0b0ef1d2747e9747a3f177ce83522d90a10 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 27 May 2015 15:08:06 -0400 Subject: [PATCH 1/2] Fix section headers on Not Found page Fixes #25794 --- src/doc/not_found.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/not_found.md b/src/doc/not_found.md index e740bf3c223..0efdf45c640 100644 --- a/src/doc/not_found.md +++ b/src/doc/not_found.md @@ -11,7 +11,7 @@ Looks like you've taken a wrong turn. Some things that might be helpful to you though: -## Search +# Search *
@@ -19,12 +19,12 @@ Some things that might be helpful to you though:
* Rust doc search: -## Reference +# Reference * [The Rust official site](http://rust-lang.org) * [The Rust reference](http://doc.rust-lang.org/reference.html) -## Docs +# Docs * [The standard library](http://doc.rust-lang.org/std/) From 6c452bebc5432ff5da26746dbd397615f4b7a804 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 9 Jun 2015 15:47:48 -0400 Subject: [PATCH 2/2] Remove numbers all together from not_found.html --- mk/docs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/mk/docs.mk b/mk/docs.mk index f3fa4fd908c..8cf86a051d8 100644 --- a/mk/docs.mk +++ b/mk/docs.mk @@ -169,6 +169,7 @@ DOC_TARGETS += doc/not_found.html doc/not_found.html: $(D)/not_found.md $(HTML_DEPS) | doc/ @$(call E, rustdoc: $@) $(Q)$(RUSTDOC) $(RUSTDOC_HTML_OPTS_NO_CSS) \ + --markdown-no-toc \ --markdown-css http://doc.rust-lang.org/rust.css $< define DEF_DOC