-
Notifications
You must be signed in to change notification settings - Fork 372
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
Introduce the Snippet Index #8383
Conversation
Latest documentation preview deployed successfully.
Note: This comment is updated whenever you push a commit. |
|
||
// --- | ||
|
||
/// Returns `true` if the given name has not been released yet. |
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.
While I find this approach Good Enough ™️, I'm all ears if someone has something nicer.
Web viewer failed to build.
Note: This comment is updated whenever you push a commit. |
8431cfb
to
3493bfa
Compare
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.
makes sense and looks good to me
3493bfa
to
8aaa8a8
Compare
Adds the ability to manually opt-out of the index for specific snippets/archetypes/components. E.g.: ```toml # These snippets will be excluded from the snippet index, unconditionally. [snippets_ref.snippets.opt_out] "archetypes/manual_indicator" = [] # These archetypes will ignore the associated snippets in the snippet index. [snippets_ref.archetypes.opt_out] "DataframeQuery" = [ "reference/dataframe_save_blueprint" ] # These components will ignore the associated snippets in the snippet index. [snippets_ref.components.opt_out] "ShowLabels" = [ "tutorials/data_out", ] ``` Config will have to be filled over time! [Rendered](https://github.com/rerun-io/rerun/blob/cmc/snippets_index_2_opt_outs/docs/snippets/INDEX.md) * Part of #1123 * Part of #5662 * DNM: requires #8383
All the codegen to generate the autogenerated parts of the new snippet index.
Rendered
codegen/docs/mod.rs
->codegen/docs/website.rs
#8382Generated data can be re-used for: