Allow for simpler, less error-prone example front matter #2431
Labels
🧑💻 dev experience
developer experience (excluding CI)
enhancement
New feature or request
examples
Issues relating to the Rerun examples
🕸️ web
regarding running the viewer in a browser
Currently, example's front matter include full path to the main file, potentially linking to a rust version as well, e.g.:
This is error prone on many level: absolute path when relative would be good, rust stuff referenced from python examples, etc.
Ideally, the front matter would only include a single
source: main.py
with a relative path. If a given example exists in both python and rust, the CI should deal with it as needed:main:
path from the rust example and add its link into the web page (which is currently mainly based on the python's readme)The text was updated successfully, but these errors were encountered: