Conversation
| @@ -0,0 +1,94 @@ | |||
| #:schema ./schema.json | |||
There was a problem hiding this comment.
New manifest format is a lot simpler, just a single categories key, each of which contains a title, prelude, and a list of examples.
The parser will automatically infer which languages are available based on the filesystem structure. It will include any examples with frontmatter at examples/{LANGUAGE}/{NAME}/README.md (where LANGUAGE is one of cpp, python, rust).
|
Linkinator doesn't like the quotes surrounding frontmatter thumbnail URLs |
|
For now the links are just skipped, I spent way too long looking into it |
scripts/ci/thumbnails.py
Outdated
|
|
||
| import frontmatter | ||
| import requests | ||
| import tomlkit |
There was a problem hiding this comment.
this should be added to some requirements.txt, and frontmatter should be removed from it
| examples = [ | ||
| "arkit_scenes", | ||
| "controlnet", | ||
| "depth-guided-stable-diffusion", | ||
| "detect-and-track-objects", | ||
| "dicom-mri", | ||
| "face-tracking", | ||
| "human-pose-tracking", | ||
| "lidar", | ||
| "live-camera-edge-detection", | ||
| "live-depth-sensor", | ||
| "llm_embedding_ner", | ||
| "nuscenes", | ||
| "objectron", | ||
| "open-photogrammetry-format", | ||
| "raw-mesh", | ||
| "rgbd", | ||
| "ros-node", | ||
| "segment-anything-model", | ||
| "signed-distance-fields", | ||
| "structure-from-motion", | ||
| "vrs", |
There was a problem hiding this comment.
@jprochazk: It seems like all of the examples with "-" in the name don't show up in the examples on the preview of your new branch on the landing side of things: https://landing-git-jan-support-toml-rerun.vercel.app/examples/real-data
What
Closes #3355
Closes #2431
README.mdfrontmatter to use TOML instead of YAMLmanifest.ymlto a.tomlfilethumbnails.py,re_build_examples)README.mdfrontmatter and the manifest file by inferring more information from the filesystem---for delimiterslandingto support TOML and new manifest/README formatsAfter merging this PR, merge the PR in landing by following the instructions in the PR body there.
Checklist
mainbuild: app.rerun.ionightlybuild: app.rerun.io