Browse Source

Fixed installing api2html when generating OpenAPI docs.

Thanks to xet7 !
Lauri Ojansivu 2 năm trước cách đây
mục cha
commit
ccbc7f6122
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      releases/rebuild-docs.sh

+ 1 - 1
releases/rebuild-docs.sh

@@ -16,7 +16,7 @@ fi
 if [ ! -d ~/python/esprima-python ]; then
   sudo apt-get -y install python3-pip
   pip3 install -U setuptools wheel
-  npm install -g api2html
+  sudo npm install -g api2html
   mkdir -p ~/python
   cd ~/python
   git clone --depth 1 -b master https://github.com/Kronuz/esprima-python