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

Improve autodoc of callables and variables #111

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Conversation

pydanny
Copy link
Contributor

@pydanny pydanny commented Oct 31, 2023

Currently our docs are useful, but lack visibility in some modules as to what components are provided by the code. This forces the reader to dive into source code. While code diving is a good thing, our docs should better describe what the module does. Types is the worst offender, but Localtime can also be improved.

Also, we can make code diving easier.

What this does:

  • Links autodocumented callables with their source code
  • Uses the autodata function to document variables in types and localtime

Currently our docs are useful, but lack visibility in some modules as to what components are provided by the code. This forces the reader to dive into source code. While code diving is a good thing, our docs should better describe what the module does. Types is the worst offender, but Localtime can also be improved.

Also, we can make code diving easier.

What this does:

- Links autodocumented callables with their source code
- Uses the autodata function to document variables in types and localtime
Copy link
Contributor

@delfick delfick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice

@pydanny pydanny merged commit c934f4f into main Nov 1, 2023
@pydanny pydanny deleted the improve-autodoc branch November 1, 2023 09:15
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.

3 participants