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

Autodoc to Autodoc2 #565

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Autodoc to Autodoc2 #565

wants to merge 7 commits into from

Conversation

mj023
Copy link
Collaborator

@mj023 mj023 commented Mar 29, 2023

What problem do you want to solve?

Replace Autodoc with Autodoc2 to make the docstrings compatible with markdown. Then discuss if the docstring style should be changed to Sphinx style or if we should wait until Autodoc2 supports a different style.

Todo

  • Replace Autodoc with Autodoc2
  • Change Docstrings to Sphinx Style

@codecov
Copy link

codecov bot commented Mar 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6b6093d) 89.22% compared to head (cd13540) 89.17%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #565      +/-   ##
==========================================
- Coverage   89.22%   89.17%   -0.06%     
==========================================
  Files          51       51              
  Lines        3592     3592              
==========================================
- Hits         3205     3203       -2     
- Misses        387      389       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hmgaudecker
Copy link
Collaborator

When merging main, I reverted the changes away from NumPy-style docstrings in interface.py.

In sphinx-extensions2/sphinx-autodoc2#33 there is code for getting NumPy-style docstrings to work in autodoc2. Let's hope it will be integrated there soonish, else we should be able to adapt it locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants