Skip to content

Commit 5d01486

Browse files
committed
auto merge of #9960 : adridu59/rust/patch-doc-limited, r=alexcrichton
This is #9868 but doesn't move css files to a separate subfolder, which was causing errors on the Rust buildbot. @alexcrichton
2 parents 69e46f3 + 9583509 commit 5d01486

14 files changed

+580
-875
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ src/.DS_Store
7777
/nd/
7878
/llvm/
7979
version.md
80-
rust.tex
80+
*.tex
8181
keywords.md
8282
x86_64-apple-darwin/
8383
x86_64-unknown-linux-gnu/

doc/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To generate HTML documentation from one source file/crate, do something like:
1919
To generate an HTML version of a doc from Markdown, without having Node.js
2020
installed, do something like:
2121

22-
pandoc --from=markdown --to=html --number-sections -o rust.html rust.md
22+
pandoc --from=markdown --to=html5 --number-sections -o rust.html rust.md
2323

2424
The syntax for pandoc flavored markdown can be found at:
2525
http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown

doc/lib.css

-8
This file was deleted.

doc/manual.css

-6
This file was deleted.

doc/manual.inc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<style>
2+
/* Display the full TOC */
3+
#TOC ul ul {
4+
display: block;
5+
padding-left: 2em;
6+
}
7+
</style>

0 commit comments

Comments
 (0)