-
Notifications
You must be signed in to change notification settings - Fork 103
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
API reference improvements #347
Comments
I don't know of gotchas related to
When you have specific behavior on some platforms, you document it in the common code, makes sense; but when you have some extra interactions with platform code, you can't document them in common code (because symbols aren't resolved). If you have platform-specific documentation, in the IDE, it is either ignored (when writing common code) or replaces the common documentation. In the latter case, you have to repeat the common documentation for platforms and include platform-specific additions, which I think just isn't worth it. If the system was a bit different and platform-specific documentation was added to the common documentation (and maybe the IDE would be smart enough to show the documentation for the platforms the project actually uses), then I agree that mentioning platform-specific converters and so on would be beneficial. Or better yet, if there was "extension documentation" along with extension functions: then we'd be able to show |
Fixes #347 We methodically went through the complete KDoc-based documentation and reworked it, adding usage examples, clarifying the specifics of behaviors, proposing the expected usage patterns, etc. Additionally, we enabled Dokka's fail-on-warnings flag. --------- Co-authored-by: Danil.Pavlov <[email protected]> Co-authored-by: Vsevolod Tolstopyatov <[email protected]> Co-authored-by: ilya-g <[email protected]>
It would be nice to systematically and extensively improve our API reference:
For every API endpoint, it would be nice to provide the following (example is the place where the property does not hold):
README
shines at that) and how it interacts with other (core) entities. ExampleREADME
is, in fact, deducible from the core entities documentationThe text was updated successfully, but these errors were encountered: