Skip to content

Commit

Permalink
use 'result' instead of '_site' as site folder; this unifies nix and …
Browse files Browse the repository at this point in the history
…t-dance output
  • Loading branch information
r10s committed Jan 6, 2025
1 parent 8af4227 commit e61a080
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tools/create-local-help.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
12 changes: 5 additions & 7 deletions tools/t-dance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <html-folder>; echo "Options +MultiViews" > <html-folder>/.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
}


Expand Down

0 comments on commit e61a080

Please sign in to comment.