mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs.sh: Make the script independent of the working directory
This commit is contained in:
parent
a608bc12f7
commit
efd0024853
@ -27,7 +27,9 @@
|
|||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd docs
|
|
||||||
|
script_dir="$(dirname "$0")"
|
||||||
|
|
||||||
|
cd "${script_dir}"
|
||||||
pip3 install -r requirements.txt --upgrade --upgrade-strategy eager
|
pip3 install -r requirements.txt --upgrade --upgrade-strategy eager
|
||||||
sphinx-build -nW -b html -d _build/doctrees . _build/html
|
sphinx-build -nW -b html -d _build/doctrees . _build/html
|
||||||
cd ..
|
|
||||||
|
Loading…
Reference in New Issue
Block a user