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

Add method documentation for Posthog #88

Open
marandaneto opened this issue Mar 1, 2024 · 4 comments
Open

Add method documentation for Posthog #88

marandaneto opened this issue Mar 1, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed repository maintenance

Comments

@marandaneto
Copy link
Member

Description

Relates to https://x.com/caseycrogers/status/1763498570307551663?s=20

@marandaneto marandaneto added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 1, 2024
@caseycrogers
Copy link

Motivating example:
I want to set when events are associated with a dev device so I can filter that out in my dashboards. debug(true) seems like the obvious thing to do, but when I click through on debug it's not documented so I'm not sure what setting it to true does.

Of course I can reference the web docs (which I'm about to do now to read up on this), but 9 times out of 10 I prefer in-line documentation as it's much less disruptive to my workflow than having to navigate web docs.

@marandaneto
Copy link
Member Author

We'd also benefit from automatically generated API ref. https://pub.dev/documentation/posthog_flutter/latest/index.html

@dreyescabrera
Copy link

How can I assist with this? I believe it would be a great benefit to the community, me included.

@marandaneto marandaneto added the help wanted Extra attention is needed label Sep 30, 2024
@marandaneto
Copy link
Member Author

How can I assist with this? I believe it would be a great benefit to the community, me included.

you pretty much copy the code comments from the Android SDK
And follow the Dart comments spec so the documentation will be automatically generated during the publish steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed repository maintenance
Projects
None yet
Development

No branches or pull requests

3 participants