rust-lang / rust-lang/docs.rs

"Permalink" and version buttons eat the anchor

Open Beginner friendly
#3,493 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-frontend C-bug
Dominant language
Rust
Stars
1.2k
Forks
232
Avg merge
11h 35m
Merged PRs (30d)
60

Description

Steps to reproduce
  1. open https://docs.rs/mergiraf/latest/mergiraf/ast/struct.AstNode.html#method.parse (the exact crate doesn't seem to be important, tested with stderrlog as well)
  2. go to the package details menu (the one that says mergiraf-0.19.0), and click either:
    • Permalink
    • the latest version in the versions list
Current vs. Expected behavior

Current behavior:
https://docs.rs/mergiraf/0.19.0/mergiraf/ast/struct.AstNode.html is opened (note the missing anchor)

Expected behavior:
https://docs.rs/mergiraf/0.19.0/mergiraf/ast/struct.AstNode.html#method.parse is opened

Additional context

Just in case this is a browser issue, I'm on Mozilla Firefox 153.0.1 for Linux

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

Reproduce the issue from the provided docs.rs URL, then trace the package details menu entries for Permalink and the latest-version link. Verify that both links retain the existing #method.parse anchor when changing versions; done means the opened URL includes that anchor.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.