Skip to content

Commit 90e74fb

Browse files
author
Murilo Marinho
committed
Testing mermaid with config in readthedocs
1 parent 3505d4b commit 90e74fb

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

docs/source/action_clients.rst

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,22 @@ this complexity in consideration when designing your packages to make sure that
1717

1818
.. mermaid::
1919

20-
%%{init: { "theme" : "dark" }}%%
20+
---
21+
config:
22+
theme: redux-dark-color
23+
look: neo
24+
---
2125
sequenceDiagram
22-
Action Client->>+Action Server: action_client.send_goal_async()
23-
Action Server-->>-Action Client: ActionClientNode.goal_response_callback()
24-
Action Client->>+Action Server: action_client.get_result_async()
25-
loop While action has not ended
26-
Action Server-->>Action Client: ActionClientNode.action_feedback_callback()
27-
end
28-
Action Server-->>-Action Client: ActionClientNode.action_result_callback()
26+
participant Action Client as Action Client
27+
participant Action Server as Action Server
28+
autonumber
29+
Action Client ->>+ Action Server: action_client.send_goal_async()
30+
Action Server -->>- Action Client: ActionClientNode.goal_response_callback()
31+
Action Client ->>+ Action Server: action_client.get_result_async()
32+
loop While action has not ended
33+
Action Server -->> Action Client: ActionClientNode.action_feedback_callback()
34+
end
35+
Action Server -->>- Action Client: ActionClientNode.action_result_callback()
2936

3037
#. Create the Node with an :code:`ActionClient`.
3138
#. Update the :file:`setup.py` so that :program:`ros2 run` finds the node (if needed).

0 commit comments

Comments
 (0)