Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/doc_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,12 @@ else
redirects=(latest main)
fi

echo "Installing torchx from $repo_root..."
echo "Installing TorchX and Doc dependencies from $repo_root..."
cd "$repo_root" || exit

# First install doc requirements, then install torchx
# so that torchx's pinned requirements are honored
pip install -r docs/requirements.txt
pip uninstall -y torchx
pip install -r dev-requirements.txt
python setup.py install
Expand All @@ -66,7 +70,7 @@ echo "Building torchx-$torchx_ver docs..."
docs_dir=$repo_root/docs
build_dir=$docs_dir/build
cd "$docs_dir" || exit
pip install -r requirements.txt

make clean html
echo "Doc build complete"

Expand Down
Loading