From 8ff95bf32c9f81f51d36cb5c78fffa70acc8b606 Mon Sep 17 00:00:00 2001 From: Zach Ramsay Date: Fri, 22 Jun 2018 18:10:50 -0400 Subject: [PATCH] remove old code --- docs/_static/custom_collapsible_code.css | 17 ----------------- docs/_static/custom_collapsible_code.js | 10 ---------- 2 files changed, 27 deletions(-) delete mode 100644 docs/_static/custom_collapsible_code.css delete mode 100644 docs/_static/custom_collapsible_code.js diff --git a/docs/_static/custom_collapsible_code.css b/docs/_static/custom_collapsible_code.css deleted file mode 100644 index 695268a83..000000000 --- a/docs/_static/custom_collapsible_code.css +++ /dev/null @@ -1,17 +0,0 @@ -.toggle { - padding-bottom: 1em ; -} - -.toggle .header { - display: block; - clear: both; - cursor: pointer; -} - -.toggle .header:after { - content: " ▼"; -} - -.toggle .header.open:after { - content: " ▲"; -} \ No newline at end of file diff --git a/docs/_static/custom_collapsible_code.js b/docs/_static/custom_collapsible_code.js deleted file mode 100644 index f4ff22adc..000000000 --- a/docs/_static/custom_collapsible_code.js +++ /dev/null @@ -1,10 +0,0 @@ -let makeCodeBlocksCollapsible = function() { - $(".toggle > *").hide(); - $(".toggle .header").show(); - $(".toggle .header").click(function() { - $(this).parent().children().not(".header").toggle({"duration": 400}); - $(this).parent().children(".header").toggleClass("open"); - }); -}; -// we could use the }(); way if we would have access to jQuery in HEAD, i.e. we would need to force the theme -// to load jQuery before our custom scripts