Skip to content

Commit 693f83b

Browse files
committed
Fix up paths for README
Thank you to rust-lang/cargo#11645 (comment) for explaining how to do this. ❤️❤️
1 parent ea5eb87 commit 693f83b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

parser/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Eric Scouten <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
documentation = "https://docs.rs/asciidoc-parser"
88
repository = "https://github.com/scouten/asciidoc-parser"
9-
readme = "README.md"
9+
readme = "../README.md"
1010
edition = "2021"
1111
keywords = ["asciidoc", "parser"]
1212
categories = ["parser-implementations"]

parser/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#![deny(clippy::unwrap_used)]
55
#![deny(missing_docs)]
66
#![deny(warnings)]
7-
#![doc = include_str!("../../README.md")]
7+
#![doc = include_str!(concat!("../", std::env!("CARGO_PKG_README")))]
88

99
pub mod attributes;
1010

0 commit comments

Comments
 (0)