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

[ENHANCEMENT] Automatic documentation generation #39

Open
linguini1 opened this issue Nov 1, 2023 · 0 comments
Open

[ENHANCEMENT] Automatic documentation generation #39

linguini1 opened this issue Nov 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@linguini1
Copy link
Collaborator

Problem

Although the repository currently has a good amount of inline documentation, it is only visible in the source code.

Proposed Solution

There should be a static webpage that hosts the documentation, which is automatically generated by a GitHub workflow. In order to do this, there should also be a standard doc-string format enforced (one that integrates well with Python tools & LSPs).

Additional Context

There are a couple different doc-string formats (list non-exhaustive):

  • Sphinx
  • Google
  • reST

Ideally, the format that is selected should be able to have a description, parameters, return description, exceptions which could be raised and example usages. Exceptions and examples should be optional fields.

Additionally, the documentation generator should automatically pick up on the type annotations to be included in the documentation. This will avoid duplicating type information in doc strings, which is prone to mistakes. This generator should also pick up default values for keyword arguments.

@linguini1 linguini1 added the enhancement New feature or request label Nov 1, 2023
@Juan-789 Juan-789 self-assigned this Mar 28, 2024
@Juan-789 Juan-789 removed their assignment Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants