mirror of
https://github.com/openharmony/third_party_rust_unicode-normalization.git
synced 2026-07-18 13:07:58 -04:00
Link to docs.rs
This way we don't have to build custom docs anymore.
This commit is contained in:
-12
@@ -7,18 +7,6 @@ sudo: false
|
||||
script:
|
||||
- cargo build --verbose
|
||||
- cargo test --verbose
|
||||
- rustdoc --test README.md -L target/debug -L target/debug/deps
|
||||
- cargo doc
|
||||
after_success: |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
echo '<meta http-equiv=refresh content=0;url=unicode_normalization/index.html>' > target/doc/index.html &&
|
||||
pip install ghp-import --user $USER &&
|
||||
$HOME/.local/bin/ghp-import -n target/doc &&
|
||||
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
||||
env:
|
||||
global:
|
||||
secure: Te91dtDN8uv5OBxVuMy+nvQ5GtnLU9r6amS9p6IbblVXyzXgXPQdFfAND+GXXfZNnsjAyS2LnZL4NcNOR4JF63H0KxTTDIGXLSUAmc0C98UhqWWvv5bjz4mY0YKs9MwuTBX9P0LdTZjvRTd+yJ2PYH7ORGen+ZuOmlPNE7lpzrg=
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ authors = ["kwantam <kwantam@gmail.com>"]
|
||||
|
||||
homepage = "https://github.com/unicode-rs/unicode-normalization"
|
||||
repository = "https://github.com/unicode-rs/unicode-normalization"
|
||||
documentation = "https://unicode-rs.github.io/unicode-normalization"
|
||||
documentation = "https://docs.rs/unicode-normalization/"
|
||||
|
||||
license = "MIT/Apache-2.0"
|
||||
keywords = ["text", "unicode", "normalization", "decomposition", "recomposition"]
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
# unicode-normalization
|
||||
|
||||
[](https://travis-ci.org/unicode-rs/unicode-normalization)
|
||||
[](https://docs.rs/unicode-normalization/)
|
||||
|
||||
Unicode character composition and decomposition utilities
|
||||
as described in
|
||||
[Unicode Standard Annex #15](http://www.unicode.org/reports/tr15/).
|
||||
|
||||
[](https://travis-ci.org/unicode-rs/unicode-normalization)
|
||||
|
||||
[Documentation](https://unicode-rs.github.io/unicode-normalization/unicode_normalization/index.html)
|
||||
|
||||
This crate requires Rust 1.21+.
|
||||
|
||||
```rust
|
||||
@@ -23,7 +24,7 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
# crates.io
|
||||
## crates.io
|
||||
|
||||
You can use this package in your project by adding the following
|
||||
to your `Cargo.toml`:
|
||||
|
||||
Reference in New Issue
Block a user