From e9315ec974ce013875b94325459481b88f4e56c4 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Fri, 28 Jul 2023 10:22:07 +0200 Subject: [PATCH 1/3] fix links --- docs/content/concepts/annotation-context.md | 3 ++- docs/content/getting-started/logging-rust.md | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/content/concepts/annotation-context.md b/docs/content/concepts/annotation-context.md index 17ff87d68e40..f84aee41c77a 100644 --- a/docs/content/concepts/annotation-context.md +++ b/docs/content/concepts/annotation-context.md @@ -54,7 +54,7 @@ The Annotation Context is defined as a list of Class Descriptions that define ho Annotation contexts are logged with: * Python: [`log_annotation_context`](https://ref.rerun.io/docs/python/latest/common/annotations/#rerun.log_annotation_context) -* Rust: [`AnnotationContext`](https://docs.rs/rerun/latest/rerun/external/re_log_types/component_types/context/struct.AnnotationContext.html) +* Rust: [`AnnotationContext`](https://docs.rs/rerun/latest/rerun/components/struct.AnnotationContext.html) code-example: annotation-context @@ -80,3 +80,4 @@ you can explicitly determine the color of each class. screenshot of a segmentation image + diff --git a/docs/content/getting-started/logging-rust.md b/docs/content/getting-started/logging-rust.md index 3c79dc1458ff..4158da4d97be 100644 --- a/docs/content/getting-started/logging-rust.md +++ b/docs/content/getting-started/logging-rust.md @@ -122,7 +122,7 @@ In particular, when using the Rust SDK, you work directly with [`components`](ht By logging multiple components to an Entity, one can build up Primitives that can later be visualized in the viewer. For more information on how the rerun data model works, refer to our section on [entities and components](../concepts/entity-component.md). -Logging components is a only a matter of calling [`MsgSender::with_component`](https://docs.rs/rerun/latest/rerun/struct.MsgSender.html#method.with_component) using any type that implements the [`Component` trait](https://docs.rs/rerun/latest/rerun/trait.Component.html). We provide [a few of those](https://docs.rs/rerun/latest/rerun/trait.Component.html#implementors)). +Logging components is a only a matter of calling [`MsgSender::with_component`](https://docs.rs/rerun/latest/rerun/struct.MsgSender.html#method.with_component) using any type that implements the [`Component` trait](https://docs.rs/rerun/latest/rerun/experimental/trait.Component.html). We provide [a few of those](https://docs.rs/rerun/latest/rerun/experimental/trait.Component.html#implementors)). #### `Batches` @@ -181,7 +181,7 @@ MsgSender::new("dna/structure/scaffolding/beads") .send(&recording)?; ``` -Once again, although we are getting fancier and fancier with our iterator mappings, there is nothing new here: it's all about building out vectors of [`Component`s](https://docs.rs/rerun/latest/rerun/trait.Component.html) and feeding them to the Rerun API. +Once again, although we are getting fancier and fancier with our iterator mappings, there is nothing new here: it's all about building out vectors of [`Loggable`s](https://docs.rs/re_types/latest/re_types/trait.Loggable.html) and feeding them to the Rerun API. ![logging data - beads](https://static.rerun.io/60c3c762448f68da3f5fdd7927a6e65e11f5385f_logging_data5_beads.png) @@ -303,3 +303,4 @@ You can also save a recording (or a portion of it) as you're visualizing it, dir This closes our whirlwind tour of Rerun. We've barely scratched the surface of what's possible, but this should have hopefully given you plenty pointers to start experimenting. As a next step, browse through our [example gallery](/examples) for some more realistic example use-cases, or browse the [Loggable Data Types](../reference/data_types.md) section for more simple examples of how to use the main data types. + From 61bc1463f91921abf0dce713502686aba5c8a331 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Fri, 28 Jul 2023 10:25:32 +0200 Subject: [PATCH 2/3] more --- docs/content/concepts/entity-component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/concepts/entity-component.md b/docs/content/concepts/entity-component.md index 7b981e4b2597..ddd63964ee3b 100644 --- a/docs/content/concepts/entity-component.md +++ b/docs/content/concepts/entity-component.md @@ -42,7 +42,7 @@ aren't relevant to the scene that the space view is drawing are safely ignored. own components. In Python this is done via [log_extension_components](https://ref.rerun.io/docs/python/latest/common/extension_components/#rerun.log_extension_components) -, whereas in Rust you implement the [Component](https://docs.rs/rerun/latest/rerun/trait.Component.html) trait. +, whereas in Rust you implement the [`Component`](https://docs.rs/rerun/latest/rerun/experimental/trait.Component.html) trait. code-example: extension-components From d058ebce6574638ca5e15e7c489fbe9096608a7c Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Fri, 28 Jul 2023 10:27:29 +0200 Subject: [PATCH 3/3] MORE --- docs/content/getting-started/logging-rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/getting-started/logging-rust.md b/docs/content/getting-started/logging-rust.md index 4158da4d97be..e3144684f262 100644 --- a/docs/content/getting-started/logging-rust.md +++ b/docs/content/getting-started/logging-rust.md @@ -181,7 +181,7 @@ MsgSender::new("dna/structure/scaffolding/beads") .send(&recording)?; ``` -Once again, although we are getting fancier and fancier with our iterator mappings, there is nothing new here: it's all about building out vectors of [`Loggable`s](https://docs.rs/re_types/latest/re_types/trait.Loggable.html) and feeding them to the Rerun API. +Once again, although we are getting fancier and fancier with our iterator mappings, there is nothing new here: it's all about building out vectors of [`Component`s](https://docs.rs/rerun/latest/rerun/experimental/trait.Component.html) and feeding them to the Rerun API. ![logging data - beads](https://static.rerun.io/60c3c762448f68da3f5fdd7927a6e65e11f5385f_logging_data5_beads.png)