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 documentation for the API #119

Closed
jaraco opened this issue Oct 22, 2020 · 2 comments · Fixed by #311
Closed

Add documentation for the API #119

jaraco opened this issue Oct 22, 2020 · 2 comments · Fixed by #311
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@jaraco
Copy link
Member

jaraco commented Oct 22, 2020

In GitLab by @pradyunsg on Apr 16, 2020, 16:17

It'd be great to have API reference documentation, like https://packaging.pypa.io/en/latest/version/#reference for importlib.metadata. It'd be nice to know exactly what functions, classes, attributes, and methods are publicly available for various bits of functionality provided by this project.

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @jaraco on Jun 5, 2020, 15:46

Yes, I agree. The existing docs do enumerate most of the supported functions and classes, but it reads more like a manual than a reference. I'd be open to adding a reference to the source to document the supported API. Would you be willing to draft a MR?

@jaraco jaraco added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Jan 10, 2021
@jaraco
Copy link
Member Author

jaraco commented Apr 18, 2021

In my other projects, I rely heavily on autodoc. I'd be more than happy to include that in reference documentation, but I'm not sure how well that's supported in CPython (with which this project attempts to stay in sync). In the bpo-37741, this issue was addressed for CPython by simply linking to the source. Perhaps this project could do the same.

FFY00 added a commit to FFY00/importlib_metadata that referenced this issue May 18, 2021
Fixes python#119

Signed-off-by: Filipe Laíns <lains@riseup.net>
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant