Skip to content

Commit

Permalink
Added anchor.js to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
selwin committed Feb 5, 2019
1 parent 4b8e615 commit 147efc5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@ Vagrantfile
.coverage*
/.cache

<<<<<<< HEAD
.pytest_cache/
=======
Gemfile
Gemfile.lock
_site/
>>>>>>> 600be0a... Added anchor.js to docs
7 changes: 7 additions & 0 deletions docs/_includes/ga_tracking.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@
})();

</script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.0/anchor.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
anchors.add();
});
</script>

0 comments on commit 147efc5

Please sign in to comment.