Specification of shape fragments.
- edit
dev.html
and the markdown files undersection/
- Make sure all your local assets are in the
resources
folder, and the links in yourdev.html
file are relative (important because the publishing script creates multiple nested paths) - Get a snapshot at
rendered.html
by runningrespec --src dev.html --out rendered.html --localhost
(after installing respec withnpm install --global respec
- run
node publish.js
to get the index.html + archived version in thedocs
folder
Alternative way to get a snapshot:
- run a HTTP server in this directory:
python3 -m http.server
- open
dev.html
with a browser ashttp://localhost:8000/dev.html
- save as snapshot to
rendered.html
using the ReSpec's functionality: Button in the top right of the page "ReSpec" -> "Export..." -> "HTML"