From 6f94a53a67c102816113b6f643f6dfe2df9000e0 Mon Sep 17 00:00:00 2001 From: Holger Graef Date: Thu, 26 Oct 2023 13:33:14 +0200 Subject: [PATCH] replace bootstrap-toc dependency by tocbot --- LICENSE.md | 1 - Makefile | 2 +- app/static/.gitignore | 2 +- app/templates/help.html | 25 +- js/package-lock.json | 11267 ++++---------------------------------- js/package.json | 4 +- js/src/index.js | 1 - js/src/views/help.js | 34 +- 8 files changed, 1247 insertions(+), 10089 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 5011927fe..d0b5de4bf 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -26,7 +26,6 @@ The following libraries are included in Racine under the MIT license * jQuery - Copyright (c) jQuery Foundation and other contributors. * jquery.jeditable.js - Copyright (c) 2006 Mika Tuupola, Dylan Verheul, Nicolas Carpi. * typeahead.js - Copyright (c) Twitter, Inc. -* bootstrap-toc.min.js and bootstrap-toc.min.css - Copyright (c) 2015-2016 Aidan Feldman. * Lightbox2 - Copyright (c) 2015 Lokesh Dhakar. The following libraries are included in Racine under the Apache license diff --git a/Makefile b/Makefile index d1139f2e0..130c990b4 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ install-js-dependencies: install-mathjax api-client cp js/node_modules/bootstrap/dist/css/bootstrap.min.css app/static/css/bootstrap.min.css cp js/node_modules/bootstrap/dist/fonts/* app/static/fonts/ - cp js/node_modules/bootstrap-toc/dist/bootstrap-toc.min.css app/static/css/bootstrap-toc.min.css + cp js/node_modules/tocbot/dist/tocbot.css app/static/css/tocbot.css cp js/node_modules/lightbox2/dist/css/lightbox.css app/static/css/lightbox.css cp js/node_modules/lightbox2/dist/images/* app/static/images/ diff --git a/app/static/.gitignore b/app/static/.gitignore index 34d99c29c..d739185e6 100644 --- a/app/static/.gitignore +++ b/app/static/.gitignore @@ -1,8 +1,8 @@ mathjax/ css/bootstrap.min.css -css/bootstrap-toc.min.css css/lightbox.css +css/tocbot.css css/typeahead.css fonts/ diff --git a/app/templates/help.html b/app/templates/help.html index 906d61168..cd0b22580 100644 --- a/app/templates/help.html +++ b/app/templates/help.html @@ -2,16 +2,21 @@ {% block styles %} {{super()}} - +