Skip to content

Commit

Permalink
Bump version and redown
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed May 31, 2019
1 parent ddf281e commit ea2db28
Show file tree
Hide file tree
Showing 28 changed files with 111 additions and 69 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]",
role = c("aut"), comment = c(ORCID = "0000-0002-0587-9355")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
30 changes: 25 additions & 5 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 18 additions & 13 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ summary {

/* Typographic tweaking ---------------------------------*/

.contents h1.page-header {
.contents .page-header {
margin-top: calc(-60px + 1em);
}

Expand Down
9 changes: 7 additions & 2 deletions docs/pkgdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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++) {
Expand Down
4 changes: 2 additions & 2 deletions docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pandoc: 2.3.1
pkgdown: 1.2.0
pandoc: 1.19.2.1
pkgdown: 1.3.0
pkgdown_sha: ~
articles: []

4 changes: 2 additions & 2 deletions docs/reference/Dmel.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/DsecI.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/Dsim.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/Dvir.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/FCWB.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/FCWBNP.surf.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/IBN.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/IBNWB.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ea2db28

Please sign in to comment.