From db825d9959c9c6037202e7af4d6a42bdcd95a20c Mon Sep 17 00:00:00 2001 From: Pierre-Henri Symoneaux Date: Mon, 5 Jun 2017 20:26:25 +0200 Subject: [PATCH] Rely on doc.rs for documentation hosting (except master) Closes #20 --- .travis.yml | 2 +- Cargo.toml | 2 +- README.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7dae9d6057..8d24554191 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 62e6c61101..210f12b9f3 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 fb84434d80..42dc1677a0 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 © 2017 Pierre-Henri Symoneaux*