From d3849f2a9b4bc5b0ab0ef4215ecf54c753eb1de9 Mon Sep 17 00:00:00 2001 From: Aleksey Gureiev Date: Mon, 28 Mar 2016 10:44:30 +0300 Subject: [PATCH] added an option to specify custom typedoc theme --- gruntfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gruntfile.js b/gruntfile.js index 1067ac3db..c74864326 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -146,7 +146,7 @@ module.exports = function(grunt) { outTsAppsDir: "./bin/dist/ts-apps", outApiRefDir: "./bin/dist/api-ref" }; - + var nodeTestEnv = JSON.parse(JSON.stringify(process.env)); nodeTestEnv.NODE_PATH = localCfg.outModulesDir; @@ -454,6 +454,7 @@ module.exports = function(grunt) { "module": 'commonjs', "target": 'es5', "out": localCfg.outApiRefDir, + "theme": '<%= grunt.option("theme") || "default" %>', //"json": './dist/doc.json', "name": 'NativeScript', "includeDeclarations": undefined, @@ -701,7 +702,7 @@ module.exports = function(grunt) { "env:nodeTests", "exec:mochaNode", //spawn a new process to use the new NODE_PATH ]); - + grunt.registerTask("inplace", [ "ts:build-inplace", "generate-tns-core-modules-dev-dts"