Skip to content

Commit

Permalink
Fix up paths for README
Browse files Browse the repository at this point in the history
Thank you to rust-lang/cargo#11645 (comment) for explaining how to do this. ❤️❤️
  • Loading branch information
scouten committed Jan 5, 2025
1 parent ea5eb87 commit 693f83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Eric Scouten <[email protected]>"]
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/asciidoc-parser"
repository = "https://github.com/scouten/asciidoc-parser"
readme = "README.md"
readme = "../README.md"
edition = "2021"
keywords = ["asciidoc", "parser"]
categories = ["parser-implementations"]
Expand Down
2 changes: 1 addition & 1 deletion parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#![deny(clippy::unwrap_used)]
#![deny(missing_docs)]
#![deny(warnings)]
#![doc = include_str!("../../README.md")]
#![doc = include_str!(concat!("../", std::env!("CARGO_PKG_README")))]

pub mod attributes;

Expand Down

0 comments on commit 693f83b

Please sign in to comment.