79293811

Date: 2024-12-19 09:57:28
Score: 0.5
Natty:
Report link

Found a solution. Because of subfolder having common names i decided to do the following:

  1. Update the sys.path to only include these:
sys.path.insert(0, os.path.abspath('../../feature_service'))
sys.path.insert(0, os.path.abspath('../../feature_service/feature'))
## Exclude `extract` intentionally
#sys.path.insert(0, os.path.abspath('../../feature_service/extract'))
  1. Update the sub-.rst files under extract/modules.rst to locate the directories properly, example adding a prefix extract. like following:
.. automodule:: extract.app_packages.v0_1.extract
   :members:
   :undoc-members:
   :show-inheritance:

.. automodule:: extract.app_packages.v0_1
   :members:
   :undoc-members:
   :show-inheritance:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Akshit