Improve return types

This commit is contained in:
Joe Mooring 2024-01-20 14:45:40 -08:00 committed by GitHub
parent f7d6152671
commit b053fa09c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 15 additions and 15 deletions

View File

@ -5,7 +5,7 @@ categories: []
keywords: [] keywords: []
action: action:
related: [] related: []
returnType: hugolib.pageState returnType: page.Page
signatures: [MENUENTRY.Page] signatures: [MENUENTRY.Page]
--- ---

View File

@ -12,7 +12,7 @@ action:
- methods/page/IsDescendant - methods/page/IsDescendant
- methods/page/Parent - methods/page/Parent
- methods/page/Sections - methods/page/Sections
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.CurrentSection] signatures: [PAGE.CurrentSection]
--- ---

View File

@ -12,7 +12,7 @@ action:
- methods/page/IsDescendant - methods/page/IsDescendant
- methods/page/Parent - methods/page/Parent
- methods/page/Sections - methods/page/Sections
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.FirstSection] signatures: [PAGE.FirstSection]
--- ---

View File

@ -6,7 +6,7 @@ keywords: []
action: action:
related: related:
- methods/site/GetPage - methods/site/GetPage
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.GetPage PATH] signatures: [PAGE.GetPage PATH]
aliases: [/functions/getpage] aliases: [/functions/getpage]
--- ---

View File

@ -10,7 +10,7 @@ action:
- methods/page/PrevInSection - methods/page/PrevInSection
- methods/pages/Next - methods/pages/Next
- methods/pages/Prev - methods/pages/Prev
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.Next] signatures: [PAGE.Next]
toc: true toc: true
--- ---

View File

@ -10,7 +10,7 @@ action:
- methods/page/Prev - methods/page/Prev
- methods/pages/Next - methods/pages/Next
- methods/pages/Prev - methods/pages/Prev
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.NextInSection] signatures: [PAGE.NextInSection]
--- ---

View File

@ -5,7 +5,7 @@ categories: []
keywords: [] keywords: []
action: action:
related: [] related: []
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.Page] signatures: [PAGE.Page]
--- ---

View File

@ -12,7 +12,7 @@ action:
- methods/page/IsAncestor - methods/page/IsAncestor
- methods/page/IsDescendant - methods/page/IsDescendant
- methods/page/Sections - methods/page/Sections
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.Parent] signatures: [PAGE.Parent]
--- ---

View File

@ -10,7 +10,7 @@ action:
- methods/page/NextInSection - methods/page/NextInSection
- methods/pages/Prev - methods/pages/Prev
- methods/pages/Next - methods/pages/Next
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.Prev] signatures: [PAGE.Prev]
toc: true toc: true
--- ---

View File

@ -10,7 +10,7 @@ action:
- methods/pages/Next - methods/pages/Next
- methods/page/Prev - methods/page/Prev
- methods/pages/Prev - methods/pages/Prev
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGE.PrevInSection] signatures: [PAGE.PrevInSection]
--- ---

View File

@ -10,7 +10,7 @@ action:
- methods/page/NextInSection - methods/page/NextInSection
- methods/page/Prev - methods/page/Prev
- methods/page/PrevInSection - methods/page/PrevInSection
returnType: hugolib.pageState returnType: page.Page
signatures: [PAGES.Next PAGE] signatures: [PAGES.Next PAGE]
toc: true toc: true
--- ---

View File

@ -10,7 +10,7 @@ action:
- methods/page/NextInSection - methods/page/NextInSection
- methods/page/Prev - methods/page/Prev
- methods/page/PrevInSection - methods/page/PrevInSection
returnType: hugolib.pageStates returnType: page.Pages
signatures: [PAGES.Prev PAGE] signatures: [PAGES.Prev PAGE]
toc: true toc: true
--- ---

View File

@ -6,7 +6,7 @@ keywords: []
action: action:
related: related:
- methods/page/GetPage - methods/page/GetPage
returnType: hugolib.pageState returnType: page.Page
signatures: [SITE.GetPage PATH] signatures: [SITE.GetPage PATH]
toc: true toc: true
--- ---

View File

@ -5,7 +5,7 @@ categories: []
keywords: [] keywords: []
action: action:
related: [] related: []
returnType: hugolib.pageState returnType: page.Page
signatures: [SITE.Home] signatures: [SITE.Home]
--- ---

View File

@ -10,7 +10,7 @@ Count
: (`int`) Returns the number of pages to which the term is assigned. : (`int`) Returns the number of pages to which the term is assigned.
Page Page
: (`hugolib.pageState`) Returns the term's `Page` object, useful for linking to the term page. : (`page.Page`) Returns the term's `Page` object, useful for linking to the term page.
Pages Pages
: (`page.Pages`) Returns a `Pages` object containing the `Page` objects to which the term is assigned, sorted by [taxonomic weight]. To sort or group, use any of the [methods] available to the `Pages` object. For example, sort by the last modification date. : (`page.Pages`) Returns a `Pages` object containing the `Page` objects to which the term is assigned, sorted by [taxonomic weight]. To sort or group, use any of the [methods] available to the `Pages` object. For example, sort by the last modification date.