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

Int.MIN_VALUE and Int.MAX_VALUE references see incorrect links generated #1268

Closed
JamesCurry opened this issue Aug 5, 2020 · 0 comments · Fixed by #1360
Closed

Int.MIN_VALUE and Int.MAX_VALUE references see incorrect links generated #1268

JamesCurry opened this issue Aug 5, 2020 · 0 comments · Fixed by #1360
Assignees
Labels
Milestone

Comments

@JamesCurry
Copy link

Documentation referencing Int.MIN_VALUE and Int.MAX_VALUE sees dokka generate invalid links to both:

https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/-companion/-m-i-n_-v-a-l-u-e.html and https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/-companion/-m-a-x_-v-a-l-u-e.html

Removing /-companion resolves the issue.

/**

  • My documentation.
  • @param number Range between [Int.MIN_VALUE] to [Int.MAX_VALUE].
    */

Expected behaviour
The above links shouldn't contain /-companion in the path.

Screenshots
n/a

To Reproduce
As above.

Dokka configuration

dokka { 
    outputFormat = 'html'
}

Installation

  • Dokka version: 0.10.1

Additional context
n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants