Page MenuHomePhabricator

Make anchor links for symbols discoverable
Closed, ResolvedPublic

Description

Because there is currently no ToC for symbols within a single class/namespace/module, there doesn't seem to be an easy way to discover what the #anchor link for any specific symbol is supposed to be without inspecting the page.

This is problematic as it makes it more difficult than needed to share links to specific methods with other developers. Especially something like mediawiki.org would be helped in documenting links into the documentation system.

We should either add a copy anchor button available at each symbol, or add a ToC or something.

Event Timeline

Change 992272 had a related patch set uploaded (by Alex Paskulin; author: Alex Paskulin):

[jsdoc/wmf-theme@master] templates: Add clickable anchors for members and methods

https://gerrit.wikimedia.org/r/992272

Catrope assigned this task to apaskulin.

Change 992272 merged by jenkins-bot:

[jsdoc/wmf-theme@master] templates: Add clickable anchors for members and methods

https://gerrit.wikimedia.org/r/992272

Released in v0.0.12

Change 995077 had a related patch set uploaded (by TheDJ; author: TheDJ):

[jsdoc/wmf-theme@master] Fix hash navigation for non-existing elements

https://gerrit.wikimedia.org/r/995077

Change 995077 merged by jenkins-bot:

[jsdoc/wmf-theme@master] Fix hash navigation for non-existing elements

https://gerrit.wikimedia.org/r/995077