Skip to content

Commit ef23fa1

Browse files
richoalexcrichton
authored andcommitted
docs: Add a not found page
1 parent df802a2 commit ef23fa1

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ DOCS := index intro tutorial guide-ffi guide-macros guide-lifetimes \
3030
guide-tasks guide-container guide-pointers guide-testing \
3131
guide-runtime complement-bugreport complement-cheatsheet \
3232
complement-lang-faq complement-project-faq rust rustdoc \
33-
guide-unsafe
33+
guide-unsafe not_found
3434

3535
PDF_DOCS := tutorial rust
3636

src/doc/not_found.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
% Not Found
2+
3+
<!-- Completely hide the TOC and the section numbers -->
4+
<style type="text/css">
5+
#TOC { display: none; }
6+
.header-section-number { display: none; }
7+
li {list-style-type: none; }
8+
</style>
9+
10+
Looks like you've taken a wrong turn.
11+
12+
Some things that might be helpful to you though:
13+
14+
## Reference
15+
* [The Rust official site](http://rust-lang.org)
16+
* [The Rust reference manual](http://static.rust-lang.org/doc/master/rust.html) (* [PDF](http://static.rust-lang.org/doc/master/rust.pdf))
17+
18+
## Docs
19+
* [The standard library (stable)](http://doc.rust-lang.org/doc/0.10/std/index.html)
20+
* [The standard library (master)](http://doc.rust-lang.org/doc/master/std/index.html)

0 commit comments

Comments
 (0)