summaryrefslogtreecommitdiffstats
path: root/scripts/docs-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/docs-build.sh')
-rwxr-xr-xscripts/docs-build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/docs-build.sh b/scripts/docs-build.sh
index afa68ec65..043fd1b94 100755
--- a/scripts/docs-build.sh
+++ b/scripts/docs-build.sh
@@ -190,13 +190,12 @@ fi
virtualenv "$VENV_DIR"
source "$VENV_DIR/bin/activate"
+pip install -r "$OPNFVDOCS_DIR/etc/requirements.txt"
if [ -e "$DOCS_DIR/pre-hook.sh" ]; then
source "$DOCS_DIR/pre-hook.sh"
fi
-pip install -r "$OPNFVDOCS_DIR/etc/requirements.txt"
-
find $DOCS_DIR -name $INDEX_RST -printf '%h\n' | while read dir
do
name=$(generate_name $dir)