From 52c72ecf9f810186b4f30da7f416a0fa2dffd230 Mon Sep 17 00:00:00 2001 From: Jethro Beekman Date: Sun, 10 Jul 2016 01:07:09 -0700 Subject: [PATCH] Add script to generate limited documentation --- doc.sh | 2 ++ src/lib.rs | 4 ++++ 2 files changed, 6 insertions(+) create mode 100755 doc.sh diff --git a/doc.sh b/doc.sh new file mode 100755 index 0000000..bb85974 --- /dev/null +++ b/doc.sh @@ -0,0 +1,2 @@ +#!/bin/bash +cargo rustdoc -- --html-in-header <(echo '') diff --git a/src/lib.rs b/src/lib.rs index 2c1c233..5576171 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,7 @@ +//!

+//! 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)] #![feature(question_mark,const_fn,collections,alloc,unicode,copy_from_slice,str_char)] #![no_std]