[PoC] API docs refactoring: Use one time generated docstrings.h as the primary source for adding and extracting the docstrings #150
Labels
documentation-related
Suggests that documentation needs enriching
enhancement
New feature or request
Proof of concept implementation steps
Make the below changes in a feature branch in tudatpy repository. Then, use tudat-bundle to fetch these changes within the tudatpy git submodule and build tudat and tudatpy locally.
.rst
files are needed in tudatpy/docs/source for each module containing reference to functions and methods from which the docstrings are to be extracted, so sphinx can extract the docs from these files. Generate these files following the steps in tudat-multidoc README. These .rst files can be generated ones and used thereafter by committing them to tudatpy repository.sys.path.insert(0, os.path.abspath('../../build/tudatpy'))
in the else loopmake html
inside tudatpy/docs/. This step should generate html files in the _build folder.Development cycle this PoC will lead to
make html
from inside the tudatpy git submodule and test the html files generated locallyPotential issues with this approach [Resolved]
The text was updated successfully, but these errors were encountered: