diff --git a/docs/README.md b/docs/README.md index 0090dd071e..866364f156 100644 --- a/docs/README.md +++ b/docs/README.md @@ -19,7 +19,7 @@ installed. Also install the following libraries: $ sudo gem install jekyll jekyll-redirect-from pygments.rb $ sudo pip install Pygments # Following is needed only for generating API docs - $ sudo pip install sphinx pypandoc + $ sudo pip install sphinx pypandoc mkdocs $ sudo Rscript -e 'install.packages(c("knitr", "devtools", "roxygen2", "testthat", "rmarkdown"), repos="http://cran.stat.ucla.edu/")' ``` (Note: If you are on a system with both Ruby 1.9 and Ruby 2.0 you may need to replace gem with gem2.0) diff --git a/sql/create-docs.sh b/sql/create-docs.sh index 275e4c391a..1d2d602c97 100755 --- a/sql/create-docs.sh +++ b/sql/create-docs.sh @@ -33,8 +33,8 @@ if ! hash python 2>/dev/null; then fi if ! hash mkdocs 2>/dev/null; then - echo "Missing mkdocs in your path, skipping SQL documentation generation." - exit 0 + echo "Missing mkdocs in your path, trying to install mkdocs for SQL documentation generation." + pip install mkdocs fi # Now create the markdown file