Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[mkdocs] - duplicate anchor links used on page

Open
#7,634 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Reproduce the duplicate anchors in the MkDocs-rendered scatter reference using the two URLs shown in the issue, then trace how nested and top-level property anchors are generated. Done means both links resolve to their corresponding properties without one taking the place of the other.

Written by the indexing model from the issue text.

Description

bug

When nested property names are the same as property names at the top level of a trace, they use the same anchor, but should use different ones.

E.g. in our current docs

https://plotly.com/javascript/reference/scatter/#scatter-error_x-visible
https://plotly.com/javascript/reference/scatter/#scatter-visible

For mkdocs site,

/javascript/reference/scatter/#scatter-error_x-visible won't work

and

/javascript/reference/scatter/#scatter-visible

will take you to the first one on the page, which is actually the error-x-visible property

Image
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
1d 17h
Merged PRs (30d)
22

Getting set up

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.

More from plotly/plotly.js

All issues in plotly/plotly.js

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.