From d04bac001217855b4e9a1490a35bef3325441b55 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 21 Jul 2023 08:24:12 +0200 Subject: Maintenance prompted by email from CRAN - Fix an improper use of 'packageVersion' - Update .Rbuildignore - Fix a link in the README - Static documentation rebuilt by pkgdown::build_site() --- docs/pkgdown.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'docs/pkgdown.js') diff --git a/docs/pkgdown.js b/docs/pkgdown.js index 087a762..6f0eee4 100644 --- a/docs/pkgdown.js +++ b/docs/pkgdown.js @@ -9,11 +9,6 @@ $('body').css('padding-top', $('.navbar').height() + 10); }); - $('body').scrollspy({ - target: '#sidebar', - offset: 60 - }); - $('[data-toggle="tooltip"]').tooltip(); var cur_path = paths(location.pathname); @@ -85,7 +80,7 @@ $(document).ready(function() { var copyButton = ""; - $(".examples, div.sourceCode").addClass("hasCopyButton"); + $("div.sourceCode").addClass("hasCopyButton"); // Insert copy buttons: $(copyButton).prependTo(".hasCopyButton"); @@ -96,7 +91,7 @@ // Initialize clipboard: var clipboardBtnCopies = new ClipboardJS('[data-clipboard-copy]', { text: function(trigger) { - return trigger.parentNode.textContent; + return trigger.parentNode.textContent.replace(/\n#>[^\n]*/g, ""); } }); -- cgit v1.2.1