-
Notifications
You must be signed in to change notification settings - Fork 451
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
The API docs (Dokka) seem to overwrite each other #2882
Comments
Hi @CLOVIS-AI, first of all, thanks for reporting this bug about the API documentation. We have solved the issue that prevented you from accessing all the Arrow modules from the navigation menu. Additionally, the Please let us know if the error persists or if there are more unexpected behavior in the API documentation. Thanks! |
Thanks, I will try this. |
Hi, it seems this is may not be the correct path? I get:
To reproduce, create a Dokka project with the following configuration: tasks.withType<org.jetbrains.dokka.gradle.DokkaTaskPartial>().configureEach {
dokkaSourceSets.configureEach {
externalDocumentationLink {
url.set(URL("https://kotlinlang.org/api/kotlinx.coroutines/"))
}
externalDocumentationLink {
url.set(URL("https://arrow-kt.io/docs/apidocs"))
}
}
} The first link will resolve successfully to KotlinX.Coroutines, but the second prints the error. |
Nevermind, the trailing slash seems to be necessary. The URL |
Looks like it's gone again :/ https://gitlab.com/opensavvy/decouple/-/jobs/4143887014#L671 |
@nomisRev told me it has been moved to |
For anyone reading this in the future: Dokka is quite sensitive with how the URL is formatted:
|
@CLOVIS-AI is that something we should report to Dokka? |
I don't know. Their documentation is not very clear, and I have yet to see another project that actually sets this up… |
See arrow-kt/arrow#2882 Closes #63 See merge request opensavvy/pedestal!71
This has been solved in the new website, and API Docs show all modules. |
What version are you currently using?
This is about the hosted API docs in the Arrow website.
Current (buggy) situation
What would you like to see?
The website to be configured correctly such that:
For reference, here is the Gradle configuration for Dokka 1.7.20 to add links to the KotlinX.Coroutines dokka pages:
From this configuration, Dokka is able to find the
https://kotlinlang.org/api/kotlinx.coroutines/package-list
file which it uses to generate the links (that's the extent of my Dokka knowledge, sorry if I can't help more).I know that the default Dokka configuration generates the file correctly (I did set up multiple of my projects to reference each other), so it should work more or less out of the box for Arrow as well (though I don't know what post processing is done in your case).
The text was updated successfully, but these errors were encountered: