Skip to content

Commit

Permalink
Fixes mkdocs install path
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Nov 1, 2016
1 parent d930ade commit b6e3fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme-installer.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ pip install --user mkdocs
pip install --user pymdown-extensions

# Conditionally install zf-mkdoc-theme.
if [[ ! -d "mkdoc-theme/theme" ]];then
if [[ ! -d "mkdocs-theme/theme" ]];then
echo "Downloading mkdoc-theme..." ;
mkdir -p mkdoc-theme ;
mkdir -p mkdocs-theme ;
curl -s -L https://github.com/polderknowledge/mkdocs-theme/releases/latest | egrep -o '/polderknowledge/mkdocs-theme/archive/[0-9]*\.[0-9]*\.[0-9]*\.tar\.gz' | head -n1 | wget -O mkdocs-theme.tgz --base=https://github.com/ -i - ;
(
cd mkdocs-theme ;
Expand Down

0 comments on commit b6e3fd0

Please sign in to comment.