diff --git a/.Rprofile b/.Rprofile index 1c8e306..e8330fa 100644 --- a/.Rprofile +++ b/.Rprofile @@ -7,7 +7,7 @@ setHook(packageEvent("pkgdown", "onLoad"), function(...) { setHook(packageEvent("pkgdown", "onLoad"), function(...) { fun <- getFromNamespace("highlight_examples", asNamespace("pkgdown")) assignInNamespace("highlight_examples", function (code, topic, env) { - if (topic == "scripts") + if (topic == "bspm-scripts") pkgdown:::highlight_text(code) else fun(code, topic, env) }, "pkgdown") diff --git a/docs/404.html b/docs/404.html index 797118f..077b099 100644 --- a/docs/404.html +++ b/docs/404.html @@ -24,7 +24,7 @@ bspm - 0.5.1 + 0.5.2