From: fennecdjay Date: Sun, 10 Nov 2019 21:52:51 +0000 (+0100) Subject: :book: Update X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=00d2d4c86c085fa101d52d7cba40c3bff9f36c2d;p=gwion.git :book: Update --- diff --git a/.gitignore b/.gitignore index 09b67f03..412d3877 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ book book.toml +custom.css diff --git a/Makefile b/Makefile index 935c8c63..32aa42f8 100644 --- a/Makefile +++ b/Makefile @@ -7,19 +7,23 @@ build: ensure book: build deploy: book + @git add -f book + @git commit -m "add book" @git subtree push --prefix book origin gh-pages + @git rm -rf book + @git commit -m "remove book" ensure: @sh scripts/ensure.sh clean: - @[ -d src ] && mdbook clean + @[ -d src ] && mdbook clean || true clean-tests: @rm -rf *.gw log vlog clean-all: clean clean-tests - @rm -rf src + @rm -rf src book.toml custom.css .SUFFIXES: .gw .test .gw.test: diff --git a/docs/assets/benchmark/Makefile.dat b/docs/assets/benchmark/Makefile.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/bench.plot.dat b/docs/assets/benchmark/bench.plot.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/benchmark.sh.dat b/docs/assets/benchmark/benchmark.sh.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/book.toml.dat b/docs/assets/benchmark/book.toml.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/custom.css.dat b/docs/assets/benchmark/custom.css.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/docs.dat b/docs/assets/benchmark/docs.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/forloop0.gw.dat b/docs/assets/benchmark/forloop0.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/forloop2.gw.dat b/docs/assets/benchmark/forloop2.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/forloop3.gw.dat b/docs/assets/benchmark/forloop3.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/forloop4.gw.dat b/docs/assets/benchmark/forloop4.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/forloop5.gw.dat b/docs/assets/benchmark/forloop5.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/function0.gw.dat b/docs/assets/benchmark/function0.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/helloworld.gw.dat b/docs/assets/benchmark/helloworld.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/lambda_args0.gw.dat b/docs/assets/benchmark/lambda_args0.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/lambda_call0.gw.dat b/docs/assets/benchmark/lambda_call0.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/lambda_fptr0.gw.dat b/docs/assets/benchmark/lambda_fptr0.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/log.dat b/docs/assets/benchmark/log.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/repeat.gw.dat b/docs/assets/benchmark/repeat.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/repeat2.gw.dat b/docs/assets/benchmark/repeat2.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/scripts.dat b/docs/assets/benchmark/scripts.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/src.dat b/docs/assets/benchmark/src.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/variadic.gw.dat b/docs/assets/benchmark/variadic.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/while0.gw.dat b/docs/assets/benchmark/while0.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/docs/assets/benchmark/while1.gw.dat b/docs/assets/benchmark/while1.gw.dat new file mode 100644 index 00000000..e69de29b diff --git a/scripts/ensure.sh b/scripts/ensure.sh index 2a644ea6..461e5f80 100644 --- a/scripts/ensure.sh +++ b/scripts/ensure.sh @@ -4,7 +4,7 @@ cat < book.toml [book] authors = ["Jérémie Astor"] title = "Gwion" - +theme = "rust" [output.html] additional-css = ["custom.css"] @@ -15,7 +15,7 @@ EOF } css() { -cat < src/custom.css +cat < custom.css .mdr { color:var(--sidebar-active); background-color:var(--sidebar-bg); @@ -40,4 +40,4 @@ EOF [ -f book.toml ] || toml -[ -f src/custom.css ] || css +[ -f custom.css ] || css