docs: Add a not found page

This commit is contained in:
Richo Healey 2014-05-11 23:10:40 -07:00 committed by Alex Crichton
parent df802a2754
commit ef23fa17c3
2 changed files with 21 additions and 1 deletions

View File

@ -30,7 +30,7 @@ DOCS := index intro tutorial guide-ffi guide-macros guide-lifetimes \
guide-tasks guide-container guide-pointers guide-testing \
guide-runtime complement-bugreport complement-cheatsheet \
complement-lang-faq complement-project-faq rust rustdoc \
guide-unsafe
guide-unsafe not_found
PDF_DOCS := tutorial rust

20
src/doc/not_found.md Normal file
View File

@ -0,0 +1,20 @@
% Not Found
<!-- Completely hide the TOC and the section numbers -->
<style type="text/css">
#TOC { display: none; }
.header-section-number { display: none; }
li {list-style-type: none; }
</style>
Looks like you've taken a wrong turn.
Some things that might be helpful to you though:
## Reference
* [The Rust official site](http://rust-lang.org)
* [The Rust reference manual](http://static.rust-lang.org/doc/master/rust.html) (* [PDF](http://static.rust-lang.org/doc/master/rust.pdf))
## Docs
* [The standard library (stable)](http://doc.rust-lang.org/doc/0.10/std/index.html)
* [The standard library (master)](http://doc.rust-lang.org/doc/master/std/index.html)