aboutsummaryrefslogtreecommitdiff
path: root/bin/compile-notes
diff options
context:
space:
mode:
Diffstat (limited to 'bin/compile-notes')
-rwxr-xr-xbin/compile-notes5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/compile-notes b/bin/compile-notes
index 075e566..197c0ff 100755
--- a/bin/compile-notes
+++ b/bin/compile-notes
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Book compiler
+# Notes compiler
#
# Parameters
@@ -25,6 +25,9 @@ TEMPLATES="templates/notes/$LANG"
# Update _output.yml with language information
sed -e "s|%%lang%%|$LANG|g" $BASEDIR/templates/_output.yml > _output.yml
+# Use higher chapter level in notebooks
+sed -i -e 's/chapter_level: 2/chapter_level: 3/' _output.yml
+
# Remove any dangling output files
rm -f $OUTPUT.md