-
Notifications
You must be signed in to change notification settings - Fork 342
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
Sphinx Python Documentation #342
Comments
…AcademySoftwareFoundation#342) * Build fixes - Make Viewer conditionally require render builds - Remove duplicate installs of resources and libraries by fixing up search path logic to allow for current path as well as parent path. Current install puts the resources/ and libraries/ under the same directory as bin/. - Add in pop() method on FilePath to allow to get parent. * Create Util file and pull out some Material class logic into it. * Movement of UI / introspection utilities the render utils. * - Fix up extension storage and usage for image file dialog so it's not fixed. - Fix so that we use v-flip for textures so texture are not flipped. * Review fixes. Add in VariantBlock search function based on generic predicate function. * Review fixes.
I'd like to take a stab at this for the ASWF Dev Days 2023. If I’m understanding this right, the work here roughly consists of two parts:
While it may not be possible/feasible to add/curate docstrings for all MaterialX Python bindings during Dev Days, it should be possible to lay the foundation for building API documentation using Sphinx on the day. Proposed approach/outcome:
Proposed artifacts:
|
Work in progress. This PR adds a new build target named `MaterialXDocsPython`, which generates Python API documentation using Sphinx. The existing developer guide contents are incorporated into the new HTML documentation, which lives side-by-side to the existing Doxygen-generated C++ API documentation. The docstrings of the Python modules were tweaked to describe what the individual modules are responsible for. Signed-off-by: Stefan Habel <[email protected]>
Work in progress. This PR adds a new build target named `MaterialXDocsPython`, which generates Python API documentation using Sphinx. The existing developer guide contents are incorporated into the new HTML documentation, which lives side-by-side to the existing Doxygen-generated C++ API documentation. The docstrings of the Python modules were tweaked to describe what the individual modules are responsible for. Signed-off-by: Stefan Habel <[email protected]>
Work in progress. This PR adds a new build target named `MaterialXDocsPython`, which generates Python API documentation using Sphinx. The existing developer guide contents are incorporated into the new HTML documentation, which lives side-by-side to the existing Doxygen-generated C++ API documentation. The docstrings of the Python modules were tweaked to describe what the individual modules are responsible for. Signed-off-by: Stefan Habel <[email protected]>
…Documentation Signed-off-by: Jonathan Stone <[email protected]>
I'd like to continue our work on this from last year’s ASWF Dev Days next week: |
Add support for the generation of Sphinx documentation for MaterialX Python, using the approach described here:
https://pybind11.readthedocs.io/en/stable/advanced/misc.html#generating-documentation-using-sphinx
The text was updated successfully, but these errors were encountered: