Add script to generate limited documentation

This commit is contained in:
Jethro Beekman 2016-07-10 01:07:09 -07:00
parent 1846758471
commit 52c72ecf9f
2 changed files with 6 additions and 0 deletions

2
doc.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
cargo rustdoc -- --html-in-header <(echo '<style type="text/css">.docblock>*, .collapse-toggle, #toggle-all-docs { display: none; } #core_io-show-docblock+p { display: initial }</style>')

View File

@ -1,3 +1,7 @@
//! <p id="core_io-show-docblock"></p>
//! This is just a listing of the functionality available in this crate. See
//! the [std documentation](https://doc.rust-lang.org/nightly/std/io/index.html)
//! for a full description of the functionality.
#![allow(stable_features,unused_features)] #![allow(stable_features,unused_features)]
#![feature(question_mark,const_fn,collections,alloc,unicode,copy_from_slice,str_char)] #![feature(question_mark,const_fn,collections,alloc,unicode,copy_from_slice,str_char)]
#![no_std] #![no_std]