diff --git a/mkdocs/build_website.sh b/mkdocs/build_website.sh index 9f586e80..c404272f 100755 --- a/mkdocs/build_website.sh +++ b/mkdocs/build_website.sh @@ -46,7 +46,12 @@ elif [[ "${MKDOCS_SERVE}" == "B" ]]; then mkdocs build else mkdocs serve -fi +fi +exitcode=$? +if [ $exitcode -ne 0 ]; then + echo "**** Build Error ***" + exit 1 +fi # restore svg bits rm -rf docs #cd docs diff --git a/mkdocs/install_mkdocs.sh b/mkdocs/install_mkdocs.sh index 1656bb88..cc99273c 100755 --- a/mkdocs/install_mkdocs.sh +++ b/mkdocs/install_mkdocs.sh @@ -14,17 +14,19 @@ if [[ -z "$VIRTUAL_ENV" ]]; then else USEROPT= 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.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 -python3 -m pip install install pymdown-extensions --quiet $USEROPT -#python3 -m pip install install mkdocs-with-pdf --quiet $USEROPT -python3 -m pip install install mkdocs-print-site-plugin --quiet $USEROPT -python3 -m pip install mkdocs-bibtex --use-pep517 --quiet $USEROPT -python3 -m pip install pandoc --use-pep517 --quiet $USEROPT -python3 -m pip install pypandoc_binary --use-pep517 --quiet $USEROPT -python3 -m pip install install git+https://github.com/flywire/caption --use-pep517 --quiet $USEROPT +QUIET=--quiet +#QUIET= +python3 -m pip install --upgrade pip $QUIET $USEROPT +python3 -m pip install MarkupSafe --use-pep517 $QUIET $USEROPT +python3 -m pip install mkdocs==1.4.3 $QUIET $USEROPT +python3 -m pip install mkdocs-material==9.1.18 $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 +python3 -m pip install install pymdown-extensions $QUIET $USEROPT +#python3 -m pip install install mkdocs-with-pdf $QUIET $USEROPT +python3 -m pip install mkdocs-bibtex --use-pep517 $QUIET $USEROPT +python3 -m pip install pandoc --use-pep517 $QUIET $USEROPT +python3 -m pip install pypandoc_binary --use-pep517 $QUIET $USEROPT +python3 -m pip install install git+https://github.com/flywire/caption --use-pep517 $QUIET $USEROPT +python3 -m pip install install mkdocs-print-site-plugin $QUIET $USEROPT +pip freeze