-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
Description
Currently demos are not in source control and are hosted at https://whatwg.org/demos/. The build script then curls them from that URL into the spec.
We should move the demos into this repo, and have the build script inline them from source plus copy them to the output directory. This will then create demo URLs at https://html.spec.whatwg.org/demos/. We should then set up a redirect from the original URLs to these new URLs.
Related: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28200
TODO before we can close this issue:
- Move demos into this repository (Add demos to the repository #445)
- Update build script to use the source repository's demos (Use demos from the source repository html-build#49)
- Get copies of https://whatwg.org/demos/workers/stocks/search.cgi and https://whatwg.org/demos/workers/stocks/stock.cgi and put them in the appropriate place in the source tree; I can't curl them.
- Decide what to do with https://whatwg.org/demos/workers/database-updater/; it's not used by the spec and isn't a real working demo, so I assume we can just kill it?
- Update https://whatwg.org/demos/{canvas,offline,workers} to redirect all subpages to https://html.spec.whatwg.org/demos/
- Additional special handling needed: https://whatwg.org/demos/offline/clock/live-demo/clock{.appcache,.css,.html,.js} need to go to https://html.spec.whatwg.org/demos/{clock.appcache,clock.css,clock2.html,clock.js} since we no longer have a directory of non-working demo files + a working live demo subdirectory.
TODO after this issue:
- Fix blue robot demo per https://www.w3.org/Bugs/Public/show_bug.cgi?id=28200
- Update startConversation demo as discussed in Remove startConversation from source #177