Dirty trick to extend the automated completion in a notebook.
from pyquickhelper.ipythonhelper import AutoCompletionFile
from jyquickhelper.helper_in_notebook import set_notebook_name_theNotebook
set_notebook_name_theNotebook()
theNotebook
'example_completion.ipynb'
import os
path = os.path.join(os.path.abspath(os.path.dirname(theNotebook)), "..")
d = AutoCompletionFile(path)
d._members
['environment_yml', 'examples', 'notebooks', 'sphinxdoc']
d.sphinxdoc.source.index_rst._ [25:]
'tHub\\pyquickhelper\\_doc\\sphinxdoc\\source\\index.rst'
import os
os.listdir(d.sphinxdoc.source._)
['all_indexes.rst', 'all_notebooks.rst', 'all_report.rst', 'api', 'automation.jpg', 'blog', 'completed_todoextlist.rst', 'conf.py', 'contribute.rst', 'coverage', 'documentation_example.rst', 'filechanges.rst', 'gallery', 'glossary.rst', 'HISTORY.rst', 'images', 'index.rst', 'ipython_notebook_args.rst', 'issues_todoextlist.rst', 'i_cmd.rst', 'i_ex.rst', 'i_faq.rst', 'i_galleries.rst', 'i_indexes.rst', 'i_nb.rst', 'license.rst', 'notebooks_snippets', 'phdoc_static', 'phdoc_templates', 'tutorial', '_temp_custom_run_script_.py', '_temp_custom_run_script_.py.pkl', '__pycache__']