-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
85 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
tests/transform_intralinks_skip_rustdoc_when_strip_intralinks/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[package] | ||
name = "integration_test" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[[bin]] | ||
name = "test-precondition" | ||
path = "src/test-precondition-main.rs" | ||
|
||
[[bin]] | ||
name = "real-test" | ||
path = "src/main.rs" |
5 changes: 5 additions & 0 deletions
5
tests/transform_intralinks_skip_rustdoc_when_strip_intralinks/README-expected.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- cargo-rdme start --> | ||
|
||
This crate is not very interesting. | ||
|
||
<!-- cargo-rdme end --> |
2 changes: 2 additions & 0 deletions
2
tests/transform_intralinks_skip_rustdoc_when_strip_intralinks/README-template.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!-- cargo-rdme start --> | ||
<!-- cargo-rdme end --> |
7 changes: 7 additions & 0 deletions
7
tests/transform_intralinks_skip_rustdoc_when_strip_intralinks/src/main.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//! This [crate](crate) is not very interesting. | ||
mod no_module_here; | ||
|
||
fn main() { | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
tests/transform_intralinks_skip_rustdoc_when_strip_intralinks/src/test-precondition-main.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//! Crate with an [`main`](main) to prove that rustdoc fails with this. Otherwise the test is not | ||
//! testing that rustdoc is not running. | ||
#![deny(rustdoc::broken_intra_doc_links)] | ||
|
||
mod no_module_here; | ||
|
||
fn main() { | ||
|
||
} |