diff options
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') |