Replies: 2 comments 4 replies
-
I've transferred this issue to |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's by design to unify pure Rust project layout and mixed Rust/Python project layout, see #558 I don't think it breaks any documentation generators, they're correctly documenting it, it's just as a user you prefer not see this implementation detail, right? |
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Description
When I build a simple
string_sum
project from examples, I get weird submodule inside main module that has the same name as a main module (i.e.string_sum.string_sum
). I think this caused by module reexporting, but it breaks both docstrings and also many doc generators likepdoc3
(see examples below).P.S. I don't really know whether it's bug or "by design" feature.
Steps to Reproduce
I use step-by-step guide from introduction:
string_sum
:Let's check what docs can be generated with
pdoc3
:Backtrace
No response
Your operating system and version
Windows 10
Your Python version (
python --version
)Python 3.9.0
Your Rust version (
rustc --version
)rustc 1.63.0 (4b91a6ea7 2022-08-08)
Your PyO3 version
0.16.6
How did you install python? Did you use a virtualenv?
Manually installed python from python.org. Yes, venv was used in the example above.
Additional Info
I searched for similar issues but didn't find anything.
Beta Was this translation helpful? Give feedback.
All reactions