diff --git a/tools/create-local-help.py b/tools/create-local-help.py index f4341cddd..5f6f60468 100755 --- a/tools/create-local-help.py +++ b/tools/create-local-help.py @@ -176,7 +176,7 @@ def generate_help(srcdir, destdir, add_top_links=False): if len(sys.argv) < 3: raise SystemExit("usage: create-local-help.py INPUT_DIR OUTPUT_DIR [--add-top-links]" - +"\n eg. create-local-help.py _site ../foobar") + +"\n eg. create-local-help.py result ../foobar") srcdir = sys.argv[1] print("using source directory: " + srcdir) diff --git a/tools/t-dance.sh b/tools/t-dance.sh index 78e75a3d9..974ebb58c 100755 --- a/tools/t-dance.sh +++ b/tools/t-dance.sh @@ -89,13 +89,11 @@ create_markdown_files() { create_html_files() { - # if you want to rebuild the html files when markdown is updated, - # create the file `tools/create-html.prv.sh` with eg. the following content: - # `cd ..; jekyll build --destination ; echo "Options +MultiViews" > /.htaccess; cd tools` - if [ -f ./create-html.prv.sh ]; then - echo "Creating html-files from the markdown files ..." - ./create-html.prv.sh - fi + # create html files from markdown + cd .. + bundle exec jekyll build + mv _site result + cd tools }