Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking to enum values produces non-functional links #937

Open
BlackWolf opened this issue Mar 3, 2015 · 2 comments
Open

Linking to enum values produces non-functional links #937

BlackWolf opened this issue Mar 3, 2015 · 2 comments
Labels
Milestone

Comments

@BlackWolf
Copy link

@BlackWolf BlackWolf commented Mar 3, 2015

I noticed today that, when I tried to link to an enum's value, this produced a link that was not working. Looking at the output HTML, it seems that linking to an enum value is actually impossible, as only the enum title gets the id attribute. I suppose the way to go here is that a link to an enum value will result in a link to the enum itself.

Example:

/**
 * Link to {@link SomeEnum.AVALUE}
 */
var method = function() {
};

/**
 * An enum
 * @enum
 */
var SomeEnum = {
  AVALUE       : "avalue",
  ANOTHERVALUE : "anothervalue"
};

This will result in a link to global.html#SomeEnum#.AVALUE, which does not work. I suppose it should rather produce a link to global.html#SomeEnum.

@hegemonic
Copy link
Contributor

@hegemonic hegemonic commented Mar 4, 2015

This is very closely related to, and possibly a duplicate of, #724. I'll keep this open for now, though, since it may be hitting a slightly different code path than the one I was chasing in #724.

@hegemonic hegemonic added this to the 3.3.x milestone Mar 4, 2015
@GerHobbelt
Copy link
Contributor

@GerHobbelt GerHobbelt commented Oct 7, 2015

And possibly related to #970 as well?

@hegemonic hegemonic added this to the 3.5.0 milestone Dec 8, 2015
@hegemonic hegemonic removed this from the 3.3.x milestone Dec 8, 2015
@hegemonic hegemonic added this to the 3.6.0 milestone Jul 7, 2017
@hegemonic hegemonic removed this from the 3.5.0 milestone Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants