aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/docs.sh
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-02 18:03:06 +0800
committerchriseth <c@ethdev.com>2016-08-02 18:03:06 +0800
commit7120c6ba602f34400bfd3a67153b6d927ac7af9b (patch)
tree120d101fa408f0527cb669062b5dc50c14aa4e5c /scripts/docs.sh
parent7da7c3208f2a718e090851dc89d5b27d29ac0078 (diff)
downloaddexon-solidity-7120c6ba602f34400bfd3a67153b6d927ac7af9b.tar.gz
dexon-solidity-7120c6ba602f34400bfd3a67153b6d927ac7af9b.tar.zst
dexon-solidity-7120c6ba602f34400bfd3a67153b6d927ac7af9b.zip
Fix docs script.
Diffstat (limited to 'scripts/docs.sh')
-rwxr-xr-xscripts/docs.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/docs.sh b/scripts/docs.sh
index a674373a..42400bc7 100755
--- a/scripts/docs.sh
+++ b/scripts/docs.sh
@@ -26,8 +26,7 @@
# (c) 2016 solidity contributors.
#------------------------------------------------------------------------------
-if [[ "$OSTYPE" == "darwin"* ]]; then
- # We aren't building docs locally for macOS at the moment
-else
- cd docs && sphinx-build -nW -b html -d _build/doctrees . _build/html && cd ..
-fi
+set -e
+cd docs
+sphinx-build -nW -b html -d _build/doctrees . _build/html
+cd ..