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

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

Show comment
Hide comment
@hegemonic

hegemonic Mar 4, 2015

Member

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.

Member

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 the bugfix label Mar 4, 2015

@hegemonic hegemonic added this to the 3.3.x milestone Mar 4, 2015

@GerHobbelt

This comment has been minimized.

Show comment
Hide comment
@GerHobbelt

GerHobbelt Oct 7, 2015

Contributor

And possibly related to #970 as well?

Contributor

GerHobbelt commented Oct 7, 2015

And possibly related to #970 as well?

@hegemonic hegemonic modified the milestones: 3.5.0, 3.3.x Dec 8, 2015

@hegemonic hegemonic modified the milestones: 3.6.0, 3.5.0 Jul 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment