diff --git a/mk/docs.mk b/mk/docs.mk index 922b67d7cc9..0f3d84cf631 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 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 *
* 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/)