mirror of https://github.com/rwf2/Rocket.git
Remove now-unneeded doc shenanigans.
This commit is contained in:
parent
45eb475607
commit
6f5b840d00
|
@ -12,11 +12,10 @@ source $SCRIPT_DIR/config.sh
|
|||
function mk_doc() {
|
||||
local dir=$1
|
||||
local flag=$2
|
||||
pushd $dir > /dev/null
|
||||
pushd $dir > /dev/null 2>&1
|
||||
echo ":: Documenting '${dir}'..."
|
||||
cargo doc --no-deps --all-features
|
||||
cargo doc --no-deps $flag
|
||||
popd > /dev/null
|
||||
popd > /dev/null 2>&1
|
||||
}
|
||||
|
||||
# We need to clean-up beforehand so we don't get all of the dependencies.
|
||||
|
@ -24,7 +23,7 @@ cargo clean
|
|||
|
||||
mk_doc $LIB_DIR
|
||||
mk_doc $CODEGEN_DIR
|
||||
mk_doc $CONTRIB_DIR --all-features
|
||||
mk_doc $CONTRIB_DIR
|
||||
|
||||
# Blank index, for redirection.
|
||||
touch ${DOC_DIR}/index.html
|
||||
|
|
Loading…
Reference in New Issue