mirror of https://github.com/rust-lang/cargo
chore(ci): Ensure intradoc links are valid
This commit is contained in:
parent
04a4081f11
commit
4b2837a4cc
|
@ -150,7 +150,9 @@ jobs:
|
|||
mkdir mdbook
|
||||
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.5/mdbook-v0.4.5-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
|
||||
echo `pwd`/mdbook >> $GITHUB_PATH
|
||||
- run: cargo doc --no-deps
|
||||
- run: cargo doc --document-private-items --no-deps
|
||||
env:
|
||||
RUSTDOCFLAGS: -D warnings
|
||||
- run: cd src/doc && mdbook build --dest-dir ../../target/doc
|
||||
- run: |
|
||||
cd src/doc
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
// Due to some of the default clippy lints being somewhat subjective and not
|
||||
// necessarily an improvement, we prefer to not use them at this time.
|
||||
#![allow(clippy::all)]
|
||||
#![allow(rustdoc::private_intra_doc_links)]
|
||||
|
||||
//! # Cargo as a library
|
||||
//!
|
||||
|
|
|
@ -348,7 +348,7 @@ pub fn fix_get_proxy_lock_addr() -> Option<String> {
|
|||
/// If there are warnings or errors, this does not return,
|
||||
/// and the process exits with the corresponding `rustc` exit code.
|
||||
///
|
||||
/// See [`fix_proxy_lock_addr`]
|
||||
/// See [`fix_get_proxy_lock_addr`]
|
||||
pub fn fix_exec_rustc(config: &Config, lock_addr: &str) -> CargoResult<()> {
|
||||
let args = FixArgs::get()?;
|
||||
trace!("cargo-fix as rustc got file {:?}", args.file);
|
||||
|
|
Loading…
Reference in New Issue