diff --git a/docs/guide/configuration.md b/docs/guide/configuration.md index 9fdc221..71edd10 100644 --- a/docs/guide/configuration.md +++ b/docs/guide/configuration.md @@ -53,7 +53,7 @@ Types are defined under `` and associated with topics. Example: You can define types in IDL and convert them to XML with `rtiddsgen`: -``` +```plain rtiddsgen -convertToXml MyTypes.idl ``` diff --git a/docs/guide/getting_started.md b/docs/guide/getting_started.md index faa88ee..a71f959 100644 --- a/docs/guide/getting_started.md +++ b/docs/guide/getting_started.md @@ -28,7 +28,7 @@ This is the typical flow for using Connector: create a connector, obtain an output and input, write one sample, then read samples back. For example: -```rust +```rust,no_run use rtiddsconnector::{Connector, GlobalsDropGuard, Input, Output}; fn main() -> rtiddsconnector::ConnectorFallible { diff --git a/docs/guide/input.md b/docs/guide/input.md index 3e6de3b..a160bdb 100644 --- a/docs/guide/input.md +++ b/docs/guide/input.md @@ -19,14 +19,14 @@ fn get_input(connector: &Connector) -> rtiddsconnector::ConnectorResult