Skip to content

Commit

Permalink
Enable document generation using rosdoc2 for ament_python pkgs (#50)
Browse files Browse the repository at this point in the history
* Add missing folder
* Add dep for tracetools_launch
* Use only exec_depends

Signed-off-by: Yadunund <yadunund@openrobotics.org>
  • Loading branch information
Yadunund committed Mar 13, 2023
1 parent f707d80 commit e664e5b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Empty file.
6 changes: 3 additions & 3 deletions tracetools_launch/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<url type="bugtracker">https://github.com/ros2/ros2_tracing/issues</url>
<author email="fixed-term.christophe.bourquebedard@de.bosch.com">Christophe Bedard</author>

<depend>launch</depend>
<depend>launch_ros</depend>
<depend>tracetools_trace</depend>
<exec_depend>launch</exec_depend>
<exec_depend>launch_ros</exec_depend>
<exec_depend>tracetools_trace</exec_depend>

<test_depend>ament_copyright</test_depend>
<test_depend>ament_flake8</test_depend>
Expand Down
2 changes: 1 addition & 1 deletion tracetools_trace/tracetools_trace/tools/lttng_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_version() -> Optional[Version]:
:return: the version as a Version object, or `None` if it cannot be extracted
"""
doc_lines = lttng.__doc__.split('\n')
doc_lines = str(lttng.__doc__).split('\n')
filtered_doc_lines: List[str] = list(filter(None, doc_lines))
if len(filtered_doc_lines) == 0:
return None
Expand Down
2 changes: 1 addition & 1 deletion tracetools_trace/tracetools_trace/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def init(
:param session_name: the name of the session
:param base_path: the path to the directory in which to create the tracing session directory,
or `None` for default
or `None` for default
:param ros_events: list of ROS events to enable
:param kernel_events: list of kernel events to enable
:param context_fields: list of context fields to enable
Expand Down

0 comments on commit e664e5b

Please sign in to comment.