From 65c4f8ee1f1c5ef21a287856f00b780eafbcd95c Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 30 Dec 2017 13:17:32 -0500 Subject: [PATCH] docs: link to docs.rs --- Cargo.toml | 2 +- PERFORMANCE.md | 2 +- README.md | 7 +++---- bench/Cargo.toml | 2 +- regex-capi/README.md | 2 +- regex-debug/Cargo.toml | 2 +- regex-syntax/Cargo.toml | 2 +- 7 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 83a8556efb..2745670ace 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" repository = "https://github.com/rust-lang/regex" -documentation = "https://doc.rust-lang.org/regex" +documentation = "https://docs.rs/regex" homepage = "https://github.com/rust-lang/regex" description = """ An implementation of regular expressions for Rust. This implementation uses diff --git a/PERFORMANCE.md b/PERFORMANCE.md index 6b143262d4..b4aeb89c1b 100644 --- a/PERFORMANCE.md +++ b/PERFORMANCE.md @@ -2,7 +2,7 @@ Your friendly guide to understanding the performance characteristics of this crate. This guide assumes some familiarity with the public API of this crate, which -can be found here: http://doc.rust-lang.org/regex/regex/index.html +can be found here: https://docs.rs/regex ## Theory vs. Practice diff --git a/README.md b/README.md index 1f6eddbadf..b4b6501886 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,13 @@ by [RE2](https://github.com/google/re2). ### Documentation -[Module documentation with examples](https://doc.rust-lang.org/regex). +[Module documentation with examples](https://docs.rs/regex). The module documentation also include a comprehensive description of the syntax supported. Documentation with examples for the various matching functions and iterators can be found on the -[`Regex` type](https://doc.rust-lang.org/regex/regex/struct.Regex.html). +[`Regex` type](https://docs.rs/regex/*/regex/struct.Regex.html). ### Usage @@ -197,8 +197,7 @@ execution. This may be useful if you're implementing your own regex engine or otherwise need to do analysis on the syntax of a regular expression. It is otherwise not recommended for general use. -[Documentation for `regex-syntax` with -examples](https://doc.rust-lang.org/regex/regex_syntax/index.html). +[Documentation for `regex-syntax` with examples](https://docs.rs/regex-syntax). # License diff --git a/bench/Cargo.toml b/bench/Cargo.toml index 4e5498336c..ffe19560e7 100644 --- a/bench/Cargo.toml +++ b/bench/Cargo.toml @@ -5,7 +5,7 @@ version = "0.1.0" authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rust-lang/regex" -documentation = "http://doc.rust-lang.org/regex/regex/index.html" +documentation = "https://docs.rs/regex" homepage = "https://github.com/rust-lang/regex" description = "Regex benchmarks for Rust's and other engines." build = "build.rs" diff --git a/regex-capi/README.md b/regex-capi/README.md index c934895fbe..af59979773 100644 --- a/regex-capi/README.md +++ b/regex-capi/README.md @@ -12,7 +12,7 @@ The header file (`includes/rure.h`) serves as the primary API documentation of this library. Types and flags are documented first, and functions follow. The syntax and possibly other useful things are documented in the Rust -API documentation: http://doc.rust-lang.org/regex/regex/index.html +API documentation: https://docs.rs/regex Examples diff --git a/regex-debug/Cargo.toml b/regex-debug/Cargo.toml index beb89748e6..54b2bb511d 100644 --- a/regex-debug/Cargo.toml +++ b/regex-debug/Cargo.toml @@ -5,7 +5,7 @@ version = "0.1.0" authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rust-lang/regex" -documentation = "http://doc.rust-lang.org/regex" +documentation = "https://docs.rs/regex" homepage = "https://github.com/rust-lang/regex" description = "A tool useful for debugging regular expressions." workspace = ".." diff --git a/regex-syntax/Cargo.toml b/regex-syntax/Cargo.toml index 2eb8a7052a..f038786b99 100644 --- a/regex-syntax/Cargo.toml +++ b/regex-syntax/Cargo.toml @@ -4,7 +4,7 @@ version = "0.4.1" #:version authors = ["The Rust Project Developers"] license = "MIT/Apache-2.0" repository = "https://github.com/rust-lang/regex" -documentation = "http://doc.rust-lang.org/regex/regex_syntax/index.html" +documentation = "https://docs.rs/regex-syntax" homepage = "https://github.com/rust-lang/regex" description = "A regular expression parser." workspace = ".."