-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Autoapi instead of Autodoc to generate Python docs in readthedocs
Autoapi uses a custom parser to read in the doc strings and doesn't need to include the python modules. This allows to generate the docs even without full build of the library, we just need to run swig but there is no need to compile the library with the swig layer to create working Python module. This is only used in readthedocs because sphinx-autoapi is currenly not packaged in fedora. However since in fedora we do regular full builds it is not a problem and Autodoc can be used normally.
- Loading branch information
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
breathe | ||
sphinx-autoapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters