From d86f06b068f65733fa8b7f4602aad0499ffe38ad Mon Sep 17 00:00:00 2001 From: bluss Date: Thu, 8 Sep 2016 11:51:11 +0200 Subject: [PATCH] Change the doc generation script --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2617b1e..daa07bf 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ DOCCRATES = arrayvec nodrop nodrop_union odds # deps to delete the generated docs RMDOCS = -FEATURES = "odds/unstable nodrop/use_union" +FEATURES = "odds/unstable" VERSIONS = $(patsubst %,target/VERS/%,$(DOCCRATES)) @@ -22,6 +22,7 @@ subst: $(DOCCRATES) mkdocs: Cargo.toml cargo doc --features=$(FEATURES) + cargo doc --features=use_union -p nodrop-union rm -rf ./doc cp -r ./target/doc ./doc -cat ./custom.css >> doc/main.css