Skip to content

Commit

Permalink
Fix docs build error by installing all required packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jonheng committed Oct 19, 2021
1 parent 1df1104 commit b68f959
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions jsonnet/demo-api.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ local build_and_push_docs_staging() = {
"echo 'Installing docs dependencies'",
"apt-get -y install build-essential",
"pip install --upgrade pip",
"pip install -r requirements.txt",
"pip install -e ../.",
"pip install networkx",
"pip install -r requirements.txt -r ../requirements_extra.txt -e ../.",
"sphinx-build -b html source build",
"echo 'Building SG-NLP Documentation'",
"echo $STG_REGISTRY_PASSWORD | docker login registry.aisingapore.net -u $STG_DOCKER_USER --password-stdin",
Expand Down
2 changes: 2 additions & 0 deletions requirements_extra.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
allennlp
networkx==2.4

0 comments on commit b68f959

Please sign in to comment.