When using the function "generate_docs", if there are two files with the same name under different subpackages, (e.g. subpkg1/utils.py and subpkg2/utils.py), the docs generated for the second one will override the first "utils.py.md".
Expected behaviour:
Doc files are not to be overwritten.
Steps to reproduce the issue:
Have the following folder structure:
src/subpkg1/utils.py
src/subpkg2/utils.py
Describe the bug:
When using the function "generate_docs", if there are two files with the same name under different subpackages, (e.g. subpkg1/utils.py and subpkg2/utils.py), the docs generated for the second one will override the first "utils.py.md".
Expected behaviour:
Doc files are not to be overwritten.
Steps to reproduce the issue:
Technical details:
Possible Fix:
Maybe add an option to name the file with the subpackage name as prefix (e.g. "docs/subpkg1.utils.py.md" and "docs/subpkg2.utils.py.md")