diff --git a/dist/npmts.paths.d.ts b/dist/npmts.paths.d.ts index 74d2da3..85130ee 100644 --- a/dist/npmts.paths.d.ts +++ b/dist/npmts.paths.d.ts @@ -3,10 +3,11 @@ export declare let npmtsPackageRoot: string; export declare let cwd: string; export declare let tsDir: string; export declare let distDir: string; -export declare let docsDir: string; export declare let testDir: string; export declare let typingsDir: string; export declare let coverageDir: string; +export declare let pagesDir: string; +export declare let pagesApiDir: string; export declare let npmtsAssetsDir: string; export declare let indexTS: string; export declare let testTS: string; diff --git a/dist/npmts.paths.js b/dist/npmts.paths.js index 0b81540..e2c2368 100644 --- a/dist/npmts.paths.js +++ b/dist/npmts.paths.js @@ -1,17 +1,19 @@ "use strict"; require("typings-global"); var plugins = require("./npmts.plugins"); -//Npmts Paths +// NPMTS Paths exports.npmtsPackageRoot = plugins.path.join(__dirname, "../"); -//Project paths +// Project paths exports.cwd = process.cwd(); -//Directories +// Directories exports.tsDir = plugins.path.join(exports.cwd, "ts/"); exports.distDir = plugins.path.join(exports.cwd, "dist/"); -exports.docsDir = plugins.path.join(exports.cwd, "docs/"); exports.testDir = plugins.path.join(exports.cwd, "test/"); exports.typingsDir = plugins.path.join(exports.cwd, "ts/typings/"); exports.coverageDir = plugins.path.join(exports.cwd, "coverage/"); +// Pages +exports.pagesDir = plugins.path.join(exports.cwd, "pages/"); +exports.pagesApiDir = plugins.path.join(exports.pagesDir, "/api"); exports.npmtsAssetsDir = plugins.path.join(__dirname, "../assets/"); //Files exports.indexTS = plugins.path.join(exports.cwd, "ts/index.ts"); diff --git a/dist/npmts.typedoc.js b/dist/npmts.typedoc.js index b25fb3e..542f761 100644 --- a/dist/npmts.typedoc.js +++ b/dist/npmts.typedoc.js @@ -14,8 +14,8 @@ var genTypeDoc = function (configArg) { target: "es6", includeDeclarations: true, // Output options (see typedoc docs) - out: paths.docsDir, - json: plugins.path.join(paths.docsDir, "file.json"), + out: paths.pagesApiDir, + json: plugins.path.join(paths.pagesApiDir, "file.json"), // TypeDoc options (see typedoc docs) name: "my-project", //theme: "default", diff --git a/ts/npmts.paths.ts b/ts/npmts.paths.ts index b41a429..a9d2329 100644 --- a/ts/npmts.paths.ts +++ b/ts/npmts.paths.ts @@ -1,21 +1,24 @@ import "typings-global"; import plugins = require("./npmts.plugins"); -//Npmts Paths +// NPMTS Paths export let npmtsPackageRoot = plugins.path.join(__dirname,"../"); -//Project paths +// Project paths export let cwd = process.cwd(); -//Directories +// Directories export let tsDir = plugins.path.join(cwd,"ts/"); export let distDir = plugins.path.join(cwd,"dist/"); -export let docsDir = plugins.path.join(cwd,"docs/"); export let testDir = plugins.path.join(cwd,"test/"); export let typingsDir = plugins.path.join(cwd,"ts/typings/"); export let coverageDir = plugins.path.join(cwd,"coverage/"); +// Pages +export let pagesDir = plugins.path.join(cwd,"pages/"); +export let pagesApiDir = plugins.path.join(pagesDir,"/api"); + export let npmtsAssetsDir = plugins.path.join(__dirname,"../assets/"); //Files diff --git a/ts/npmts.typedoc.ts b/ts/npmts.typedoc.ts index 129ee1a..2a4f659 100644 --- a/ts/npmts.typedoc.ts +++ b/ts/npmts.typedoc.ts @@ -15,8 +15,8 @@ let genTypeDoc = function (configArg) { includeDeclarations: true, // Output options (see typedoc docs) - out: paths.docsDir, - json: plugins.path.join(paths.docsDir, "file.json"), + out: paths.pagesApiDir, + json: plugins.path.join(paths.pagesApiDir, "file.json"), // TypeDoc options (see typedoc docs) name: "my-project",