Skip to content

Commit ee80b70

Browse files
committed
Move documentation to docs.rs
1 parent 68e3a7f commit ee80b70

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "objc-encode"
3-
version = "1.1.0"
3+
version = "1.1.0" # Remember to update html_root_url in lib.rs
44
authors = ["Steven Sheldon"]
55
edition = "2018"
66

@@ -9,7 +9,7 @@ keywords = ["objective-c", "osx", "ios", "cocoa", "uikit"]
99
categories = ["development-tools::ffi", "no-std"]
1010
readme = "README.md"
1111
repository = "http://github.com/SSheldon/rust-objc-encode"
12-
documentation = "http://ssheldon.github.io/rust-objc/objc_encode/"
12+
documentation = "https://docs.rs/objc-encode/"
1313
license = "MIT"
1414

1515
exclude = [

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ assert_eq!(i32::ENCODING.to_string(), "i");
4444

4545
#![no_std]
4646
#![warn(missing_docs)]
47+
// Update in Cargo.toml as well.
48+
#![doc(html_root_url = "https://docs.rs/objc-encode/1.1.0")]
4749

4850
#[cfg(any(test, doc))]
4951
extern crate alloc;

0 commit comments

Comments
 (0)