Skip to content

Redirect nightly doc to doc.rust-lang.org/nightly/nightly-rustc/cargo #11555

Closed

Description

Problem

After rust-lang/rust#105036, docs of Cargo and its companion crates are live now at https://doc.rust-lang.org/nightly/nightly-rustc.

I wonder whether https://doc.crates.io/contrib/apidoc/cargo should be redirected to that "canonical" URL. It might be more discoverable as all rustc internal docs are already there, whereas the doc will only get updated when cargo gets synced into rust-lang/rust repo, which happens only once or twice a week.

Proposed Solution

Follow the steps:

  1. Replace all occurrences of doc.crates.io/contrib/apidoc/cargo with doc.rust-lang.org/nightly/nightly-rustc/cargo in this repo.
  2. Do a redirect in mdbook book.toml from /apidoc/cargo to https://doc.rust-lang.org/nightly/nightly-rustc/cargo.
  3. Remove CI changes in ba3d2e9 and 1c82d9c.

Notes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-documenting-cargo-itselfArea: Cargo's documentationC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`E-easyExperience: Easy

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions