chore: add theme name to api docs generation
This commit is contained in:
Родитель
a2fd9aae8f
Коммит
0b63e32946
|
@ -1,6 +1,10 @@
|
|||
{
|
||||
"dest": ".tmp",
|
||||
"theme": "build/sassdoc-theme.js",
|
||||
"meta": {
|
||||
"name": "default",
|
||||
"friendlyName": "Default",
|
||||
},
|
||||
"groups": {
|
||||
"charts": "Charts",
|
||||
"undefined": "Common"
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
title: Customization
|
||||
description: "Refer to the list of the Kendo UI Default theme variables available for customization."
|
||||
slug: variables_kendothemedefault_kendouiforangular
|
||||
description: "Refer to the list of the Kendo UI {{ meta.friendlyName }} theme variables available for customization."
|
||||
slug: variables_kendotheme{{ meta.name }}_kendouiforangular
|
||||
position: 9
|
||||
---
|
||||
|
||||
# Customization
|
||||
|
||||
The following list describes the theme variables available for adjustment in the Kendo UI Default theme for Angular.
|
||||
The following list describes the theme variables available for adjustment in the Kendo UI {{ meta.friendlyName }} theme for Angular.
|
||||
|
||||
<style>
|
||||
.theme-variables th,
|
||||
|
|
|
@ -51,6 +51,8 @@ module.exports = function(dest, context) {
|
|||
a.title < b.title ? -1 : 1;
|
||||
});
|
||||
|
||||
data.meta = context.meta;
|
||||
|
||||
return new Promise(function(done, error) {
|
||||
let output = template(data);
|
||||
output = output.replace(/\r?\n/g, '\n');
|
||||
|
|
Загрузка…
Ссылка в новой задаче