From 8809e7cc454ea121a219ab3ae666c691f9f847b2 Mon Sep 17 00:00:00 2001 From: Anton Akhmerov Date: Fri, 25 Sep 2020 01:04:28 +0200 Subject: [PATCH] comment typo fix (#1425) * comment typo fix * typo fix --- share/jupyter/nbconvert/templates/base/null.j2 | 8 ++++---- share/jupyter/nbconvert/templates/latex/null.j2 | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/share/jupyter/nbconvert/templates/base/null.j2 b/share/jupyter/nbconvert/templates/base/null.j2 index 7cc55ea4b..45403825b 100644 --- a/share/jupyter/nbconvert/templates/base/null.j2 +++ b/share/jupyter/nbconvert/templates/base/null.j2 @@ -9,16 +9,16 @@ To layout the different blocks of a notebook. Subtemplates can override blocks to define their custom representation. -If one of the block you do overwrite is not a leave block, consider +If one of the block you do overwrite is not a leaf block, consider calling super. -{%- block nonLeaveBlock -%} +{%- block nonLeafBlock -%} #add stuff at beginning {{ super() }} #add stuff at end -{%- endblock nonLeaveBlock -%} +{%- endblock nonLeafBlock -%} -consider calling super even if it is a leave block, we might insert more blocks later. +consider calling super even if it is a leaf block, we might insert more blocks later. #} {%- block header -%} diff --git a/share/jupyter/nbconvert/templates/latex/null.j2 b/share/jupyter/nbconvert/templates/latex/null.j2 index c9c380381..ad9264310 100644 --- a/share/jupyter/nbconvert/templates/latex/null.j2 +++ b/share/jupyter/nbconvert/templates/latex/null.j2 @@ -13,16 +13,16 @@ To layout the different blocks of a notebook. Subtemplates can override blocks to define their custom representation. -If one of the block you do overwrite is not a leave block, consider +If one of the block you do overwrite is not a leaf block, consider calling super. -((*- block nonLeaveBlock -*)) +((*- block nonLeafBlock -*)) #add stuff at beginning ((( super() ))) #add stuff at end -((*- endblock nonLeaveBlock -*)) +((*- endblock nonLeafBlock -*)) -consider calling super even if it is a leave block, we might insert more blocks later. +consider calling super even if it is a leaf block, we might insert more blocks later. =)) ((*- block header -*))