diff --git a/launch/doc/source/conf.py b/launch/doc/source/conf.py index a6888dc66..81d9ce31c 100644 --- a/launch/doc/source/conf.py +++ b/launch/doc/source/conf.py @@ -35,7 +35,7 @@ # with the same name of this package within the docs_build directory. # Hence we add the parent folder to the system path so that the modules from # this package can be imported. -sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath(os.path.join('..', '..', '..', '..', 'launch'))) # -- Project information ----------------------------------------------------- @@ -91,13 +91,6 @@ # The master toctree document. master_doc = 'index' -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. -language = None - # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. @@ -199,7 +192,7 @@ # -- Options for intersphinx extension --------------------------------------- # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'https://docs.python.org/': None} +intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} # -- Options for todo extension ----------------------------------------------