@pkqxdd-s:
my_package
def get_docs_index_path():
import os
my_package_root = os.path.dirname(os.path.dirname(__file__))
docs_index = os.path.join(my_package_root, 'docs', '_build', 'html', 'index.html')
return docs_index
my_module my_package docstring, , help(my_module), -
...
...
See sphinx docs at <path to your index>
, , get_docs_index_path() docstring.