add_full_prefix
will also add the __init__
path to its title
#276
Labels
add_full_prefix
will also add the __init__
path to its title
#276
Environment
Describe the bug
When using the
MarkdownRenderer
withadd_full_prefix
enabled, if there are functions defined in the__init__.py
file, the prefix will also contain__init__.
. Refer topydoc-markdown/src/pydoc_markdown/contrib/renderers/markdown.py
Lines 47 to 48 in 3aa2fa9
Expected behavior
I think
__init__
should be ignored in thedotted_name
function. Let's say you have ademo
function inmy_package/__init__.py
, its title should bemy_package.demo
instead ofmy_package.__init__.demo
.The text was updated successfully, but these errors were encountered: