mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
all: Fix comments for exported functions and packages
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
24e7d0c174
commit
610cedaa61
@@ -334,7 +334,7 @@ type PageWithoutContent interface {
|
||||
// Used in change/dependency tracking.
|
||||
identity.Provider
|
||||
|
||||
// Headings returns the headings for this page when a filter is set.
|
||||
// HeadingsFiltered returns the headings for this page when a filter is set.
|
||||
// This is currently only triggered with the Related content feature
|
||||
// and the "fragments" type of index.
|
||||
HeadingsFiltered(context.Context) tableofcontents.Headings
|
||||
@@ -373,7 +373,7 @@ type RefProvider interface {
|
||||
// RelRef returns a relative URL to a page.
|
||||
RelRef(argsm map[string]any) (string, error)
|
||||
|
||||
// RefFrom is for internal use only.
|
||||
// RelRefFrom is for internal use only.
|
||||
RelRefFrom(argsm map[string]any, source any) (string, error)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user