aboutsummaryrefslogtreecommitdiff
path: root/bin/compile-notes
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2026-04-10 15:33:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2026-04-10 15:33:25 -0300
commitb5d0a502c63b24f7f81e9ff0494789759838cef9 (patch)
tree5a0e0940549dfbc13a089f7ee6fd535de6a0d24a /bin/compile-notes
parent50b909b8bd1ad324607e6efbe437c28ea953c096 (diff)
downloadbookup-main.tar.gz
bookup-main.tar.bz2
Feat: increase chapter levels in the notebookmain
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