1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-12 17:01:57 +02:00

Built site for AMR: 1.8.1.9021@bdbc112

This commit is contained in:
github-actions
2022-08-21 15:29:49 +00:00
parent cb53936bd3
commit bcd6e333f0
92 changed files with 433 additions and 434 deletions

View File

@ -28,15 +28,16 @@
$(document).ready(function() {
// replace \donttest and \dontrun texts in Examples
if ($(".ref-examples pre").length > 0) {
$(".ref-examples pre").html($(".ref-examples pre").html().replaceAll("# \\donttest{", ""));
$(".ref-examples pre").html($(".ref-examples pre").html().replaceAll("# \\dontrun{", ""));
$(".ref-examples pre").html($(".ref-examples pre").html().replaceAll("# }", ""));
if ($("#ref-examples ~ div pre").length > 0) {
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll("# \\donttest{", ""));
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll("# \\dontrun{", ""));
$("#ref-examples ~ div pre").html($("#ref-examples ~ div pre").html().replaceAll("# }", ""));
}
// remove leading newline in code examples on changelog
if ($("body .template-news").length > 0) {
$("body .template-news").html($("body .template-news").html().replaceAll('sourceCode R">\n<span', 'sourceCode R"><span'));
$("body .template-news").html($("body .template-news").html().replaceAll('sourceCode R"><span></span>\n<span', 'sourceCode R"><span'));
}
// add doctoral titles to authors