plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

[mkdocs] - duplicate anchor links used on page

Open LiamConnors opened this issue 1 month ago • 0 comments

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

LiamConnors avatar Nov 14 '25 21:11 LiamConnors