Change the doc generation script
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user