Use examples' README front matter to generate the demo website #2429
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, a list of of examples and related metadata is hardcoded in
script/build_demo_app.py
, but this is somewhat redundant with the examples' README front matter. I suggest improving this script such that:demo: true
Examples' front matter will need to include:
demo: true
(if the example is to be included as demo)description: ...
(needed anyways for the example landing page)demo_build_args: []
for optional build argument when generating the demo siteSome mechanism should also be devised to generate/avoid
script/requirements-web-demo.txt
.The text was updated successfully, but these errors were encountered: