Replies: 1 comment 2 replies
-
@jpreiss Did you find a solution to this issue? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My project mixes pybind11 output with pure Python code. I follow the pattern in #1004 (comment) and #1004 (comment): give an "ugly" name for the pybind11 module, then in the top-level module's
__init__.py
haveHowever, the docstrings generated look like:
It would be great if I could choose a different module name.
Since pybind11 has no awareness of how the bindings fit into the larger package, we cannot hope to do this automatically. What if
pybind11::options
had some method likeset_module_doc_alias(char const *)
that would allow the user to choose how the module's name appears in generated docstrings?Beta Was this translation helpful? Give feedback.
All reactions