dokka
dokka copied to clipboard
Reference to type `Nothing` leads to 404
Describe the bug
References to Nothing
link to a non existing page: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing/
Expected behaviour
Dokka Links https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing.html
To Reproduce
Create a class taking Nothing
as argument and return type, and generate the HTML documentation
Installation
- Operating system: Linux
- Build tool: Gradle v7.3.3
- Dokka version: 1.6.10
Are you willing to provide a PR? Yes, if guided
/**
* [Nothing] is wrong!
*/
class Foo
^ this indeed references a non-existing page for some reason
cc @ilya-g JFYI
@IgnatBeresnev Dokka writes /
instead of .html
at the end of the string.
The same issue also affects EnumEntries
.
The link in Dokka: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.enums/-enum-entries/index.html
The valid link: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.enums/-enum-entries.html
This should be fixed when stdlib is migrated to the latest version of Dokka.