-
Notifications
You must be signed in to change notification settings - Fork 373
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
Use TOML for example readme frontmatter #4553
Conversation
@@ -0,0 +1,94 @@ | |||
#:schema ./schema.json |
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.
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 requests | ||
import tomlkit |
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.md
frontmatter to use TOML instead of YAMLmanifest.yml
to a.toml
filethumbnails.py
,re_build_examples
)README.md
frontmatter and the manifest file by inferring more information from the filesystem---
for delimiterslanding
to 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
main
build: app.rerun.ionightly
build: app.rerun.io