]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:green_heart: Fix Netlify build with pipenv
authorSebastián Ramírez <tiangolo@gmail.com>
Mon, 17 Dec 2018 14:56:48 +0000 (18:56 +0400)
committerSebastián Ramírez <tiangolo@gmail.com>
Mon, 17 Dec 2018 14:56:48 +0000 (18:56 +0400)
scripts/netlify-docs.sh

index d2b62c8e9176ee343255b693914470de4d1024d0..5a9099613e02dd9b2a25d369a4ba8e02b86d7884 100644 (file)
@@ -1,3 +1,7 @@
 #!/usr/bin/env bash
-
-$HOME/python$PIPENV_RUNTIME/bin/pipenv run -- mkdocs build
+# Install pipenv to be able to install from Pipfile
+pip install pipenv
+# Install Pipfile including --dev, to install mkdocs and plugins
+pipenv install --dev
+# Finally, run mkdocs
+mkdocs build