8000 Link to docs.rs · djudd/unicode-normalization@b514a01 · GitHub
[go: up one dir, main page]

Skip to content

Commit b514a01

Browse files
committed
Link to docs.rs
This way we don't have to build custom docs anymore.
1 parent 7313a7a commit b514a01

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

.travis.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,6 @@ sudo: false
77
script:
88
- cargo build --verbose
99
- cargo test --verbose
10-
- rustdoc --test README.md -L target/debug -L target/debug/deps
11-
- cargo doc
12-
after_success: |
13-
[ $TRAVIS_BRANCH = master ] &&
14-
[ $TRAVIS_PULL_REQUEST = false ] &&
15-
echo '<meta http-equiv=refresh content=0;url=unicode_normalization/index.html>' > target/doc/index.html &&
16-
pip install ghp-import --user $USER &&
17-
$HOME/.local/bin/ghp-import -n target/doc &&
18-
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
19-
env:
20-
global:
21-
secure: Te91dtDN8uv5OBxVuMy+nvQ5GtnLU9r6amS9p6IbblVXyzXgXPQdFfAND+GXXfZNnsjAyS2LnZL4NcNOR4JF63H0KxTTDIGXLSUAmc0C98UhqWWvv5bjz4mY0YKs9MwuTBX9P0LdTZjvRTd+yJ2PYH7ORGen+ZuOmlPNE7lpzrg=
2210
notifications:
2311
email:
2412
on_success: never

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["kwantam <kwantam@gmail.com>"]
66

77
homepage = "https://github.com/unicode-rs/unicode-normalization"
88
repository = "https://github.com/unicode-rs/unicode-normalization"
9-
documentation = "https://unicode-rs.github.io/unicode-normalization"
9+
documentation = "https://docs.rs/unicode-normalization/"
1010

1111
license = "MIT/Apache-2.0"
1212
keywords = ["text", "unicode", "normalization", "decomposition", "recomposition"]

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
Unicode character composition and decomposition utilities
2-
as described in
3-
[Unicode Standard Annex #15](http://www.unicode.org/reports/tr15/).
1+
# unicode-normalization
42

53
[![Build Status](https://travis-ci.org/unicode-rs/unicode-normalization.svg)](https://travis-ci.org/unicode-rs/unicode-normalization)
4+
[![Docs](https://docs.rs/unicode-normalization/badge.svg)](https://docs.rs/unicode-normalization/)
65

7-
[Documentation](https://unicode-rs.github.io/unicode-normalization/unicode_normalization/index.html)
6+
Unicode character composition and decomposition utilities
7+
as described in
8+
[Unicode Standard Annex #15](http://www.unicode.org/reports/tr15/).
89

910
This crate requires Rust 1.21+.
1011

@@ -23,7 +24,7 @@ fn main() {
2324
}
2425
```
2526

26-
# crates.io
27+
## crates.io
2728

2829
You can use this package in your project by adding the following
2930
to your `Cargo.toml`:

0 commit comments

Comments
 (0)
0