From dd088e9ef002318d06709bec581202d9597c1aec Mon Sep 17 00:00:00 2001 From: "R. Kent James" Date: Thu, 7 Nov 2024 14:19:21 -0800 Subject: [PATCH] Fix conf.py so rosdoc2 will work Signed-off-by: R. Kent James --- launch/doc/source/conf.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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 ----------------------------------------------