feat: add some descriptions

v1.18.x
Barış Soner Uşaklı 5 years ago
parent eade13f928
commit 442c018ec0

@ -44,14 +44,21 @@ components:
properties: properties:
loggedIn: loggedIn:
type: boolean type: boolean
description: true if user is logged in, false otherwise
relative_path: relative_path:
type: string type: string
description: |
if NodeBB is installed in a subfolder this becomes the path to the forum. For example if your forum url is
mycompany.com/community then relative_path will be /community. If your forum url is myforum.com then relative path will be empty string.
url: url:
type: string type: string
description: base url of the current page, does not include query params
bodyClass: bodyClass:
type: string type: string
description: the css class string that is appended to the body element
_header: _header:
type: object type: object
description: list of meta and link tags that are added to the head element
properties: properties:
tags: tags:
type: object type: object
@ -95,8 +102,23 @@ components:
- type - type
- sizes - sizes
widgets: widgets:
type: object
description: rendered widgets
properties:
header:
type: array
items:
type: object type: object
properties: properties:
html:
type: string
sidebar:
type: array
items:
type: object
properties:
html:
type: string
footer: footer:
type: array type: array
items: items:

Loading…
Cancel
Save