-
Notifications
You must be signed in to change notification settings - Fork 394
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
Docs & snippets revamp in preparation for 0.22's new APIs #8881
Conversation
Latest documentation preview deployed successfully.
Note: This comment is updated whenever you push a commit. |
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
4cb8f3e
to
de05fff
Compare
a1299b8
to
05adecc
Compare
69a41e6
to
2804459
Compare
2804459
to
2ae8c32
Compare
afd755c
to
f87128e
Compare
/// \example archetypes/transform3d_simple title="Variety of 3D transforms" image="https://static.rerun.io/transform3d_simple/141368b07360ce3fcb1553079258ae3f42bdb9ac/1200w.png" | ||
/// \example archetypes/transform3d_hierarchy title="Transform hierarchy" image="https://static.rerun.io/transform_hierarchy/cb7be7a5a31fcb2efc02ba38e434849248f87554/1200w.png" | ||
/// \example archetypes/transform3d_row_updates title="Update a transform over time" image="https://static.rerun.io/transform3d_column_updates/80634e1c7c7a505387e975f25ea8b6bc1d4eb9db/1200w.png" | ||
/// \example archetypes/transform3d_column_updates title="Update a transform over time, in a single operation" image="https://static.rerun.io/transform3d_column_updates/80634e1c7c7a505387e975f25ea8b6bc1d4eb9db/1200w.png" | ||
/// \example archetypes/transform3d_partial_updates title="Update specific properties of a transform over time" image="https://static.rerun.io/transform3d_partial_updates/11815bebc69ae400847896372b496cdd3e9b19fb/1200w.png" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
showing all of those in the api is.. a lot. But I guess rather too much than too little :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marvelous. Did some small fixes & formulation tweaks here and there but I think this is really really good now already
Documentation updates in preparation for the new partial updates and columnar APIs in the upcoming 0.22 release.
There are three big components to this:
Also then there's a bunch of codegen improvements, fixes to existing docs, etc.
Note
I made the conscious decision of not mentioning tagging/sorbet anywhere. It's already a lot of information as-is, and at the moment tags provide no value to end users anyhow. As far are users are concerned, these new APIs exist only because they are a net improvement, and not because they allow us to tag things.
Similarly, no mention of
send_dataframes
at this point.Everything is vastly improvable in every way -- feel free to.
New snippets
The new snippets are designed to showcase a few key points:
Specifically, these are the most important snippets to watch out for. They are not only used in the snippet index but also all over the place in the docs:
The choice of archetypes is not random:
Update rows
:archetypes/scalar_row_updates
: using a "mono-oriented" archetypearchetypes/points3d_row_updates
: using a run-of-the-mill "batch-oriented" archetypearchetypes/transform3d_row_updates
: transforms are hard and important, they deserve special focusUpdate columns
:archetypes/scalar_column_updates
: using a "mono-oriented" archetypearchetypes/points3d_column_updates
: using a run-of-the-mill "batch-oriented" archetypearchetypes/transform3d_column_updates
: transforms are hard and important, they deserve special focusarchetypes/image_column_updates
: images in a columnar context are important and not trivial to reason about, they deserve special focusPartial updates
:archetypes/points3d_partial_updates
: using a run-of-the-mill "batch-oriented" archetypearchetypes/transform3d_partial_updates
: transforms are hard and important, they deserve special focusarchetypes/mesh3d_partial_updates
: mesh in a partial update context are not trivial to reason about, they deserve special focusAll of these snippets have comparisons enabled for all three languages.
Snippet index (rendered)
New documentation
There are 4 new pages:
These are the most important ones: they are pretty much a port (also known as a copypasta) of Niko's blog post from a while back -- turns out that a lot of valuable information about Rerun has only ever existed in that blog post for the longest time, and was never formalized in the actual docs.
These pages teach the user about chunks and latest-at semantics, without which it is impossible to understand why, where and how the partial updates & columnar APIs come into play.
This is a rewrite of the existing page that:
A new page that:
Migration guide
Migration guide (rendered).