Skip to content

launch package documentation is not generated/published for Kilted #920

Closed

Description

@christophebedard

Generated by Generative AI

No response

Operating System:

n/a

ROS version or commit hash:

Kilted

RMW implementation (if applicable):

No response

RMW Configuration (if applicable):

No response

Client library (if applicable):

No response

'ros2 doctor --report' output

ros2 doctor --report
<COPY OUTPUT HERE>

Steps to reproduce issue

Open the launch package documentation for Kilted: https://docs.ros.org/en/kilted/p/launch

Expected behavior

Documentation is available, like the Rolling documentation: https://docs.ros.org/en/rolling/p/launch/

Actual behavior

404

Additional information

To investigate this, someone should try to generate the docs locally using rosdoc2: https://github.com/ros-infrastructure/rosdoc2

We should also take a look at the latest CI job that built/tried to build the docs: https://build.ros2.org/job/Kdoc__launch__ubuntu_noble_amd64/

Activity

  1. added
    bug
    help wanted
    on Nov 6, 2025
  2. ottojo commented on Nov 8, 2025

    @ottojo
    Contributor

    In the latest doc build job for this repo there is the following relevant log:

    Relevant part of logs:
    [rosdoc2] [INFO] Note: the builder 'launch Public C/C++ API (doxygen)' did not generate any output to be copied into the destination.
    [rosdoc2] [INFO] /tmp/ws/docs_build/launch/output_staging/generated/doxygen/xml
    [rosdoc2] [INFO] No doxygen_xml_directory found, apparently doxygen did not run
    [rosdoc2] [INFO] interface_counts: {'msg': 0, 'srv': 0, 'action': 0}
    [rosdoc2] [INFO] standard_docs: {'package': {'path': '/tmp/ws/src/launch/launch/package.xml', 'filename': 'package.xml', 'type': 'xml'}, 'changelog': {'path': '/tmp/ws/src/launch/launch/CHANGELOG.rst', 'filename': 'CHANGELOG.rst', 'type': 'rst'}}
    [rosdoc2] [INFO] Note: no user_doc_dir provided, but a doc directory was located in a standard location "doc/source" and that will be used.
    [rosdoc2] [INFO] include_user_docs: rel_user_doc_directory <doc/source> output_dir </tmp/ws/docs_build/launch/launch/wrapped_sphinx_directory>
    [rosdoc2] [INFO] Copying /tmp/ws/src/launch/launch/doc/source to /tmp/ws/docs_build/launch/launch/wrapped_sphinx_directory/doc/source
    [rosdoc2] [INFO] Documentation found in directories ['.']
    [rosdoc2] [INFO] doc_directories: ['.']
    [rosdoc2] [INFO] Adding package repository url from rosdisto: https://github.com/ros2/launch.git
    [rosdoc2] [INFO] Using a default index.rst.jinja
    [rosdoc2] [INFO] Running sphinx-apidoc: 'sphinx-apidoc -o /tmp/ws/docs_build/launch/launch/wrapped_sphinx_directory -e /tmp/ws/src/launch/launch/launch' in '/tmp/ws/docs_build/launch/launch/wrapped_sphinx_directory'
    [rosdoc2] [INFO] Running Sphinx-build: 'sphinx-build /tmp/ws/docs_build/launch/launch/wrapped_sphinx_directory /tmp/ws/docs_build/launch/launch/wrapped_sphinx_directory/sphinx_output' in '/tmp/ws/docs_build/launch/launch/wrapped_sphinx_directory'
    Running Sphinx v8.2.3
    WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English).
    [rosdoc2] Using user supplied conf.py
    [rosdoc2] user conf.py specified allowed extensions: ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', 'sphinx.ext.githubpages']
    [rosdoc2] enabling autodoc
    [rosdoc2] autodoc mock imports: 'ament_index_python', 'importlib-metadata', 'lark-parser', 'lark'
    [rosdoc2] enabling intersphinx
    [rosdoc2] overriding theme to be 'sphinx_rtd_theme'
    [rosdoc2] extending intersphinx mapping
    [rosdoc2] adding markdown parser
    loading translations [en]... done
    Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
    ERROR: Invalid value `None` in intersphinx_mapping['https://docs.python.org/']. Expected a two-element tuple or list.
    
    Configuration error!
    
    Versions
    ========
    
    * Platform:         linux; (Linux-6.14.0-1010-aws-x86_64-with-glibc2.39)
    * Python version:   3.12.3 (CPython)
    * Sphinx version:   8.2.3
    * Docutils version: 0.20.1
    * Jinja2 version:   3.1.6
    * Pygments version: 2.17.2
    
    Last Messages
    =============
    
    None.
    
    Loaded Extensions
    =================
    
    None.
    
    Traceback
    =========
    
          File "/home/buildfarm/.local/lib/python3.12/site-packages/sphinx/ext/intersphinx/_load.py", line 132, in validate_intersphinx_mapping
            raise ConfigError(msg)
        sphinx.errors.ConfigError: Invalid `intersphinx_mapping` configuration (1 error).
    
    
    The full traceback has been saved in:
    /tmp/sphinx-err-qpv128pr.log
    
    To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
    Please also report this if it was a user error, so that a better error message can be provided next time.
    Sphinx-build exited with return code '2'
    

    which notably also occurs in the [latest job for rolling]. So maybe all distros are broken, and the hosted docs for rolling are old (perhaps the latest successful build was before the kilted release?).

    It is reproducible locally, but only when installing rosdoc2 per the rosdoc2 from source install instructions, which also installs sphinx-8 instead of sphinx-7 packaged in ubuntu/ros binary repositories.

    The intersphinx_mapping configuration used a format which is long deprecated and removed with sphinx 8 (sphinx-doc/sphinx#12083).

  3. christophebedard-apexai commented on Nov 17, 2025

    @christophebedard-apexai
  4. christophebedard commented on Nov 17, 2025

    @christophebedard
    MemberAuthor

    argh, wrong account

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bughelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions