From b9be19af5e3085216d0cd5af439332f631fa8b92 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 15 Feb 2021 17:36:12 +0100 Subject: Fully rebuild docs, rerun tests and check --- .../accessible-code-block-0.0.1/empty-anchor.js | 15 +++++++++++++++ .../NAFTA_examples_files/figure-html/p10-1.png | Bin 80950 -> 78793 bytes .../NAFTA_examples_files/figure-html/p11-1.png | Bin 77737 -> 75470 bytes .../NAFTA_examples_files/figure-html/p12a-1.png | Bin 83111 -> 80755 bytes .../NAFTA_examples_files/figure-html/p12b-1.png | Bin 72088 -> 69885 bytes .../NAFTA_examples_files/figure-html/p13-1.png | Bin 79355 -> 77126 bytes .../NAFTA_examples_files/figure-html/p14-1.png | Bin 82078 -> 79693 bytes .../NAFTA_examples_files/figure-html/p15a-1.png | Bin 78261 -> 75945 bytes .../NAFTA_examples_files/figure-html/p15b-1.png | Bin 80090 -> 78004 bytes .../NAFTA_examples_files/figure-html/p16-1.png | Bin 95466 -> 93075 bytes .../NAFTA_examples_files/figure-html/p5a-1.png | Bin 84037 -> 81521 bytes .../NAFTA_examples_files/figure-html/p5b-1.png | Bin 81732 -> 79783 bytes .../NAFTA_examples_files/figure-html/p6-1.png | Bin 84055 -> 81974 bytes .../NAFTA_examples_files/figure-html/p7-1.png | Bin 103771 -> 101606 bytes .../NAFTA_examples_files/figure-html/p8-1.png | Bin 94196 -> 91429 bytes .../NAFTA_examples_files/figure-html/p9a-1.png | Bin 80132 -> 77612 bytes .../NAFTA_examples_files/figure-html/p9b-1.png | Bin 77691 -> 75129 bytes .../header-attrs-2.6/header-attrs.js | 12 ++++++++++++ 18 files changed, 27 insertions(+) create mode 100644 docs/dev/articles/web_only/NAFTA_examples_files/accessible-code-block-0.0.1/empty-anchor.js create mode 100644 docs/dev/articles/web_only/NAFTA_examples_files/header-attrs-2.6/header-attrs.js (limited to 'docs/dev/articles/web_only/NAFTA_examples_files') diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/accessible-code-block-0.0.1/empty-anchor.js b/docs/dev/articles/web_only/NAFTA_examples_files/accessible-code-block-0.0.1/empty-anchor.js new file mode 100644 index 00000000..ca349fd6 --- /dev/null +++ b/docs/dev/articles/web_only/NAFTA_examples_files/accessible-code-block-0.0.1/empty-anchor.js @@ -0,0 +1,15 @@ +// Hide empty tag within highlighted CodeBlock for screen reader accessibility (see https://github.com/jgm/pandoc/issues/6352#issuecomment-626106786) --> +// v0.0.1 +// Written by JooYoung Seo (jooyoung@psu.edu) and Atsushi Yasumoto on June 1st, 2020. + +document.addEventListener('DOMContentLoaded', function() { + const codeList = document.getElementsByClassName("sourceCode"); + for (var i = 0; i < codeList.length; i++) { + var linkList = codeList[i].getElementsByTagName('a'); + for (var j = 0; j < linkList.length; j++) { + if (linkList[j].innerHTML === "") { + linkList[j].setAttribute('aria-hidden', 'true'); + } + } + } +}); diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p10-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p10-1.png index 38b251ea..f5420ce8 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p10-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p10-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p11-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p11-1.png index 77463495..0ae4bd9f 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p11-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p11-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p12a-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p12a-1.png index ccf8f77a..57a48119 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p12a-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p12a-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p12b-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p12b-1.png index 6b0dcaf2..c42d45f0 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p12b-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p12b-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p13-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p13-1.png index ce177190..52dea51e 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p13-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p13-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p14-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p14-1.png index f2f59ff7..ca1f29be 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p14-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p14-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p15a-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p15a-1.png index c5759a5b..f69e6d3b 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p15a-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p15a-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p15b-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p15b-1.png index 3640ea68..71fcd257 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p15b-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p15b-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p16-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p16-1.png index b61f28e2..820501a3 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p16-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p16-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p5a-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p5a-1.png index 8d38b89c..e264d2ea 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p5a-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p5a-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p5b-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p5b-1.png index 3f2da285..e5b656a4 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p5b-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p5b-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p6-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p6-1.png index 37274769..c9664c77 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p6-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p6-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p7-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p7-1.png index 515e9095..a81f814c 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p7-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p7-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p8-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p8-1.png index ebcc326c..75d72e7c 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p8-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p8-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p9a-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p9a-1.png index a6f4e763..3ce13a97 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p9a-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p9a-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p9b-1.png b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p9b-1.png index 2a8cf947..e2cf2f83 100644 Binary files a/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p9b-1.png and b/docs/dev/articles/web_only/NAFTA_examples_files/figure-html/p9b-1.png differ diff --git a/docs/dev/articles/web_only/NAFTA_examples_files/header-attrs-2.6/header-attrs.js b/docs/dev/articles/web_only/NAFTA_examples_files/header-attrs-2.6/header-attrs.js new file mode 100644 index 00000000..dd57d92e --- /dev/null +++ b/docs/dev/articles/web_only/NAFTA_examples_files/header-attrs-2.6/header-attrs.js @@ -0,0 +1,12 @@ +// Pandoc 2.9 adds attributes on both header and div. We remove the former (to +// be compatible with the behavior of Pandoc < 2.8). +document.addEventListener('DOMContentLoaded', function(e) { + var hs = document.querySelectorAll("div.section[class*='level'] > :first-child"); + var i, h, a; + for (i = 0; i < hs.length; i++) { + h = hs[i]; + if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6 + a = h.attributes; + while (a.length > 0) h.removeAttribute(a[0].name); + } +}); -- cgit v1.2.1