rust-lang / rust-lang/docs.rs

Remove unnecessary redirect

Open
#549 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-frontend E-easy mentor P-low
Dominant language
Rust
Stars
1.2k
Forks
232
Avg merge
11h 35m
Merged PRs (30d)
60

Description

Once https://github.com/rust-lang/docs.rs/pull/534 gets merged, the 'Platform' dropdown will link to the default build /:crate/:version/:platform, which will immediately redirect to /:crate/:version. It would be nice to link to /:crate/:version directly for the default platform.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review pull request 534 and the routing or link-generation code responsible for the Platform dropdown and the /:crate/:version/:platform and /:crate/:version paths. Confirm the default platform links directly to /:crate/:version and no longer performs an immediate redirect.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.