#---------- sphnix ----------
doc-sphinx: docs/html/index.html \
- $(foreach f, $(EXAMPLE_BUNDLES), docs/html/$f.zip)
+ $(foreach f, $(EXAMPLE_BUNDLES), docs/html/examples/$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
+docs/html/examples/%.zip: examples/%.zip
+ mkdir -p docs/html/examples
rm -f $@ && ln $< $@
#---------- wasm ----------
There are two examples of bundles:
- * `<test-bundle.zip>`__: A small test bundle, containing three yellow
- objects and one game spec.
+ * `test-bundle.zip <examples/test-bundle.zip>`__: A small test
+ bundle, containing three yellow objects and one game spec.
- * `<big-bundle.zip>`__: The Otter builtin shape libraries automatically
- massaged into Otter bundle format, and one massaged game spec.
+ * `big-bundle.zip <examples/big-bundle.zip>`__: The Otter builtin
+ shape libraries automatically massaged into Otter bundle format,
+ and one massaged game spec.
There are also several examples of game specs: