diff --git a/docs/Makefile b/docs/Makefile index bc2ff756..c977126e 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -40,15 +40,17 @@ _static/dist/bundle.js: @mkdir -p _static/dist @cp ../javascript/dist/bundle-js.js _static/dist/bundle-js.js -_static/dist/c-lib.js: +_static/dist/c/lib.js: + @mkdir -p _static/dist/c @$(MAKE) -C ../c dist/lib.wasm $(MFLAGS) @cp ../c/dist/lib.js _static/dist/c-lib.js @cp ../c/dist/lib.wasm _static/dist/c-lib.wasm -_static/dist/cplusplus-lib.js: +_static/dist/cp/lib.js: + @mkdir -p _static/dist/cp @$(MAKE) -C ../cplusplus dist/lib.wasm $(MFLAGS) - @cp ../c/dist/lib.js _static/dist/cp-lib.js - @cp ../c/dist/lib.wasm _static/dist/cp-lib.wasm + @cp ../c/dist/lib.js _static/dist/cp/lib.js + @cp ../c/dist/lib.wasm _static/dist/cp/lib.wasm _static/dist/rust.js: @cd ../rust && wasm-pack build --target web --out-dir ../docs/_static/dist/ @@ -58,7 +60,7 @@ _static/dist/python.tar.gz: .PHONY: html html: - @$(MAKE) _static/dist/bundle.js _static/dist/c-lib.js _static/dist/cplusplus-lib.js _static/dist/python.tar.gz _static/dist/rust.js $(MFLAGS) + @$(MAKE) _static/dist/bundle.js _static/dist/c/lib.js _static/dist/cp/lib.js _static/dist/python.tar.gz _static/dist/rust.js $(MFLAGS) @$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) # Catch-all target: route all unknown targets to Sphinx using the new diff --git a/docs/_static/test-c.html b/docs/_static/test-c.html index 3604bc59..73331d28 100644 --- a/docs/_static/test-c.html +++ b/docs/_static/test-c.html @@ -11,7 +11,7 @@