From 322c26c7db36e29efa0b04cab73395e1afdf76f4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:20:28 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- nbconvert/exporters/templateexporter.py | 2 -- share/templates/lab/index.html.j2 | 2 +- share/templates/lab/static/index.css | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/nbconvert/exporters/templateexporter.py b/nbconvert/exporters/templateexporter.py index 0b8c27f41..da932a507 100644 --- a/nbconvert/exporters/templateexporter.py +++ b/nbconvert/exporters/templateexporter.py @@ -685,5 +685,3 @@ def _init_resources(self, resources): def include_tableofcontents(self): return True - - diff --git a/share/templates/lab/index.html.j2 b/share/templates/lab/index.html.j2 index f19f0defc..0d8b271eb 100644 --- a/share/templates/lab/index.html.j2 +++ b/share/templates/lab/index.html.j2 @@ -130,7 +130,7 @@ a.anchor-link { {%- set (level, text) = item -%} {%- if level==1 -%}

{{text}}

-{%- endif -%} +{%- endif -%} {%- if level==2 -%}

{{text}}

{%- endif -%} diff --git a/share/templates/lab/static/index.css b/share/templates/lab/static/index.css index 6150afe16..620c27de6 100644 --- a/share/templates/lab/static/index.css +++ b/share/templates/lab/static/index.css @@ -6801,4 +6801,3 @@ div.jp-Cell-Placeholder-content-2 { div.jp-Cell-Placeholder-content-3 { top: 140px; } -