File tree 4 files changed +20
-1
lines changed 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
language : rust
2
+ script :
3
+ - cargo build --verbose
4
+ - cargo test --verbose
5
+ - cargo doc
6
+ after_success : |
7
+ [ $TRAVIS_BRANCH = master ] &&
8
+ [ $TRAVIS_PULL_REQUEST = false ] &&
9
+ echo '<meta http-equiv=refresh content=0;url=glob/index.html>' > target/doc/index.html &&
10
+ sudo pip install ghp-import &&
11
+ ghp-import -n target/doc &&
12
+ git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
13
+
14
+ env :
15
+ global :
16
+ secure : I3a1njiqfFW9TpMKB715bpq3qHmsSmue/ahYbXhYbRoskWDWk+ruSKHS/X3nvSXY2Vv9oBCFaWldQvKdPtbpLYlfnIfquvUSzGzT3BW8bOAU6EY6+MQiToDln+xlcfjlSqBF4RGyrZtmuXzC1xXPKotG6jfUT1+7iOgaXLxyaRU=
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ authors = ["The Rust Project Developers"]
6
6
license = " MIT/Apache-2.0"
7
7
homepage = " https://github.com/rust-lang/glob"
8
8
repository = " https://github.com/rust-lang/glob"
9
+ documentation = " http://doc.rust-lang.org/glob"
9
10
description = """
10
11
Support for matching file paths against Unix shell style patterns.
11
12
"""
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ Support for matching file paths against Unix shell style patterns.
5
5
6
6
[ ![ Build Status] ( https://travis-ci.org/rust-lang/glob.svg?branch=master )] ( https://travis-ci.org/rust-lang/glob )
7
7
8
+ [ Documentation] ( http://doc.rust-lang.org/glob )
9
+
8
10
## Usage
9
11
10
12
To use ` glob ` , add this to your ` Cargo.toml ` :
Original file line number Diff line number Diff line change 21
21
//! `glob`/`fnmatch` functions.
22
22
23
23
#![ doc( html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png" ,
24
- html_favicon_url = "http://www.rust-lang.org/favicon.ico" ) ]
24
+ html_favicon_url = "http://www.rust-lang.org/favicon.ico" ,
25
+ html_root_url = "http://doc.rust-lang.org/glob/" ) ]
25
26
26
27
use std:: cell:: Cell ;
27
28
use std:: { cmp, os, path} ;
You can’t perform that action at this time.
0 commit comments