]> git.lizzy.rs Git - rust.git/commit
auto merge of #16277 : Gankro/rust/responsive-docs, r=cmr
authorbors <bors@rust-lang.org>
Fri, 8 Aug 2014 21:36:11 +0000 (21:36 +0000)
committerbors <bors@rust-lang.org>
Fri, 8 Aug 2014 21:36:11 +0000 (21:36 +0000)
commita1429bca5a5462bd9c489f79f511a7e5ad939046
tree62f7991bbdc70ab632bda89f2b6fa02784a6dfdf
parent57630eb8090f305da41291c481c42bf94b9ccf34
parentdd437ee6ed81f85c715bf415d261feca484bb39f
auto merge of #16277 : Gankro/rust/responsive-docs, r=cmr

* move some sidebar contents to a title bar when small
* inline description toggle when small
* make out-of-band and in-band content share space, rather than float and clash
* compress wording of out-of-band content to avoid line-wrap as much as possible

## [Live Version Here](http://cg.scs.carleton.ca/~abeinges/doc/index.html)

Pages Of Interest:
* [Vec](http://cg.scs.carleton.ca/~abeinges/doc/std/vec/struct.Vec.html) (small path)
* [TreeSet](http://cg.scs.carleton.ca/~abeinges/doc/collections/treemap/struct.TreeSet.html) (long path)
* [std](http://cg.scs.carleton.ca/~abeinges/doc/std/index.html) (for stability dash)

TBD in a future PR is to convert links in the sidebar into a series of nest ul/li's, so that they can easily be moved to a drop-down in the new title bar. I think this is out of scope for this PR, but am willing to implement it now if desired.
src/librustdoc/html/static/main.css