summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com>2017-06-05 20:26:25 +0200
committerPierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com>2017-06-05 20:40:21 +0200
commitdb825d9959c9c6037202e7af4d6a42bdcd95a20c (patch)
tree491fb7defdc59f3ffb9b201a3807a766db0eeebb
parent1193d099ada1e3fe491726d11ed3c5fec243a7fc (diff)
Rely on doc.rs for documentation hosting (except master)
Closes #20
-rw-r--r--.travis.yml2
-rw-r--r--Cargo.toml2
-rw-r--r--README.md6
3 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 7dae9d6..8d24554 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,4 +29,4 @@ after_success: |
kcov --coveralls-id=$TRAVIS_JOB_ID --verify --include-pattern=/src --exclude-pattern=/.cargo,/usr/lib target/kcov target/debug/prettytable-*
rm -Rf master.tar.gz kcov-master
git clone https://gist.github.com/deaf3815d2eecce72279.git ./publish_doc &&
- sh ./publish_doc/publish_doc.sh prettytable
+ sh ./publish_doc/publish_doc.sh prettytable yes
diff --git a/Cargo.toml b/Cargo.toml
index 62e6c61..210f12b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ version = "0.6.7"
description = "A library for printing pretty formatted tables in terminal"
homepage = "https://github.com/phsym/prettytable-rs"
repository = "https://github.com/phsym/prettytable-rs"
-documentation = "http://phsym.github.io/prettytable-rs"
+documentation = "https://docs.rs/crate/prettytable-rs/"
readme = "README.md"
authors = [ "Pierre-Henri Symoneaux" ]
keywords = ["tab", "table", "format", "pretty", "print"]
diff --git a/README.md b/README.md
index fb84434..42dc167 100644
--- a/README.md
+++ b/README.md
@@ -3,12 +3,12 @@
[![Build status](https://ci.appveyor.com/api/projects/status/wdh9klb35fed6ik9?svg=true)](https://ci.appveyor.com/project/phsym/tabprint)
[![Coverage Status](https://coveralls.io/repos/phsym/prettytable-rs/badge.svg?branch=master)](https://coveralls.io/github/phsym/prettytable-rs?branch=master)
[![Crates.io](https://img.shields.io/crates/v/prettytable-rs.svg)](https://crates.io/crates/prettytable-rs)
+[![Doc.rs](https://docs.rs/prettytable-rs/badge.svg)](https://docs.rs/crate/prettytable-rs/)
+[![Doc.rs](https://img.shields.io/badge/docs-master-blue.svg)](http://phsym.github.io/prettytable-rs/master)
# prettytable-rs
-A formatted and aligned table printer written in rust.
-
-[Documentation](http://phsym.github.io/prettytable-rs)
+A formatted and aligned table printer library for [Rust](https://www.rust-lang.org).
*Copyright &copy; 2017 Pierre-Henri Symoneaux*