How do I make sphinx understand the documentation information in static methods? #707
-
Hi any and all, We decided to switch from pybind11 to nanobind. This is a growth pain question. I have a problem getting my sphinx documentation for static data and static methods working in nanobind. In pybind11, static methods produces nice documentation. You can see this comparing our stable new and stable documentation. This page gives the method Note that if I go into I am wondering if there are workarounds here so that sphinx can see the documentation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
How do you list the classes and their members? Have you tried registering them explicitly, like so?
It's possible that Sphinx thinks that the static methods are data, not functions. |
Beta Was this translation helpful? Give feedback.
How do you list the classes and their members? Have you tried registering them explicitly, like so?
It's possible that Sphinx thinks that the static methods are data, not functions.