diff --git a/Makefile b/Makefile index 75bf54d57f05443065b9b23c15aaf92556a49565..837346660a41834330cc1d690bddd12a52b4e6fc 100755 --- a/Makefile +++ b/Makefile @@ -20,7 +20,6 @@ $(OUTPUT_FOLDER): # launch jekyll serve to preview website with jekyll server view: jekyll - cp $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/index-default.html $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/index.html cd $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/ && bundle exec jekyll serve # Create documentation website with jekyll @@ -54,12 +53,13 @@ copy_docs_to_target: # copy markdown sources to jekyll foler copy_source_to_jekyll: @for a in $(DOCS); do \ - if [ -d $$a ]; then \ - echo "copy folder $$a to $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/"; \ - cp -r $$a $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/; \ - fi; \ - done; - @echo "Done!" + if [ -d $$a ]; then \ + echo "copy folder $$a to $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/"; \ + cp -r $$a $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/; \ + fi; \ + done; + cp $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/index-default.html $(OUTPUT_FOLDER)/jekyll-gazelle-documentation/index.html + @echo "Done!" .PHONY: clean clean: diff --git a/_templates/jekyll-gazelle-documentation/_config.yml b/_templates/jekyll-gazelle-documentation/_config.yml index f663a3aba1bbc327fe4fb4f5d6715c1a81487784..47abb63ce6eef0c8637a53141c16046ea0ce5b11 100755 --- a/_templates/jekyll-gazelle-documentation/_config.yml +++ b/_templates/jekyll-gazelle-documentation/_config.yml @@ -27,7 +27,6 @@ url: "" # the base hostname & protocol for your site # Build settings markdown: kramdown -theme: minima defaults: -