diff --git a/document/Makefile b/document/Makefile index 50cb081d77..ed1b7583b5 100644 --- a/document/Makefile +++ b/document/Makefile @@ -1,4 +1,4 @@ -DIRS = js-api web-api core +DIRS = js-api web-api core versions FILES = index.html BUILDDIR = _build TAR = tar @@ -60,7 +60,7 @@ $(DIRS:%=build-%): build-%: (cd $(@:build-%=%); make BUILDDIR=$(BUILDDIR) all) .PHONY: $(DIRS:%=dir-%) -$(DIRS:%=dir-%): dir-%: +$(DIRS:%=dir-%): dir-%: $(BUILDDIR) mkdir -p $(BUILDDIR)/$(@:dir-%=%) rm -rf $(BUILDDIR)/$(@:dir-%=%)/* cp -R $(@:dir-%=%)/$(BUILDDIR)/html/* $(BUILDDIR)/$(@:dir-%=%)/ diff --git a/document/index.html b/document/index.html index 37eed9762e..6a6508347f 100644 --- a/document/index.html +++ b/document/index.html @@ -67,6 +67,15 @@

Embedder specifications

here.

+ +

All versions

+ + + diff --git a/document/versions/Makefile b/document/versions/Makefile new file mode 100644 index 0000000000..da776edcf8 --- /dev/null +++ b/document/versions/Makefile @@ -0,0 +1,14 @@ +DIRS = core +DIRNAME = versions +BUILDDIR = _build + +.PHONY: all +all: + mkdir -p $(BUILDDIR)/html/$(DIRNAME) + cp -R $(DIRS) $(BUILDDIR)/html/$(DIRNAME)/ + +.PHONY: diff +diff: + +.PHONY: clean +clean: diff --git a/document/versions/core/WebAssembly-1.0.pdf b/document/versions/core/WebAssembly-1.0.pdf new file mode 100644 index 0000000000..3ddb92d31c Binary files /dev/null and b/document/versions/core/WebAssembly-1.0.pdf differ diff --git a/document/versions/core/WebAssembly-2.0.pdf b/document/versions/core/WebAssembly-2.0.pdf new file mode 100644 index 0000000000..3a43c0020b Binary files /dev/null and b/document/versions/core/WebAssembly-2.0.pdf differ diff --git a/document/versions/core/WebAssembly-3.0-draft.pdf b/document/versions/core/WebAssembly-3.0-draft.pdf new file mode 100644 index 0000000000..05d62775d3 Binary files /dev/null and b/document/versions/core/WebAssembly-3.0-draft.pdf differ