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

Review and simplify API documentation generation #146

Open
4 of 6 tasks
niketagrawal opened this issue Mar 27, 2024 · 0 comments
Open
4 of 6 tasks

Review and simplify API documentation generation #146

niketagrawal opened this issue Mar 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@niketagrawal
Copy link

niketagrawal commented Mar 27, 2024

Challenges and issues in current implementation

  • The process of creating new API documentation is cumbersome. It involves multiple repositories. It is desired to have this process simplified.

  • Process of adding a new feature currently:

    • Add C++ code changes in tudat
    • Add python bindings in tudatpy
    • Add API documentation for the bindings in tudat-multidoc repo
  • A separate repository tudat-multidoc is used to generate the API documentation for the bindings. It uses a custom yml format to specify the docstrings and a separate docstrings.h file to generate the docstrings in NumPy doc style.

  • Currently, the docstrings in the native python code in tudatpy repository are not rendered in html format on the tudat docs website. Only the API docs are rendered. It is desired to have both docs rendered as html on the public facing documentation.

  • The Azure pipelines build and test the source code for 12 combinations (3 operating systems and 4 python versions each). Currently, the API docs are updated on the website if one of these passes (Linux Python 3.8?). It is desired to have the API docs updated only when the build and test pass for all platforms and python versions.

Work plan

Explore options to simplify writing binding docstrings and generating API documentation without relying on tudat-multidoc: Ideas to try as proof of concepts

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