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

Publish API documentation #79

Closed
deepy opened this issue Feb 27, 2020 · 5 comments
Closed

Publish API documentation #79

deepy opened this issue Feb 27, 2020 · 5 comments
Assignees

Comments

@deepy
Copy link
Member

deepy commented Feb 27, 2020

We should probably generate javadoc for the tasks and publish it on github pages or somewhere.

@deepy deepy self-assigned this Feb 27, 2020
@deepy
Copy link
Member Author

deepy commented May 7, 2020

So. We can generate Javadoc with dokka, but only if we use JDK 8.
There's an open issue from 2018 regarding this Kotlin/dokka#294 and there's a fix promised for the next version.

And if we were on bintray or maven central we could've used javadoc.io for hosting the documentation automatically

deepy added a commit that referenced this issue May 7, 2020
@deepy
Copy link
Member Author

deepy commented May 7, 2020

It's missing information but that's easily added later on: https://node-gradle.github.io/gradle-node-plugin/

@IgnatBeresnev
Copy link

Hi! Accidentally came across this. Is there a reason you're building javadoc and not dokka's own html format?

javadoc format is in alpha at the moment and has many bugs. We focus on making html stable and sometimes throw in nice features :)

@deepy
Copy link
Member Author

deepy commented Jan 26, 2022

Hi @IgnatBeresnev

It's actually even worse, we're using an old vintage version of dokka to get as proper javadocs as we can 😅
(see Kotlin/dokka#1692)

But the short answer is that personally I really really like javadocs, they work great with tools like dash/zeal, IDEs, and there's a pretty big ecosystem around javadocs.

And with good Javadocs you can get a lot of documentation with little effort!
(I say this knowing full well that our Javadoc is pretty bad, but I intend to fix that, I just need to find the time for it 🥲)

And as for HTML, it looks a bit minimalistic in 0.10.0 but I just gave it a quick try again

@IgnatBeresnev
Copy link

I see :) Here's how the new HTML format looks like btw: https://kotlin.github.io/kotlinx.coroutines/

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

No branches or pull requests

2 participants