You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might not be a bug on the side of this theme--I'm not sure, because I'm not very experienced with yuidoc. But when I try cross-referencing Modules and Classes, the following Handlebars code:
results in a hyperlink to the right file, but the wrong anchor. The anchor in the generated hyperlink is #method_createSprite, yet the actual anchor created by this theme uses a hyphen instead of an underscore (that is, it's #method-createSprite). Hence the link appears to be half-broken.
One fix might be to change the relevant handlebars templates in the partials directory of this theme to use underscores instead of hyphens, but I'm not sure if it's the right fix. If it is, I'm happy to issue a PR.
I'm using yuidocjs v0.10.0, so this might be happening because I'm using the wrong version of yuidoc with this theme? Sorry if this bug report isn't very helpful. 😞
The text was updated successfully, but these errors were encountered:
Bug report is fine. I suspect you might be correct; at some point I got in the bad habit of just writing my anchors manually (couldn't remember the crossLink syntax >.>).
If you add a crossLink example in the examples folder of this repo, along with a fix commit, should be straightforward enough to review & merge.
This might not be a bug on the side of this theme--I'm not sure, because I'm not very experienced with yuidoc. But when I try cross-referencing Modules and Classes, the following Handlebars code:
results in a hyperlink to the right file, but the wrong anchor. The anchor in the generated hyperlink is
#method_createSprite
, yet the actual anchor created by this theme uses a hyphen instead of an underscore (that is, it's#method-createSprite
). Hence the link appears to be half-broken.One fix might be to change the relevant handlebars templates in the
partials
directory of this theme to use underscores instead of hyphens, but I'm not sure if it's the right fix. If it is, I'm happy to issue a PR.I'm using yuidocjs v0.10.0, so this might be happening because I'm using the wrong version of yuidoc with this theme? Sorry if this bug report isn't very helpful. 😞
The text was updated successfully, but these errors were encountered: