-
Notifications
You must be signed in to change notification settings - Fork 0
/
exporter.json
163 lines (163 loc) · 7.42 KB
/
exporter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"id": "io.supernova.supermail",
"name": "Supermail",
"description": "Documentation exporter that shows power of customization of Supernova documentation templates. Create marketing emails right using your favorite design system documentation editor!",
"author": "Jiri Trecak",
"organization": "Supernova",
"source_dir": "src",
"assets_dir": "assets",
"version": "1.0.1",
"usesBrands": false,
"language": "pulsar",
"config": {
"sources": "sources.json",
"output": "output.json",
"js": "src/js_helpers.js"
},
"engines": {
"pulsar": "1.0.0",
"supernova": "1.0.0"
},
"type": "documentation",
"tags": [
"Emails",
"Marketing"
],
"contributes": {
"configuration": [{
"key": "headerLogo",
"type": "image",
"label": "Top Menu Logo",
"description": "Company logo to be shown on all pages inside the documentation site. 200x30px .svg or .png is recommended",
"category": "Look & Feel"
},
{
"key": "lookAndFeelHeaderBackgroundImage",
"type": "image",
"label": "Page Header Background Image",
"description": "If provided, the header background image for each page will use this image. You can still change the setting per-page",
"category": "Look & Feel"
},
{
"key": "lookAndFeelHeaderBackgroundColor",
"type": "color",
"label": "Page Header Background Color",
"description": "If provided, the header background color for each page will use this color. You can still change the setting per-page",
"category": "Look & Feel"
},
{
"key": "lookAndFeelHeaderTextColor",
"type": "color",
"label": "Page Header Text Color",
"description": "If provided, the header text color for each page will use this color. You can still change the setting per-page",
"category": "Look & Feel"
},
{
"key": "lookAndFeelHeaderHeight",
"type": "number",
"label": "Page Header Height (px)",
"description": "If provided, the header for each page will be this tall (px). You can still change the setting per-page. Use 0 to disable",
"category": "Look & Feel",
"default": 0
},
{
"key": "advancedCustomizationShowNextPreviousNavigation",
"type": "boolean",
"label": "Show Next / Previous navigation",
"description": "When enabled, will show bottom page navigation with quick links to next and previous pages",
"category": "Advanced",
"default": true
},
{
"key": "advancedCustomizationShowFooter",
"type": "boolean",
"label": "Show Footer",
"description": "Any custom javascript to change the documentation behavior. Custom JS will be injected last after DOM is loaded.",
"category": "Advanced",
"default": true
},
{
"key": "advancedCustomizationCustomFooter",
"type": "string",
"label": "Custom Footer Code",
"description": "When footer is shown, the footer can be fully customized by changing its HTML representation. Add links, lines or even images, any html will work.",
"category": "Advanced",
"isMultiline": true,
"inputType": "code",
"default": "<div class=\"container-footer\"\">\r\n <div class=\"slider\">\r\n <div class=\"row\">\r\n <div class=\"col-5\">\r\n <h5>My Doc Site<\/h5>\r\n <p class=\"d-block mb-3\">This footer can be completely changed through Supernova customization options. Head to site advanced customization to learn more!<\/p>\r\n <p class=\"d-block mb-3 text-muted\">© 2022 My Amazing Company<\/p>\r\n <\/div>\r\n <div class=\"col-3 offset-1\">\r\n <h5>Resources<\/h5>\r\n <ul class=\"list-unstyled\">\r\n <li><a href=\"#\">Changelog<\/a><\/li>\r\n <li><a href=\"#\">Storybook<\/a><\/li>\r\n <li><a href=\"#\">Figma<\/a><\/li>\r\n <\/ul>\r\n <\/div>\r\n <div class=\"col-3\">\r\n <h5>Support<\/h5>\r\n <ul class=\"list-unstyled\">\r\n <li><a href=\"#\">Report issue<\/a><\/li>\r\n <li><a href=\"#\">Terms & Conditions<\/a><\/li>\r\n <li><a href=\"#\">Privacy Policy<\/a><\/li>\r\n <\/ul>\r\n <\/div>\r\n <\/div>\r\n <\/div>\r\n<\/div>"
}
],
"blocks": [{
"key": "io.supernova.supermail.cta",
"category": "Email",
"title": "Email CTA",
"description": "Add CTA button to your emails",
"mode": "block",
"properties": [{
"key": "ctaText",
"default": "",
"type": "string",
"label": "Title text"
}, {
"key": "ctaUrl",
"default": "",
"type": "string",
"label": "CTA Url"
}]
}, {
"key": "io.supernova.supermail.header",
"category": "Email",
"title": "Email Header",
"description": "Add basic configuration to this email",
"mode": "block",
"properties": [{
"key": "title",
"default": "",
"type": "string",
"label": "Title"
}, {
"key": "showLogo",
"default": true,
"type": "boolean",
"label": "Show logo"
}, {
"key": "logoUrl",
"default": "https://supernova.io/",
"type": "string",
"label": "Show logo"
}, {
"key": "logoImage",
"type": "image",
"label": "Logo"
}]
}, {
"key": "io.supernova.supermail.footer",
"category": "Email",
"title": "Email Footer",
"description": "Add footer to this email",
"mode": "block",
"properties": [{
"key": "showDescription",
"default": true,
"type": "boolean",
"label": "Show Description"
}, {
"key": "showSocial",
"default": true,
"type": "boolean",
"label": "Show Social"
}, {
"key": "description",
"default": "This email was sent to you by Supernova.io because you must be into design system-related stuff. To ensure these emails end up in your inbox (not bulk or junk folders) add our email address, supernova.io to your address book.",
"type": "string",
"label": "Description"
}, {
"key": "copyright",
"default": "© Supernova Studio 2022",
"type": "string",
"label": "Copyright"
}]
}],
"blockVariants": {}
}
}