Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Commit 0cde4eb

Browse files
authored
Fix docs and add doc links to CI (#31)
1 parent d261531 commit 0cde4eb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,12 @@ jobs:
6161
run: cargo install --force cargo-audit
6262
- name: Run cargo audit to identify known security vulnerabilities reported to the RustSec Advisory Database
6363
run: cargo audit
64+
check-rustdoc-links:
65+
name: Check rustdoc intra-doc links
66+
runs-on: ubuntu-latest
67+
container:
68+
image: rust
69+
steps:
70+
- uses: actions/checkout@v2
71+
- name: Check rustdoc links
72+
run: RUSTDOCFLAGS="--deny broken_intra_doc_links" cargo doc --verbose --workspace --no-deps --document-private-items

src/keys/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//!
44
//! [`EnrKey`]: crate::EnrKey
55
//! [`EnrPublicKey`]: crate::EnrPublicKey
6-
//! [`Enr`]: crate::enr::Enr
6+
//! [`Enr`]: crate::Enr
77
88
#[cfg(all(feature = "ed25519", feature = "k256"))]
99
mod combined;

0 commit comments

Comments
 (0)