@vectorize-decorated functions are not found by sphinx
See original GitHub issue- I am using the latest released version of Numba (most recent is visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
- I have included below a minimal working reproducer (if you are unsure how to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).
I use sphinx
with the apidoc
extension to have a reference documentation generated automatically.
For functions decorated with njit
this works without any complications, for vectorize
however, the function disappears from the docs, indicating that apidoc either cannot find it or decides not to include it. (Sorry for the lack of better info).
Since this is sphinx related I am not sure how to include a minimal example, but if it would help and I find some time I can try to set up a mini-repository.
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (12 by maintainers)
Top Results From Across the Web
Sphinx can't find my functions (probably due to imports or ...
I found that docs/source/packagename.rst contains automodule:: scriptname but it should (it was only correct before I made folder structure ...
Read more >Uncovering Secrets of the Sphinx - Smithsonian Magazine
After decades of research, American archaeologist Mark Lehner has some answers about the mysteries of the Egyptian colossus.
Read more >Sphinx | Definition, History, Examples, & Facts | Britannica
sphinx, mythological creature with a lion's body and a human head, an important image in Egyptian and Greek art and legend. The word...
Read more >Sphinx water erosion hypothesis - Wikipedia
Contents · 2.1.1 Causeway · 2.1.2 Sphinx Temple and Khafre Valley Temple · 2.1.3 Missing archaeological evidence for an earlier civilization.
Read more >HERODOTUS AND THE MISSING SPHINX | Journal for Semitics
HERODOTUS AND THE MISSING SPHINX ... have been familiar with the sphinx which features in the story of Oedipus, mythical king of Thebes....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@HPLegion, thanks for the sphinx extension for autodoc. I tried to change it to work with
autosummary
+@intrinsic
:Also, in order for this to work, one needs to update the intrinsic wrapper:
I tried adapting the jit-documenter stuff but I couldn’t get it to work. I adopted a solution that I am ashamed of but that works: running this before sphinx 😃