Add name/description for TimeAndDate plugin for the docs
This commit is contained in:
parent
01b17fa67e
commit
33d75af1fc
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,7 @@ import { getMemberTz } from "./functions/getMemberTz";
|
||||||
import { getDateFormat } from "./functions/getDateFormat";
|
import { getDateFormat } from "./functions/getDateFormat";
|
||||||
import { inMemberTz } from "./functions/inMemberTz";
|
import { inMemberTz } from "./functions/inMemberTz";
|
||||||
import { ResetTimezoneCmd } from "./commands/ResetTimezoneCmd";
|
import { ResetTimezoneCmd } from "./commands/ResetTimezoneCmd";
|
||||||
|
import { trimPluginDescription } from "../../utils";
|
||||||
|
|
||||||
const defaultOptions: PluginOptions<TimeAndDatePluginType> = {
|
const defaultOptions: PluginOptions<TimeAndDatePluginType> = {
|
||||||
config: {
|
config: {
|
||||||
|
@ -33,6 +34,13 @@ const defaultOptions: PluginOptions<TimeAndDatePluginType> = {
|
||||||
|
|
||||||
export const TimeAndDatePlugin = zeppelinPlugin<TimeAndDatePluginType>()("time_and_date", {
|
export const TimeAndDatePlugin = zeppelinPlugin<TimeAndDatePluginType>()("time_and_date", {
|
||||||
showInDocs: true,
|
showInDocs: true,
|
||||||
|
info: {
|
||||||
|
prettyName: "Time and date",
|
||||||
|
description: trimPluginDescription(`
|
||||||
|
Allows controlling the displayed time/date formats and timezones
|
||||||
|
`),
|
||||||
|
},
|
||||||
|
|
||||||
configSchema: ConfigSchema,
|
configSchema: ConfigSchema,
|
||||||
defaultOptions,
|
defaultOptions,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue