diff options
Diffstat (limited to 'docs/pkgdown.js')
-rw-r--r-- | docs/pkgdown.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/pkgdown.js b/docs/pkgdown.js new file mode 100644 index 00000000..ded9e7df --- /dev/null +++ b/docs/pkgdown.js @@ -0,0 +1,13 @@ +$(function() { + + $('#tocnav').affix({ + offset: { + top: $('#tocnav').offset().top - 80 + } + }); + $('body').scrollspy({ + target: '#tocnav', + offset: 80 + }); + +}); |