]> git.lizzy.rs Git - rust.git/commit
auto merge of #12783 : adrientetar/rust/more-docs, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 11 Mar 2014 19:36:58 +0000 (12:36 -0700)
committerbors <bors@rust-lang.org>
Tue, 11 Mar 2014 19:36:58 +0000 (12:36 -0700)
commit74bfa7108a62c053fdeae2bb093f8035e19e2ef2
tree4b447bfb82b4b87415087f7b71a5dd5c2b9e4ef0
parent3bede9fd310540a0fd72371008f8aa606b23b11b
parent840a2701accbaeb6d4537db79e47150313c74d42
auto merge of #12783 : adrientetar/rust/more-docs, r=alexcrichton

- remove `node.js` dep., it has no effect as of #12747 (1)
- switch between LaTeX compilers, some cleanups
- CSS: fixup the print stylesheet, refactor highlighting code (2)

(1): `prep.js` outputs its own HTML directives, which `pandoc` cannot recognize when converting the document into LaTeX (this is why the PDF docs have never been highlighted as of now).

Note that if we were to add the `.rust` class to snippets, we could probably use pandoc's native highlighting capatibilities i.e. Kate ([here is](http://adrientetar.github.io/rust-tuts/tutorial/tutorial.pdf) an example of that).

(2): the only real highlighting change is for lifetimes which are now brown instead of red, the rest is just refactor of twos shades of red that look the same.
Also I made numbers highlighting for src in rustdoc a tint more clear so that it is less bothering.

@alexcrichton, @huonw

Closes #9873. Closes #12788.
configure