Change the doc generation script

This commit is contained in:
bluss
2016-09-08 11:51:11 +02:00
parent 03683a1aae
commit d86f06b068
+2 -1
View File
@@ -3,7 +3,7 @@ DOCCRATES = arrayvec nodrop nodrop_union odds
# deps to delete the generated docs # deps to delete the generated docs
RMDOCS = RMDOCS =
FEATURES = "odds/unstable nodrop/use_union" FEATURES = "odds/unstable"
VERSIONS = $(patsubst %,target/VERS/%,$(DOCCRATES)) VERSIONS = $(patsubst %,target/VERS/%,$(DOCCRATES))
@@ -22,6 +22,7 @@ subst: $(DOCCRATES)
mkdocs: Cargo.toml mkdocs: Cargo.toml
cargo doc --features=$(FEATURES) cargo doc --features=$(FEATURES)
cargo doc --features=use_union -p nodrop-union
rm -rf ./doc rm -rf ./doc
cp -r ./target/doc ./doc cp -r ./target/doc ./doc
-cat ./custom.css >> doc/main.css -cat ./custom.css >> doc/main.css