aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-03-22 16:53:41 +0100
committerTeddy Wing2020-03-22 16:53:41 +0100
commitacfaee07a7c94838a458b30c4e33bac016ae185e (patch)
tree409c352736dd7f83712c07360fc8bbff7d29844a
parent21bf59bd2c32975cb43b25f22a88c5c87d0a30b4 (diff)
downloadgodoc-links-acfaee07a7c94838a458b30c4e33bac016ae185e.tar.bz2
Add function documentation
-rw-r--r--godoc-links.user.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/godoc-links.user.js b/godoc-links.user.js
index 8c607d6..4cb7131 100644
--- a/godoc-links.user.js
+++ b/godoc-links.user.js
@@ -25,6 +25,7 @@ function godoc () {
}
+// Link the package name in the header to the source repo.
function pkg_go_dev () {
var import_path_el = document.querySelector('.DetailsHeader-breadcrumbCurrent');
@@ -51,6 +52,7 @@ function github () {
}
+// Add a GoDoc link to the repo name header.
function github_add_godoc_link () {
var github_repo_header_el = document.querySelector('.pagehead.repohead .flex-wrap')