diff options
author | Teddy Wing | 2020-03-22 16:53:41 +0100 |
---|---|---|
committer | Teddy Wing | 2020-03-22 16:53:41 +0100 |
commit | acfaee07a7c94838a458b30c4e33bac016ae185e (patch) | |
tree | 409c352736dd7f83712c07360fc8bbff7d29844a /godoc-links.user.js | |
parent | 21bf59bd2c32975cb43b25f22a88c5c87d0a30b4 (diff) | |
download | godoc-links-acfaee07a7c94838a458b30c4e33bac016ae185e.tar.bz2 |
Add function documentation
Diffstat (limited to 'godoc-links.user.js')
-rw-r--r-- | godoc-links.user.js | 2 |
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') |