From a2674203a2601f6d98a05144a46177c7a4969300 Mon Sep 17 00:00:00 2001 From: JanPalasek Date: Fri, 23 Feb 2024 19:58:21 +0100 Subject: [PATCH] Revert "Issue #75 - fix issue where new itables would break toc." This reverts commit 694ecbdd898e33678c5aaa3a8fc77069c9aa1f89. --- pyproject.toml | 2 +- src/pretty_jupyter/templates/pj/index.html.j2 | 7 +++++++ src/pretty_jupyter/templates/pj/static/pj.js | 14 ++------------ 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d3c6387..cbc6b1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pretty-jupyter" authors = [{name = "Jan Palasek"}] description = "Exports Jupyter notebook into beautiful and dynamic HTML report." license = {file = "LICENSE.md"} -version = "2.0.6" +version = "2.0.5" readme = "README.md" dependencies = [ "click", diff --git a/src/pretty_jupyter/templates/pj/index.html.j2 b/src/pretty_jupyter/templates/pj/index.html.j2 index 0946fda..124aa54 100644 --- a/src/pretty_jupyter/templates/pj/index.html.j2 +++ b/src/pretty_jupyter/templates/pj/index.html.j2 @@ -149,6 +149,13 @@ {# js files for notebooks: extend this to provide custom javascript #} {% block notebook_js %} + + + {{ resources.include_js("static/pj.js") }}