Skip to content

Commit 1e4350c

Browse files
Add docs option in configure
Adds a --docs option to the configure script to also install requirements for the documentation builds. Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
1 parent c76dff4 commit 1e4350c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ CLI_ARGS=$1
3030
# Requirement arguments passed to pip and used by default or with --dev.
3131
REQUIREMENTS="--editable . --constraint requirements.txt"
3232
DEV_REQUIREMENTS="--editable .[testing] --constraint requirements.txt --constraint requirements-dev.txt"
33+
DOCS_REQUIREMENTS="--editable .[docs] --constraint requirements.txt"
3334

3435
# where we create a virtualenv
3536
VIRTUALENV_DIR=venv
@@ -177,6 +178,7 @@ while getopts :-: optchar; do
177178
help ) cli_help;;
178179
clean ) find_python && clean;;
179180
dev ) CFG_REQUIREMENTS="$DEV_REQUIREMENTS";;
181+
docs ) CFG_REQUIREMENTS="$DOCS_REQUIREMENTS";;
180182
esac;;
181183
esac
182184
done

0 commit comments

Comments
 (0)