diff --git a/DESCRIPTION b/DESCRIPTION index 18ef3eb..a6161b8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: nat.flybrains Type: Package Title: Additional data for use with the NeuroAnatomy Toolbox (nat) -Version: 1.7.2 +Version: 1.7.3 Authors@R: c( person("Gregory", "Jefferis", email = "jefferis@gmail.com", role = c("aut"), comment = c(ORCID = "0000-0002-0587-9355")), diff --git a/NEWS.md b/NEWS.md index 43dc30a..75e8d4f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# nat.flybrains 1.7.3 + +* add citation + # nat.flybrains 1.7.2 * Add `JRC2018F` female template brain and surface, the first of the Bogovic diff --git a/docs/authors.html b/docs/authors.html index d4f4fe9..ededa6c 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -6,7 +6,7 @@ -
NEWS.md
+
diff --git a/docs/pkgdown.css b/docs/pkgdown.css
index 2e4f0cf..c03fb08 100644
--- a/docs/pkgdown.css
+++ b/docs/pkgdown.css
@@ -65,7 +65,7 @@ summary {
/* Typographic tweaking ---------------------------------*/
-.contents h1.page-header {
+.contents .page-header {
margin-top: calc(-60px + 1em);
}
diff --git a/docs/pkgdown.js b/docs/pkgdown.js
index 706ad58..eb7e83d 100644
--- a/docs/pkgdown.js
+++ b/docs/pkgdown.js
@@ -25,6 +25,10 @@
for (var i = 0; i < links.length; i++) {
if (links[i].getAttribute("href") === "#")
continue;
+ // Ignore external links
+ if (links[i].host !== location.host)
+ continue;
+
var nav_path = paths(links[i].pathname);
var length = prefix_length(nav_path, cur_path);
@@ -52,13 +56,14 @@
return(pieces);
}
+ // Returns -1 if not found
function prefix_length(needle, haystack) {
if (needle.length > haystack.length)
- return(0);
+ return(-1);
// Special case for length-0 haystack, since for loop won't run
if (haystack.length === 0) {
- return(needle.length === 0 ? 1 : 0);
+ return(needle.length === 0 ? 0 : -1);
}
for (var i = 0; i < haystack.length; i++) {
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml
index 8be84ef..4a4f52a 100644
--- a/docs/pkgdown.yml
+++ b/docs/pkgdown.yml
@@ -1,5 +1,5 @@
-pandoc: 2.3.1
-pkgdown: 1.2.0
+pandoc: 1.19.2.1
+pkgdown: 1.3.0
pkgdown_sha: ~
articles: []
diff --git a/docs/reference/Dmel.html b/docs/reference/Dmel.html
index e4cfc20..302cc21 100644
--- a/docs/reference/Dmel.html
+++ b/docs/reference/Dmel.html
@@ -68,7 +68,7 @@
@@ -160,7 +160,7 @@