diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2026-04-10 15:33:25 -0300 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2026-04-10 15:33:25 -0300 |
| commit | b5d0a502c63b24f7f81e9ff0494789759838cef9 (patch) | |
| tree | 5a0e0940549dfbc13a089f7ee6fd535de6a0d24a /bin/compile-notes | |
| parent | 50b909b8bd1ad324607e6efbe437c28ea953c096 (diff) | |
| download | bookup-main.tar.gz bookup-main.tar.bz2 | |
Feat: increase chapter levels in the notebookmain
Diffstat (limited to 'bin/compile-notes')
| -rwxr-xr-x | bin/compile-notes | 5 |
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 |
