]> git.lizzy.rs Git - rust.git/commitdiff
docs: Add a not found page
authorRicho Healey <richo@psych0tik.net>
Mon, 12 May 2014 06:10:40 +0000 (23:10 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 14 May 2014 00:24:07 +0000 (17:24 -0700)
mk/docs.mk
src/doc/not_found.md [new file with mode: 0644]

index 9c79e1e864253cca4c6727b1e9ac194d605117d2..40c2440c0c07a524d519e9f8d22c3496367ec184 100644 (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
 
diff --git a/src/doc/not_found.md b/src/doc/not_found.md
new file mode 100644 (file)
index 0000000..a19418f
--- /dev/null
@@ -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)