Skip to content

Commit

Permalink
mkdocs-print-site-plugin not compatible with mkdocs 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
edoapra committed Jul 28, 2023
1 parent 4115428 commit 0663b33
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
7 changes: 6 additions & 1 deletion mkdocs/build_website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 16 additions & 14 deletions mkdocs/install_mkdocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0663b33

Please sign in to comment.