#---------- sphnix ----------
-doc-sphinx: docs/html/index.html
+doc-sphinx: docs/html/index.html \
+ $(foreach f, $(EXAMPLE_BUNDLES), docs/html/$f.zip)
@echo 'Documentation can now be found here:'
@echo ' file://$(PWD)/$<'
docs/html/index.html: docs/conf.py $(wildcard docs/*.md docs/*.rst docs/*.png)
$(SPHINXBUILD) -M html docs docs $(SPHINXOPTS)
+docs/html/%.zip: examples/%.zip
+ rm -f $@ && ln $< $@
+
#---------- wasm ----------
$(addprefix $(WASM_PACKED)/,$(WASM_ASSETS) $(WASM_OUTPUTS)): stamp/wasm-bindgen