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

What should be included in the API reference documentation? #948

Open
2 tasks done
Tracked by #944
zklaus opened this issue Aug 6, 2024 · 0 comments
Open
2 tasks done
Tracked by #944

What should be included in the API reference documentation? #948

zklaus opened this issue Aug 6, 2024 · 0 comments
Labels
type::documentation request for improved documentation

Comments

@zklaus
Copy link

zklaus commented Aug 6, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

We rely on autoapi to turn our docstrings into documentation. From its documentation:

With the default settings, AutoAPI will document everything that is publicly accessible through the actual package when loaded in Python. For example if a function is imported from a submodule into a package then that function is documented in both the submodule and the package.

That means that all private and undocumented things also show up in the documentation. That makes it noisy and harder to find the actually documented pieces, as well as more difficult to identify which crucial pieces would most benefit from adding further documentation.

Agreeing on some fundamental principals (include private things? include special functions?) and reflecting them in the configuration would be an easy thing to do to slim down the api docs.

I think it would be good to start with a few basic decision:

Should the API reference documentation only include public APIs, or also private parts?

What parts of the code base should be considered public?

Additional Context

No response

@zklaus zklaus added the type::documentation request for improved documentation label Aug 6, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::documentation request for improved documentation
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant