Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom rosdoc2 config #132

Merged
merged 5 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/rosdoc2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: rosdoc2

on:
workflow_dispatch:
pull_request:
paths:
- control_msgs/doc/**
- control_msgs/rosdoc2.yaml
- control_msgs/package.xml


jobs:
check:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-rosdoc2.yml@master
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ repos:
description: Check if copyright notice is available in all files.
entry: ament_copyright
language: system
exclude: doc/conf.py

# Docs - RestructuredText hooks
- repo: https://github.com/PyCQA/doc8
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
control_msgs
===========

control_msgs contains base messages and actions useful for controlling robots. It provides representations for controller setpoints and joint and cartesian trajectories.

See [control_msgs documentation](https://index.ros.org/p/control_msgs/) on index.ros.org


Expand Down
5 changes: 0 additions & 5 deletions control_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ set(srv_files
srv/QueryTrajectoryState.srv
)

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

rosidl_generate_interfaces(${PROJECT_NAME}
${action_files}
${msg_files}
Expand Down
5 changes: 5 additions & 0 deletions control_msgs/doc/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Configuration file for the Sphinx documentation builder.
# settings will be overridden by rosdoc2, so we add here only custom settings

copyright = "2024, ros2_control development team"
html_logo = "https://control.ros.org/master/_static/logo_ros-controls.png"
23 changes: 23 additions & 0 deletions control_msgs/doc/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Welcome to the documentation for control_msgs
===============================================

control_msgs contains base messages and actions useful for controlling robots. It provides representations for controller setpoints and joint and cartesian trajectories.

For more information of the ros2_control framework see `control.ros.org <https://control.ros.org/>`__.

API documentation
------------------

.. toctree::
:maxdepth: 2

Action Definitions <generated/action_definitions>
Message Definitions <generated/message_definitions>
Service Definitions <generated/service_definitions>


Indices and Search
==================

* :ref:`genindex`
* :ref:`search`
4 changes: 2 additions & 2 deletions control_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<version>5.1.0</version>
<description>
control_msgs contains base messages and actions useful for
controlling robots. It provides representations for controller
controlling robots. It provides representations for controller
setpoints and joint and cartesian trajectories.
</description>
<maintainer email="[email protected]">Bence Magyar</maintainer>

<license>BSD-3-Clause</license>

<url>http://ros.org/wiki/control_msgs</url>
<url type="website">https://control.ros.org</url>
<author email="[email protected]">Stuart Glaser</author>

<buildtool_depend>ament_cmake</buildtool_depend>
Expand Down
Loading