I don't know how easy it would be to add this but one thing that has always been frustrating for me in the docs is that you can't simply click the link icon to copy the linx to an anchor.
It'd be great to have another icon to copy the link or just copy the link to clipboard when you click the icon
image.png
You should have seen it before Oliver added the anchor. :grinning:
I use that anchor every day but I think I know what you mean. You'd rather click a button and see "link copied!", right?
Yes that's it :)
Like we have for copying the API token.
+1! :)
Something I would also like: If I click a section's link in the table of contents, it would be nice if the URL bar automatically updated to the anchor link. E.g. if I visit https://guides.dataverse.org/en/latest/api/native-api.html, then click "View a Dataverse Collection" in the table of contents, the URL bar would become https://guides.dataverse.org/en/latest/api/native-api.html#view-a-dataverse-collection.
That would actually save me from needing to fiddle with the anchor button 90% of the time :)
Yes, I wish that worked too. I don't understand why it doesn't. Maybe it's something custom we added that breaks it.
In contrast, check out the GDCC site, which is also Sphinx. If I go to https://www.gdcc.io/working-groups/documentation.html and click "Code" in the sidebar ("On this page"), the anchor is correctly added to the URL like this: https://www.gdcc.io/working-groups/documentation.html#chat
Obviously, if anyone can figure this out, please make a pull request! :grinning:
Last updated: Nov 01 2025 at 14:11 UTC