mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 13:40:38 +03:00
Add some missing doc comments
As pointed out by the linter, some exported functions and types are missing doc comments. The linter warnings have been reduced from 194 to 116. Not all missing comments have been added in this commit though.
This commit is contained in:
parent
9891c0fb0e
commit
81c13171a9
30 changed files with 109 additions and 23 deletions
|
@ -18,6 +18,8 @@ import (
|
|||
"fmt"
|
||||
)
|
||||
|
||||
// LiveReloadInject returns a function that can be used
|
||||
// to inject a script tag for the livereload JavaScript in a HTML document.
|
||||
func LiveReloadInject(port int) func(ct contentTransformer) {
|
||||
return func(ct contentTransformer) {
|
||||
endBodyTag := "</body>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue