diff --git a/.travis.yml b/.travis.yml index ee511e31ab..81d7af1bc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,9 @@ matrix: script: sh ci/tools.sh - name: "docs" env: TARGET=x86_64-unknown-linux-gnu - script: cargo -vv doc --features nightly,serde,rayon + script: + - cargo -vv doc --features nightly,serde,rayon + - echo '' > target/doc/index.html deploy: provider: pages skip-cleanup: true diff --git a/README.md b/README.md index 7c5971ba2c..3b6668b491 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ hashbrown [![Build Status](https://travis-ci.com/rust-lang/hashbrown.svg?branch=master)](https://travis-ci.com/rust-lang/hashbrown) [![Crates.io](https://img.shields.io/crates/v/hashbrown.svg)](https://crates.io/crates/hashbrown) +[![Documentation](https://docs.rs/hashbrown/badge.svg)](https://docs.rs/hashbrown) This crate is a Rust port of Google's high-performance [SwissTable] hash map, adapted to make it a drop-in replacement for Rust's standard `HashMap` @@ -15,8 +16,6 @@ The original C++ version of SwissTable can be found [here], and this [here]: https://github.com/abseil/abseil-cpp/blob/master/absl/container/internal/raw_hash_set.h [CppCon talk]: https://www.youtube.com/watch?v=ncHmEUmJZf4 -## [Documentation](https://docs.rs/hashbrown) - ## [Change log](CHANGELOG.md) ## Features