documentationjs / documentationjs/documentation

Invalid link href in default theme

Open
#525 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.8k
Forks
481
PR merge metrics
No merged PRs in 30d

Description

If generate documentation in `html` format using `default theme` for this file:

``` js
/**
* Use {@link Foo#bar}
*/
class Foo {
/**
* Do something
*/
bar() {}
}
```

link `Foo#bar` (generated for `@link` tag) has `#foobar` href attribute, but link from sidebar has `#Foo#bar` href attribute. Therefore nothing happens when I click by `Foo#bar` link from class description.

**Expected behavior:** Link `Foo#bar` in class description refers to `Foo#bar` method.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.