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

tools: subpackage doc overhaul #1771

Merged
merged 5 commits into from
Dec 19, 2019
Merged

tools: subpackage doc overhaul #1771

merged 5 commits into from
Dec 19, 2019

Conversation

dgw
Copy link
Member

@dgw dgw commented Dec 3, 2019

Tin. See #1565.

I was surprised that tools.calculation took the most time, which was probably mostly wasted on docstrings that don't appear in the public docs anyway, but pretty tables are always worth it… right? 😁

@dgw dgw added this to the 7.0.0 milestone Dec 3, 2019
@dgw dgw requested a review from a team December 3, 2019 22:20
@dgw dgw changed the title tools: doc overhaul tools: subpackage doc overhaul Dec 3, 2019
Most of this will never actually appear in the docs due to `__all__`
and/or method privacy, but I updated things anyway. The ASCII art tables
are kinda nice...
Easy by comparison with the mostly-hidden mess in `tools.calculation`.
Almost theraputic doing this one!
Not much to do here. This is all internal and not shown in the public
documentation, so the changes are solely to scratch my own itch for
consistency between docstrings.
This was mostly already modernized, which made my life easy.
Fixed a malformatted return type annotation, and told Sphinx to include
both static methods (technically private) in the public documentation so
the migration guide for Sopel 7 can link to them.
@dgw dgw merged commit cdf73f3 into master Dec 19, 2019
@dgw dgw deleted the tools-doc-overhaul branch December 19, 2019 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants