install pandoc [ci skip]

This commit is contained in:
edoapra 2022-12-22 13:22:29 -08:00
parent 8ab58a7bd0
commit 67ae9760db
No known key found for this signature in database
GPG key ID: 472C4EBB4F3AEDFA

View file

@ -1,7 +1,13 @@
#!/bin/bash
if [[ $(command -v pandoc 2 > /dev/null) ]]; then
echo need to install pandoc
sudo apt-get install -y pandoc
fi
pandoc --version
if [[ "$?" != 0 ]]; then
echo broken pandoc installation
exit 1
fi
if [[ -z "$VIRTUAL_ENV" ]]; then
USEROPT=--user
else
@ -9,7 +15,8 @@ else
fi
python3 -m pip install --upgrade pip --quiet $USEROPT
python3 -m pip install MarkupSafe --use-pep517 --quiet $USEROPT
python3 -m pip install mkdocs==1.3.1 --quiet $USEROPT
#python3 -m pip install mkdocs==1.3.1 --quiet $USEROPT
python3 -m pip install mkdocs==1.4.0 --quiet $USEROPT
python3 -m pip install mkdocs-material --quiet $USEROPT
python3 -m pip install git+https://github.com/cmitu/mkdocs-altlink-plugin/ --use-pep517 --quiet $USEROPT
python3 -m pip install python-markdown-math --quiet $USEROPT