From ec3a29cd6960c7e123367d1e04ad441f0280dc6f Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Sat, 21 Apr 2018 08:48:06 +0200 Subject: fix domain of html_root_url to be rust-lang.github.io --- src/lib.rs | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 877e87dc76..9548083c22 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,70 +19,70 @@ html_favicon_url = "https://doc.rust-lang.org/favicon.ico")] #![cfg_attr(all(target_os = "linux", target_arch = "x86_64"), doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-linux-gnu" + html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-linux-gnu" ))] #![cfg_attr(all(target_os = "linux", target_arch = "x86"), doc( - html_root_url = "https://doc.rust-lang.org/libc/i686-unknown-linux-gnu" + html_root_url = "https://rust-lang.github.io/libc/i686-unknown-linux-gnu" ))] #![cfg_attr(all(target_os = "linux", target_arch = "arm"), doc( - html_root_url = "https://doc.rust-lang.org/libc/arm-unknown-linux-gnueabihf" + html_root_url = "https://rust-lang.github.io/libc/arm-unknown-linux-gnueabihf" ))] #![cfg_attr(all(target_os = "linux", target_arch = "mips"), doc( - html_root_url = "https://doc.rust-lang.org/libc/mips-unknown-linux-gnu" + html_root_url = "https://rust-lang.github.io/libc/mips-unknown-linux-gnu" ))] #![cfg_attr(all(target_os = "linux", target_arch = "aarch64"), doc( - html_root_url = "https://doc.rust-lang.org/libc/aarch64-unknown-linux-gnu" + html_root_url = "https://rust-lang.github.io/libc/aarch64-unknown-linux-gnu" ))] #![cfg_attr(all(target_os = "linux", target_env = "musl"), doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-linux-musl" + html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-linux-musl" ))] #![cfg_attr(all(target_os = "macos", target_arch = "x86_64"), doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-apple-darwin" + html_root_url = "https://rust-lang.github.io/libc/x86_64-apple-darwin" ))] #![cfg_attr(all(target_os = "macos", target_arch = "x86"), doc( - html_root_url = "https://doc.rust-lang.org/libc/i686-apple-darwin" + html_root_url = "https://rust-lang.github.io/libc/i686-apple-darwin" ))] #![cfg_attr(all(windows, target_arch = "x86_64", target_env = "gnu"), doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-pc-windows-gnu" + html_root_url = "https://rust-lang.github.io/libc/x86_64-pc-windows-gnu" ))] #![cfg_attr(all(windows, target_arch = "x86", target_env = "gnu"), doc( - html_root_url = "https://doc.rust-lang.org/libc/i686-pc-windows-gnu" + html_root_url = "https://rust-lang.github.io/libc/i686-pc-windows-gnu" ))] #![cfg_attr(all(windows, target_arch = "x86_64", target_env = "msvc"), doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-pc-windows-msvc" + html_root_url = "https://rust-lang.github.io/libc/x86_64-pc-windows-msvc" ))] #![cfg_attr(all(windows, target_arch = "x86", target_env = "msvc"), doc( - html_root_url = "https://doc.rust-lang.org/libc/i686-pc-windows-msvc" + html_root_url = "https://rust-lang.github.io/libc/i686-pc-windows-msvc" ))] #![cfg_attr(target_os = "android", doc( - html_root_url = "https://doc.rust-lang.org/libc/arm-linux-androideabi" + html_root_url = "https://rust-lang.github.io/libc/arm-linux-androideabi" ))] #![cfg_attr(target_os = "freebsd", doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-freebsd" + html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-freebsd" ))] #![cfg_attr(target_os = "openbsd", doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-openbsd" + html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-openbsd" ))] #![cfg_attr(target_os = "bitrig", doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-bitrig" + html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-bitrig" ))] #![cfg_attr(target_os = "netbsd", doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-netbsd" + html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-netbsd" ))] #![cfg_attr(target_os = "dragonfly", doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-unknown-dragonfly" + html_root_url = "https://rust-lang.github.io/libc/x86_64-unknown-dragonfly" ))] #![cfg_attr(target_os = "solaris", doc( - html_root_url = "https://doc.rust-lang.org/libc/x86_64-sun-solaris" + html_root_url = "https://rust-lang.github.io/libc/x86_64-sun-solaris" ))] #![cfg_attr(all(target_os = "emscripten", target_arch = "asmjs"), doc( - html_root_url = "https://doc.rust-lang.org/libc/asmjs-unknown-emscripten" + html_root_url = "https://rust-lang.github.io/libc/asmjs-unknown-emscripten" ))] #![cfg_attr(all(target_os = "emscripten", target_arch = "wasm32"), doc( - html_root_url = "https://doc.rust-lang.org/libc/wasm32-unknown-emscripten" + html_root_url = "https://rust-lang.github.io/libc/wasm32-unknown-emscripten" ))] #![cfg_attr(all(target_os = "linux", target_arch = "sparc64"), doc( - html_root_url = "https://doc.rust-lang.org/libc/sparc64-unknown-linux-gnu" + html_root_url = "https://rust-lang.github.io/libc/sparc64-unknown-linux-gnu" ))] // Attributes needed when building as part of the standard library -- cgit v1.2.1