diff --git a/aio/package.json b/aio/package.json index 32e6f801d7..7965f808e6 100644 --- a/aio/package.json +++ b/aio/package.json @@ -20,10 +20,10 @@ "deploy-staging": "scripts/deploy-staging.sh", "check-env": "node ../tools/check-environment.js", "predocs": "rimraf src/content", - "docs": "dgeni ./transforms/angular.io-package", - "docs-watch": "node transforms/authors-package/watchr.js", - "docs-lint": "eslint --ignore-path=\"transforms/.eslintignore\" transforms", - "docs-test": "node ../dist/tools/cjs-jasmine/index-tools ../../transforms/**/*.spec.js", + "docs": "dgeni ./tools/transforms/angular.io-package", + "docs-watch": "node tools/transforms/authors-package/watchr.js", + "docs-lint": "eslint --ignore-path=\"tools/transforms/.eslintignore\" tools/transforms", + "docs-test": "node ../dist/tools/cjs-jasmine/index-tools ../../tools/transforms/**/*.spec.js", "~~update-webdriver": "webdriver-manager update --standalone false --gecko false", "boilerplate:add": "node ./tools/examples/add-example-boilerplate add", "boilerplate:remove": "node ./tools/examples/add-example-boilerplate remove", diff --git a/aio/tools/plunker-builder/builder.js b/aio/tools/plunker-builder/builder.js index 59e246024a..a461bfd9ae 100644 --- a/aio/tools/plunker-builder/builder.js +++ b/aio/tools/plunker-builder/builder.js @@ -11,7 +11,7 @@ var globby = require('globby'); var fileTranslator = require('./translator/fileTranslator'); var indexHtmlRules = require('./translator/rules/indexHtml'); var systemjsConfigExtrasRules = require('./translator/rules/systemjsConfigExtras'); -var regionExtractor = require('../../transforms/examples-package/services/region-parser'); +var regionExtractor = require('../transforms/examples-package/services/region-parser'); class PlunkerBuilder { constructor(basePath, destPath, options) { diff --git a/aio/transforms/.eslintignore b/aio/tools/transforms/.eslintignore similarity index 100% rename from aio/transforms/.eslintignore rename to aio/tools/transforms/.eslintignore diff --git a/aio/transforms/.eslintrc.js b/aio/tools/transforms/.eslintrc.js similarity index 100% rename from aio/transforms/.eslintrc.js rename to aio/tools/transforms/.eslintrc.js diff --git a/aio/transforms/README.md b/aio/tools/transforms/README.md similarity index 81% rename from aio/transforms/README.md rename to aio/tools/transforms/README.md index 5c51c084d0..8f7b033a20 100644 --- a/aio/transforms/README.md +++ b/aio/tools/transforms/README.md @@ -1,9 +1,9 @@ # Documentation Generation The dgeni tool is used to generate the documentation from the source files held in this repository. -The documentation generation is configured by a dgeni package defined in `docs/angular.io-package/index.js`. -This package, in turn requires a number of other packages, some are defined locally in the `docs` folder, -such as `docs/cheatsheet-package` and `docs/content-package`, etc. And some are brought in from the +The documentation generation is configured by a dgeni package defined in `tools/transforms/angular.io-package/index.js`. +This package, in turn requires a number of other packages, some are defined locally in the `tools/transforms` folder, +such as `tools/transforms/cheatsheet-package` and `tools/transforms/content-package`, etc. And some are brought in from the `dgeni-packages` node modules, such as `jsdoc` and `nunjucks`. ## Generating the docs diff --git a/aio/transforms/angular.io-package/ignore.words b/aio/tools/transforms/angular.io-package/ignore.words similarity index 100% rename from aio/transforms/angular.io-package/ignore.words rename to aio/tools/transforms/angular.io-package/ignore.words diff --git a/aio/transforms/angular.io-package/index.js b/aio/tools/transforms/angular.io-package/index.js similarity index 98% rename from aio/transforms/angular.io-package/index.js rename to aio/tools/transforms/angular.io-package/index.js index ce30fbe17e..bd1b9c6704 100644 --- a/aio/transforms/angular.io-package/index.js +++ b/aio/tools/transforms/angular.io-package/index.js @@ -19,11 +19,11 @@ const targetPackage = require('../target-package'); const contentPackage = require('../content-package'); const remarkPackage = require('../remark-package'); -const PROJECT_ROOT = path.resolve(__dirname, '../../..'); +const PROJECT_ROOT = path.resolve(__dirname, '../../../..'); const API_SOURCE_PATH = path.resolve(PROJECT_ROOT, 'packages'); const AIO_PATH = path.resolve(PROJECT_ROOT, 'aio'); const CONTENTS_PATH = path.resolve(AIO_PATH, 'content'); -const TEMPLATES_PATH = path.resolve(AIO_PATH, 'transforms/templates'); +const TEMPLATES_PATH = path.resolve(AIO_PATH, 'tools/transforms/templates'); const OUTPUT_PATH = path.resolve(AIO_PATH, 'src/content'); const DOCS_OUTPUT_PATH = path.resolve(OUTPUT_PATH, 'docs'); @@ -162,7 +162,7 @@ module.exports = collectExamples.exampleFolders = ['examples', 'examples']; - generateKeywordsProcessor.ignoreWordsFile = 'aio/transforms/angular.io-package/ignore.words'; + generateKeywordsProcessor.ignoreWordsFile = 'aio/tools/transforms/angular.io-package/ignore.words'; generateKeywordsProcessor.docTypesToIgnore = ['example-region']; }) diff --git a/aio/transforms/angular.io-package/inline-tag-defs/anchor.js b/aio/tools/transforms/angular.io-package/inline-tag-defs/anchor.js similarity index 100% rename from aio/transforms/angular.io-package/inline-tag-defs/anchor.js rename to aio/tools/transforms/angular.io-package/inline-tag-defs/anchor.js diff --git a/aio/transforms/angular.io-package/mocks/importedSrc.ts b/aio/tools/transforms/angular.io-package/mocks/importedSrc.ts similarity index 100% rename from aio/transforms/angular.io-package/mocks/importedSrc.ts rename to aio/tools/transforms/angular.io-package/mocks/importedSrc.ts diff --git a/aio/transforms/angular.io-package/mocks/testSrc.ts b/aio/tools/transforms/angular.io-package/mocks/testSrc.ts similarity index 100% rename from aio/transforms/angular.io-package/mocks/testSrc.ts rename to aio/tools/transforms/angular.io-package/mocks/testSrc.ts diff --git a/aio/transforms/angular.io-package/processors/addNotYetDocumentedProperty.js b/aio/tools/transforms/angular.io-package/processors/addNotYetDocumentedProperty.js similarity index 100% rename from aio/transforms/angular.io-package/processors/addNotYetDocumentedProperty.js rename to aio/tools/transforms/angular.io-package/processors/addNotYetDocumentedProperty.js diff --git a/aio/transforms/angular.io-package/processors/addNotYetDocumentedProperty.spec.js b/aio/tools/transforms/angular.io-package/processors/addNotYetDocumentedProperty.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/addNotYetDocumentedProperty.spec.js rename to aio/tools/transforms/angular.io-package/processors/addNotYetDocumentedProperty.spec.js diff --git a/aio/transforms/angular.io-package/processors/checkUnbalancedBackTicks.js b/aio/tools/transforms/angular.io-package/processors/checkUnbalancedBackTicks.js similarity index 100% rename from aio/transforms/angular.io-package/processors/checkUnbalancedBackTicks.js rename to aio/tools/transforms/angular.io-package/processors/checkUnbalancedBackTicks.js diff --git a/aio/transforms/angular.io-package/processors/checkUnbalancedBackTicks.spec.js b/aio/tools/transforms/angular.io-package/processors/checkUnbalancedBackTicks.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/checkUnbalancedBackTicks.spec.js rename to aio/tools/transforms/angular.io-package/processors/checkUnbalancedBackTicks.spec.js diff --git a/aio/transforms/angular.io-package/processors/convertPrivateClassesToInterfaces.js b/aio/tools/transforms/angular.io-package/processors/convertPrivateClassesToInterfaces.js similarity index 100% rename from aio/transforms/angular.io-package/processors/convertPrivateClassesToInterfaces.js rename to aio/tools/transforms/angular.io-package/processors/convertPrivateClassesToInterfaces.js diff --git a/aio/transforms/angular.io-package/processors/convertToJson.js b/aio/tools/transforms/angular.io-package/processors/convertToJson.js similarity index 100% rename from aio/transforms/angular.io-package/processors/convertToJson.js rename to aio/tools/transforms/angular.io-package/processors/convertToJson.js diff --git a/aio/transforms/angular.io-package/processors/copyContentAssets.js b/aio/tools/transforms/angular.io-package/processors/copyContentAssets.js similarity index 100% rename from aio/transforms/angular.io-package/processors/copyContentAssets.js rename to aio/tools/transforms/angular.io-package/processors/copyContentAssets.js diff --git a/aio/transforms/angular.io-package/processors/copyContentAssets.spec.js b/aio/tools/transforms/angular.io-package/processors/copyContentAssets.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/copyContentAssets.spec.js rename to aio/tools/transforms/angular.io-package/processors/copyContentAssets.spec.js diff --git a/aio/transforms/angular.io-package/processors/createOverviewDump.js b/aio/tools/transforms/angular.io-package/processors/createOverviewDump.js similarity index 100% rename from aio/transforms/angular.io-package/processors/createOverviewDump.js rename to aio/tools/transforms/angular.io-package/processors/createOverviewDump.js diff --git a/aio/transforms/angular.io-package/processors/extractDecoratedClasses.js b/aio/tools/transforms/angular.io-package/processors/extractDecoratedClasses.js similarity index 100% rename from aio/transforms/angular.io-package/processors/extractDecoratedClasses.js rename to aio/tools/transforms/angular.io-package/processors/extractDecoratedClasses.js diff --git a/aio/transforms/angular.io-package/processors/extractDecoratedClasses.spec.js b/aio/tools/transforms/angular.io-package/processors/extractDecoratedClasses.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/extractDecoratedClasses.spec.js rename to aio/tools/transforms/angular.io-package/processors/extractDecoratedClasses.spec.js diff --git a/aio/transforms/angular.io-package/processors/filterIgnoredDocs.js b/aio/tools/transforms/angular.io-package/processors/filterIgnoredDocs.js similarity index 100% rename from aio/transforms/angular.io-package/processors/filterIgnoredDocs.js rename to aio/tools/transforms/angular.io-package/processors/filterIgnoredDocs.js diff --git a/aio/transforms/angular.io-package/processors/filterIgnoredDocs.spec.js b/aio/tools/transforms/angular.io-package/processors/filterIgnoredDocs.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/filterIgnoredDocs.spec.js rename to aio/tools/transforms/angular.io-package/processors/filterIgnoredDocs.spec.js diff --git a/aio/transforms/angular.io-package/processors/filterMemberDocs.js b/aio/tools/transforms/angular.io-package/processors/filterMemberDocs.js similarity index 100% rename from aio/transforms/angular.io-package/processors/filterMemberDocs.js rename to aio/tools/transforms/angular.io-package/processors/filterMemberDocs.js diff --git a/aio/transforms/angular.io-package/processors/filterPrivateDocs.js b/aio/tools/transforms/angular.io-package/processors/filterPrivateDocs.js similarity index 100% rename from aio/transforms/angular.io-package/processors/filterPrivateDocs.js rename to aio/tools/transforms/angular.io-package/processors/filterPrivateDocs.js diff --git a/aio/transforms/angular.io-package/processors/filterPrivateDocs.spec.js b/aio/tools/transforms/angular.io-package/processors/filterPrivateDocs.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/filterPrivateDocs.spec.js rename to aio/tools/transforms/angular.io-package/processors/filterPrivateDocs.spec.js diff --git a/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js b/aio/tools/transforms/angular.io-package/processors/fixInternalDocumentLinks.js similarity index 100% rename from aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.js rename to aio/tools/transforms/angular.io-package/processors/fixInternalDocumentLinks.js diff --git a/aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.spec.js b/aio/tools/transforms/angular.io-package/processors/fixInternalDocumentLinks.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/fixInternalDocumentLinks.spec.js rename to aio/tools/transforms/angular.io-package/processors/fixInternalDocumentLinks.spec.js diff --git a/aio/transforms/angular.io-package/processors/generateApiListDoc.js b/aio/tools/transforms/angular.io-package/processors/generateApiListDoc.js similarity index 100% rename from aio/transforms/angular.io-package/processors/generateApiListDoc.js rename to aio/tools/transforms/angular.io-package/processors/generateApiListDoc.js diff --git a/aio/transforms/angular.io-package/processors/generateApiListDoc.spec.js b/aio/tools/transforms/angular.io-package/processors/generateApiListDoc.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/generateApiListDoc.spec.js rename to aio/tools/transforms/angular.io-package/processors/generateApiListDoc.spec.js diff --git a/aio/transforms/angular.io-package/processors/generateKeywords.js b/aio/tools/transforms/angular.io-package/processors/generateKeywords.js similarity index 100% rename from aio/transforms/angular.io-package/processors/generateKeywords.js rename to aio/tools/transforms/angular.io-package/processors/generateKeywords.js diff --git a/aio/transforms/angular.io-package/processors/generateKeywords.spec.js b/aio/tools/transforms/angular.io-package/processors/generateKeywords.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/generateKeywords.spec.js rename to aio/tools/transforms/angular.io-package/processors/generateKeywords.spec.js diff --git a/aio/transforms/angular.io-package/processors/markBarredODocsAsPrivate.js b/aio/tools/transforms/angular.io-package/processors/markBarredODocsAsPrivate.js similarity index 100% rename from aio/transforms/angular.io-package/processors/markBarredODocsAsPrivate.js rename to aio/tools/transforms/angular.io-package/processors/markBarredODocsAsPrivate.js diff --git a/aio/transforms/angular.io-package/processors/markBarredODocsAsPrivate.spec.js b/aio/tools/transforms/angular.io-package/processors/markBarredODocsAsPrivate.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/markBarredODocsAsPrivate.spec.js rename to aio/tools/transforms/angular.io-package/processors/markBarredODocsAsPrivate.spec.js diff --git a/aio/transforms/angular.io-package/processors/matchUpDirectiveDecorators.js b/aio/tools/transforms/angular.io-package/processors/matchUpDirectiveDecorators.js similarity index 100% rename from aio/transforms/angular.io-package/processors/matchUpDirectiveDecorators.js rename to aio/tools/transforms/angular.io-package/processors/matchUpDirectiveDecorators.js diff --git a/aio/transforms/angular.io-package/processors/mergeDecoratorDocs.js b/aio/tools/transforms/angular.io-package/processors/mergeDecoratorDocs.js similarity index 100% rename from aio/transforms/angular.io-package/processors/mergeDecoratorDocs.js rename to aio/tools/transforms/angular.io-package/processors/mergeDecoratorDocs.js diff --git a/aio/transforms/angular.io-package/processors/mergeDecoratorDocs.spec.js b/aio/tools/transforms/angular.io-package/processors/mergeDecoratorDocs.spec.js similarity index 100% rename from aio/transforms/angular.io-package/processors/mergeDecoratorDocs.spec.js rename to aio/tools/transforms/angular.io-package/processors/mergeDecoratorDocs.spec.js diff --git a/aio/transforms/angular.io-package/processors/processNavigationMap.js b/aio/tools/transforms/angular.io-package/processors/processNavigationMap.js similarity index 100% rename from aio/transforms/angular.io-package/processors/processNavigationMap.js rename to aio/tools/transforms/angular.io-package/processors/processNavigationMap.js diff --git a/aio/transforms/angular.io-package/readers/json.js b/aio/tools/transforms/angular.io-package/readers/json.js similarity index 100% rename from aio/transforms/angular.io-package/readers/json.js rename to aio/tools/transforms/angular.io-package/readers/json.js diff --git a/aio/transforms/angular.io-package/rendering/indentForMarkdown.js b/aio/tools/transforms/angular.io-package/rendering/indentForMarkdown.js similarity index 100% rename from aio/transforms/angular.io-package/rendering/indentForMarkdown.js rename to aio/tools/transforms/angular.io-package/rendering/indentForMarkdown.js diff --git a/aio/transforms/angular.io-package/rendering/toId.js b/aio/tools/transforms/angular.io-package/rendering/toId.js similarity index 100% rename from aio/transforms/angular.io-package/rendering/toId.js rename to aio/tools/transforms/angular.io-package/rendering/toId.js diff --git a/aio/transforms/angular.io-package/rendering/toId.spec.js b/aio/tools/transforms/angular.io-package/rendering/toId.spec.js similarity index 100% rename from aio/transforms/angular.io-package/rendering/toId.spec.js rename to aio/tools/transforms/angular.io-package/rendering/toId.spec.js diff --git a/aio/transforms/angular.io-package/rendering/trimBlankLines.js b/aio/tools/transforms/angular.io-package/rendering/trimBlankLines.js similarity index 100% rename from aio/transforms/angular.io-package/rendering/trimBlankLines.js rename to aio/tools/transforms/angular.io-package/rendering/trimBlankLines.js diff --git a/aio/transforms/angular.io-package/rendering/trimBlankLines.spec.js b/aio/tools/transforms/angular.io-package/rendering/trimBlankLines.spec.js similarity index 100% rename from aio/transforms/angular.io-package/rendering/trimBlankLines.spec.js rename to aio/tools/transforms/angular.io-package/rendering/trimBlankLines.spec.js diff --git a/aio/transforms/angular.io-package/services/copyFolder.js b/aio/tools/transforms/angular.io-package/services/copyFolder.js similarity index 100% rename from aio/transforms/angular.io-package/services/copyFolder.js rename to aio/tools/transforms/angular.io-package/services/copyFolder.js diff --git a/aio/transforms/angular.io-package/tag-defs/Annotation.js b/aio/tools/transforms/angular.io-package/tag-defs/Annotation.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/Annotation.js rename to aio/tools/transforms/angular.io-package/tag-defs/Annotation.js diff --git a/aio/transforms/angular.io-package/tag-defs/deprecated.js b/aio/tools/transforms/angular.io-package/tag-defs/deprecated.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/deprecated.js rename to aio/tools/transforms/angular.io-package/tag-defs/deprecated.js diff --git a/aio/transforms/angular.io-package/tag-defs/docsNotRequired.js b/aio/tools/transforms/angular.io-package/tag-defs/docsNotRequired.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/docsNotRequired.js rename to aio/tools/transforms/angular.io-package/tag-defs/docsNotRequired.js diff --git a/aio/transforms/angular.io-package/tag-defs/experimental.js b/aio/tools/transforms/angular.io-package/tag-defs/experimental.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/experimental.js rename to aio/tools/transforms/angular.io-package/tag-defs/experimental.js diff --git a/aio/transforms/angular.io-package/tag-defs/howToUse.js b/aio/tools/transforms/angular.io-package/tag-defs/howToUse.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/howToUse.js rename to aio/tools/transforms/angular.io-package/tag-defs/howToUse.js diff --git a/aio/transforms/angular.io-package/tag-defs/internal.js b/aio/tools/transforms/angular.io-package/tag-defs/internal.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/internal.js rename to aio/tools/transforms/angular.io-package/tag-defs/internal.js diff --git a/aio/transforms/angular.io-package/tag-defs/ngModule.js b/aio/tools/transforms/angular.io-package/tag-defs/ngModule.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/ngModule.js rename to aio/tools/transforms/angular.io-package/tag-defs/ngModule.js diff --git a/aio/transforms/angular.io-package/tag-defs/no-description.js b/aio/tools/transforms/angular.io-package/tag-defs/no-description.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/no-description.js rename to aio/tools/transforms/angular.io-package/tag-defs/no-description.js diff --git a/aio/transforms/angular.io-package/tag-defs/security.js b/aio/tools/transforms/angular.io-package/tag-defs/security.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/security.js rename to aio/tools/transforms/angular.io-package/tag-defs/security.js diff --git a/aio/transforms/angular.io-package/tag-defs/stable.js b/aio/tools/transforms/angular.io-package/tag-defs/stable.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/stable.js rename to aio/tools/transforms/angular.io-package/tag-defs/stable.js diff --git a/aio/transforms/angular.io-package/tag-defs/suppress.js b/aio/tools/transforms/angular.io-package/tag-defs/suppress.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/suppress.js rename to aio/tools/transforms/angular.io-package/tag-defs/suppress.js diff --git a/aio/transforms/angular.io-package/tag-defs/syntax.js b/aio/tools/transforms/angular.io-package/tag-defs/syntax.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/syntax.js rename to aio/tools/transforms/angular.io-package/tag-defs/syntax.js diff --git a/aio/transforms/angular.io-package/tag-defs/ts2dart_const.js b/aio/tools/transforms/angular.io-package/tag-defs/ts2dart_const.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/ts2dart_const.js rename to aio/tools/transforms/angular.io-package/tag-defs/ts2dart_const.js diff --git a/aio/transforms/angular.io-package/tag-defs/whatItDoes.js b/aio/tools/transforms/angular.io-package/tag-defs/whatItDoes.js similarity index 100% rename from aio/transforms/angular.io-package/tag-defs/whatItDoes.js rename to aio/tools/transforms/angular.io-package/tag-defs/whatItDoes.js diff --git a/aio/transforms/authors-package/api-package.js b/aio/tools/transforms/authors-package/api-package.js similarity index 100% rename from aio/transforms/authors-package/api-package.js rename to aio/tools/transforms/authors-package/api-package.js diff --git a/aio/transforms/authors-package/base-package.js b/aio/tools/transforms/authors-package/base-package.js similarity index 98% rename from aio/transforms/authors-package/base-package.js rename to aio/tools/transforms/authors-package/base-package.js index 73142740a6..e0ab07fc56 100644 --- a/aio/transforms/authors-package/base-package.js +++ b/aio/tools/transforms/authors-package/base-package.js @@ -18,11 +18,11 @@ const targetPackage = require('../target-package'); const contentPackage = require('../content-package'); const remarkPackage = require('../remark-package'); -const PROJECT_ROOT = path.resolve(__dirname, '../../..'); +const PROJECT_ROOT = path.resolve(__dirname, '../../../..'); const API_SOURCE_PATH = path.resolve(PROJECT_ROOT, 'packages'); const AIO_PATH = path.resolve(PROJECT_ROOT, 'aio'); const CONTENTS_PATH = path.resolve(AIO_PATH, 'content'); -const TEMPLATES_PATH = path.resolve(AIO_PATH, 'transforms/templates'); +const TEMPLATES_PATH = path.resolve(AIO_PATH, 'tools/transforms/templates'); const OUTPUT_PATH = path.resolve(AIO_PATH, 'src/content'); const DOCS_OUTPUT_PATH = path.resolve(OUTPUT_PATH, 'docs'); diff --git a/aio/transforms/authors-package/guide-package.js b/aio/tools/transforms/authors-package/guide-package.js similarity index 100% rename from aio/transforms/authors-package/guide-package.js rename to aio/tools/transforms/authors-package/guide-package.js diff --git a/aio/transforms/authors-package/index.js b/aio/tools/transforms/authors-package/index.js similarity index 100% rename from aio/transforms/authors-package/index.js rename to aio/tools/transforms/authors-package/index.js diff --git a/aio/transforms/authors-package/index.spec.js b/aio/tools/transforms/authors-package/index.spec.js similarity index 98% rename from aio/transforms/authors-package/index.spec.js rename to aio/tools/transforms/authors-package/index.spec.js index 54a3e45047..7ff3cdb0b6 100644 --- a/aio/transforms/authors-package/index.spec.js +++ b/aio/tools/transforms/authors-package/index.spec.js @@ -1,7 +1,7 @@ const fs = require('fs'); const {resolve} = require('canonical-path'); const {generateDocs} = require('./index.js'); -const rootPath = resolve(__dirname, '../../..'); +const rootPath = resolve(__dirname, '../../../..'); const outputPath = resolve(rootPath, 'aio/src/content/docs'); describe('authors-package', () => { diff --git a/aio/transforms/authors-package/marketing-package.js b/aio/tools/transforms/authors-package/marketing-package.js similarity index 100% rename from aio/transforms/authors-package/marketing-package.js rename to aio/tools/transforms/authors-package/marketing-package.js diff --git a/aio/transforms/authors-package/tutorial-package.js b/aio/tools/transforms/authors-package/tutorial-package.js similarity index 100% rename from aio/transforms/authors-package/tutorial-package.js rename to aio/tools/transforms/authors-package/tutorial-package.js diff --git a/aio/transforms/authors-package/watchr.js b/aio/tools/transforms/authors-package/watchr.js similarity index 79% rename from aio/transforms/authors-package/watchr.js rename to aio/tools/transforms/authors-package/watchr.js index b81b4b3bae..296dba3270 100644 --- a/aio/transforms/authors-package/watchr.js +++ b/aio/tools/transforms/authors-package/watchr.js @@ -2,7 +2,7 @@ const watchr = require('watchr'); const {resolve, relative} = require('canonical-path'); const {generateDocs} = require('./index.js'); -const rootPath = resolve(__dirname, '../../..'); +const rootPath = resolve(__dirname, '../../../..'); const contentsPath = resolve(rootPath, 'aio/content'); const apiPath = resolve(rootPath, 'packages'); @@ -16,10 +16,16 @@ function listener(changeType, fullPath) { } } +function next(error) { + if (error) { + console.log(error); + } +} + console.log('Started watching files in:'); console.log(' - ', contentsPath); console.log(' - ', apiPath); console.log('Doc gen will run when you change a file in either of these folders.'); -watchr.open(contentsPath, listener); -watchr.open(apiPath, listener); +watchr.open(contentsPath, listener, next); +watchr.open(apiPath, listener, next); diff --git a/aio/transforms/content-package/index.js b/aio/tools/transforms/content-package/index.js similarity index 100% rename from aio/transforms/content-package/index.js rename to aio/tools/transforms/content-package/index.js diff --git a/aio/transforms/content-package/readers/content.js b/aio/tools/transforms/content-package/readers/content.js similarity index 100% rename from aio/transforms/content-package/readers/content.js rename to aio/tools/transforms/content-package/readers/content.js diff --git a/aio/transforms/content-package/readers/content.spec.js b/aio/tools/transforms/content-package/readers/content.spec.js similarity index 100% rename from aio/transforms/content-package/readers/content.spec.js rename to aio/tools/transforms/content-package/readers/content.spec.js diff --git a/aio/transforms/content-package/tag-defs/intro.js b/aio/tools/transforms/content-package/tag-defs/intro.js similarity index 100% rename from aio/transforms/content-package/tag-defs/intro.js rename to aio/tools/transforms/content-package/tag-defs/intro.js diff --git a/aio/transforms/content-package/tag-defs/title.js b/aio/tools/transforms/content-package/tag-defs/title.js similarity index 100% rename from aio/transforms/content-package/tag-defs/title.js rename to aio/tools/transforms/content-package/tag-defs/title.js diff --git a/aio/transforms/examples-package/file-readers/example-reader.js b/aio/tools/transforms/examples-package/file-readers/example-reader.js similarity index 100% rename from aio/transforms/examples-package/file-readers/example-reader.js rename to aio/tools/transforms/examples-package/file-readers/example-reader.js diff --git a/aio/transforms/examples-package/index.js b/aio/tools/transforms/examples-package/index.js similarity index 100% rename from aio/transforms/examples-package/index.js rename to aio/tools/transforms/examples-package/index.js diff --git a/aio/transforms/examples-package/inline-tag-defs/example.js b/aio/tools/transforms/examples-package/inline-tag-defs/example.js similarity index 100% rename from aio/transforms/examples-package/inline-tag-defs/example.js rename to aio/tools/transforms/examples-package/inline-tag-defs/example.js diff --git a/aio/transforms/examples-package/inline-tag-defs/example.spec.js b/aio/tools/transforms/examples-package/inline-tag-defs/example.spec.js similarity index 100% rename from aio/transforms/examples-package/inline-tag-defs/example.spec.js rename to aio/tools/transforms/examples-package/inline-tag-defs/example.spec.js diff --git a/aio/transforms/examples-package/inline-tag-defs/exampleTabs.js b/aio/tools/transforms/examples-package/inline-tag-defs/exampleTabs.js similarity index 100% rename from aio/transforms/examples-package/inline-tag-defs/exampleTabs.js rename to aio/tools/transforms/examples-package/inline-tag-defs/exampleTabs.js diff --git a/aio/transforms/examples-package/processors/collect-examples.js b/aio/tools/transforms/examples-package/processors/collect-examples.js similarity index 100% rename from aio/transforms/examples-package/processors/collect-examples.js rename to aio/tools/transforms/examples-package/processors/collect-examples.js diff --git a/aio/transforms/examples-package/processors/collect-examples.spec.js b/aio/tools/transforms/examples-package/processors/collect-examples.spec.js similarity index 100% rename from aio/transforms/examples-package/processors/collect-examples.spec.js rename to aio/tools/transforms/examples-package/processors/collect-examples.spec.js diff --git a/aio/transforms/examples-package/processors/render-examples.js b/aio/tools/transforms/examples-package/processors/render-examples.js similarity index 100% rename from aio/transforms/examples-package/processors/render-examples.js rename to aio/tools/transforms/examples-package/processors/render-examples.js diff --git a/aio/transforms/examples-package/processors/render-examples.spec.js b/aio/tools/transforms/examples-package/processors/render-examples.spec.js similarity index 100% rename from aio/transforms/examples-package/processors/render-examples.spec.js rename to aio/tools/transforms/examples-package/processors/render-examples.spec.js diff --git a/aio/transforms/examples-package/services/example-map.js b/aio/tools/transforms/examples-package/services/example-map.js similarity index 100% rename from aio/transforms/examples-package/services/example-map.js rename to aio/tools/transforms/examples-package/services/example-map.js diff --git a/aio/transforms/examples-package/services/getExampleRegion.js b/aio/tools/transforms/examples-package/services/getExampleRegion.js similarity index 100% rename from aio/transforms/examples-package/services/getExampleRegion.js rename to aio/tools/transforms/examples-package/services/getExampleRegion.js diff --git a/aio/transforms/examples-package/services/getExampleRegion.spec.js b/aio/tools/transforms/examples-package/services/getExampleRegion.spec.js similarity index 100% rename from aio/transforms/examples-package/services/getExampleRegion.spec.js rename to aio/tools/transforms/examples-package/services/getExampleRegion.spec.js diff --git a/aio/transforms/examples-package/services/parseArgString.js b/aio/tools/transforms/examples-package/services/parseArgString.js similarity index 100% rename from aio/transforms/examples-package/services/parseArgString.js rename to aio/tools/transforms/examples-package/services/parseArgString.js diff --git a/aio/transforms/examples-package/services/region-matchers/block-c.js b/aio/tools/transforms/examples-package/services/region-matchers/block-c.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/block-c.js rename to aio/tools/transforms/examples-package/services/region-matchers/block-c.js diff --git a/aio/transforms/examples-package/services/region-matchers/block-c.spec.js b/aio/tools/transforms/examples-package/services/region-matchers/block-c.spec.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/block-c.spec.js rename to aio/tools/transforms/examples-package/services/region-matchers/block-c.spec.js diff --git a/aio/transforms/examples-package/services/region-matchers/html.js b/aio/tools/transforms/examples-package/services/region-matchers/html.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/html.js rename to aio/tools/transforms/examples-package/services/region-matchers/html.js diff --git a/aio/transforms/examples-package/services/region-matchers/html.spec.js b/aio/tools/transforms/examples-package/services/region-matchers/html.spec.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/html.spec.js rename to aio/tools/transforms/examples-package/services/region-matchers/html.spec.js diff --git a/aio/transforms/examples-package/services/region-matchers/inline-c-only.js b/aio/tools/transforms/examples-package/services/region-matchers/inline-c-only.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/inline-c-only.js rename to aio/tools/transforms/examples-package/services/region-matchers/inline-c-only.js diff --git a/aio/transforms/examples-package/services/region-matchers/inline-c-only.spec.js b/aio/tools/transforms/examples-package/services/region-matchers/inline-c-only.spec.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/inline-c-only.spec.js rename to aio/tools/transforms/examples-package/services/region-matchers/inline-c-only.spec.js diff --git a/aio/transforms/examples-package/services/region-matchers/inline-c.js b/aio/tools/transforms/examples-package/services/region-matchers/inline-c.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/inline-c.js rename to aio/tools/transforms/examples-package/services/region-matchers/inline-c.js diff --git a/aio/transforms/examples-package/services/region-matchers/inline-c.spec.js b/aio/tools/transforms/examples-package/services/region-matchers/inline-c.spec.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/inline-c.spec.js rename to aio/tools/transforms/examples-package/services/region-matchers/inline-c.spec.js diff --git a/aio/transforms/examples-package/services/region-matchers/inline-hash.js b/aio/tools/transforms/examples-package/services/region-matchers/inline-hash.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/inline-hash.js rename to aio/tools/transforms/examples-package/services/region-matchers/inline-hash.js diff --git a/aio/transforms/examples-package/services/region-matchers/inline-hash.spec.js b/aio/tools/transforms/examples-package/services/region-matchers/inline-hash.spec.js similarity index 100% rename from aio/transforms/examples-package/services/region-matchers/inline-hash.spec.js rename to aio/tools/transforms/examples-package/services/region-matchers/inline-hash.spec.js diff --git a/aio/transforms/examples-package/services/region-parser.js b/aio/tools/transforms/examples-package/services/region-parser.js similarity index 100% rename from aio/transforms/examples-package/services/region-parser.js rename to aio/tools/transforms/examples-package/services/region-parser.js diff --git a/aio/transforms/examples-package/services/region-parser.spec.js b/aio/tools/transforms/examples-package/services/region-parser.spec.js similarity index 100% rename from aio/transforms/examples-package/services/region-parser.spec.js rename to aio/tools/transforms/examples-package/services/region-parser.spec.js diff --git a/aio/transforms/examples-package/utils.js b/aio/tools/transforms/examples-package/utils.js similarity index 100% rename from aio/transforms/examples-package/utils.js rename to aio/tools/transforms/examples-package/utils.js diff --git a/aio/transforms/examples-package/utils.spec.js b/aio/tools/transforms/examples-package/utils.spec.js similarity index 100% rename from aio/transforms/examples-package/utils.spec.js rename to aio/tools/transforms/examples-package/utils.spec.js diff --git a/aio/transforms/helpers/test-package.js b/aio/tools/transforms/helpers/test-package.js similarity index 93% rename from aio/transforms/helpers/test-package.js rename to aio/tools/transforms/helpers/test-package.js index 450b5a5c36..a714ed929c 100644 --- a/aio/transforms/helpers/test-package.js +++ b/aio/tools/transforms/helpers/test-package.js @@ -18,7 +18,7 @@ module.exports = function testPackage(packageName, mockTemplateEngine) { pkg.factory('log', function() { return require('dgeni/lib/mocks/log')(false); }); // overrides base packageInfo and returns the one for the 'angular/angular' repo. - const PROJECT_ROOT = path.resolve(__dirname, '../../..'); + const PROJECT_ROOT = path.resolve(__dirname, '../../../..'); pkg.factory('packageInfo', function() { return require(path.resolve(PROJECT_ROOT, 'package.json')); }); diff --git a/aio/transforms/links-package/index.js b/aio/tools/transforms/links-package/index.js similarity index 100% rename from aio/transforms/links-package/index.js rename to aio/tools/transforms/links-package/index.js diff --git a/aio/transforms/links-package/inline-tag-defs/link.js b/aio/tools/transforms/links-package/inline-tag-defs/link.js similarity index 100% rename from aio/transforms/links-package/inline-tag-defs/link.js rename to aio/tools/transforms/links-package/inline-tag-defs/link.js diff --git a/aio/transforms/links-package/services/deprecatedDocsLinkDisambiguator.js b/aio/tools/transforms/links-package/services/deprecatedDocsLinkDisambiguator.js similarity index 100% rename from aio/transforms/links-package/services/deprecatedDocsLinkDisambiguator.js rename to aio/tools/transforms/links-package/services/deprecatedDocsLinkDisambiguator.js diff --git a/aio/transforms/links-package/services/getAliases.js b/aio/tools/transforms/links-package/services/getAliases.js similarity index 100% rename from aio/transforms/links-package/services/getAliases.js rename to aio/tools/transforms/links-package/services/getAliases.js diff --git a/aio/transforms/links-package/services/getAliases.spec.js b/aio/tools/transforms/links-package/services/getAliases.spec.js similarity index 100% rename from aio/transforms/links-package/services/getAliases.spec.js rename to aio/tools/transforms/links-package/services/getAliases.spec.js diff --git a/aio/transforms/links-package/services/getDocFromAlias.js b/aio/tools/transforms/links-package/services/getDocFromAlias.js similarity index 100% rename from aio/transforms/links-package/services/getDocFromAlias.js rename to aio/tools/transforms/links-package/services/getDocFromAlias.js diff --git a/aio/transforms/links-package/services/getDocFromAlias.spec.js b/aio/tools/transforms/links-package/services/getDocFromAlias.spec.js similarity index 100% rename from aio/transforms/links-package/services/getDocFromAlias.spec.js rename to aio/tools/transforms/links-package/services/getDocFromAlias.spec.js diff --git a/aio/transforms/links-package/services/getLinkInfo.js b/aio/tools/transforms/links-package/services/getLinkInfo.js similarity index 100% rename from aio/transforms/links-package/services/getLinkInfo.js rename to aio/tools/transforms/links-package/services/getLinkInfo.js diff --git a/aio/transforms/links-package/services/moduleScopeLinkDisambiguator.js b/aio/tools/transforms/links-package/services/moduleScopeLinkDisambiguator.js similarity index 100% rename from aio/transforms/links-package/services/moduleScopeLinkDisambiguator.js rename to aio/tools/transforms/links-package/services/moduleScopeLinkDisambiguator.js diff --git a/aio/transforms/remark-package/index.js b/aio/tools/transforms/remark-package/index.js similarity index 100% rename from aio/transforms/remark-package/index.js rename to aio/tools/transforms/remark-package/index.js diff --git a/aio/transforms/remark-package/services/renderMarkdown.js b/aio/tools/transforms/remark-package/services/renderMarkdown.js similarity index 100% rename from aio/transforms/remark-package/services/renderMarkdown.js rename to aio/tools/transforms/remark-package/services/renderMarkdown.js diff --git a/aio/transforms/remark-package/services/renderMarkdown.spec.js b/aio/tools/transforms/remark-package/services/renderMarkdown.spec.js similarity index 100% rename from aio/transforms/remark-package/services/renderMarkdown.spec.js rename to aio/tools/transforms/remark-package/services/renderMarkdown.spec.js diff --git a/aio/transforms/target-package/index.js b/aio/tools/transforms/target-package/index.js similarity index 100% rename from aio/transforms/target-package/index.js rename to aio/tools/transforms/target-package/index.js diff --git a/aio/transforms/target-package/inline-tag-defs/target.js b/aio/tools/transforms/target-package/inline-tag-defs/target.js similarity index 100% rename from aio/transforms/target-package/inline-tag-defs/target.js rename to aio/tools/transforms/target-package/inline-tag-defs/target.js diff --git a/aio/transforms/target-package/inline-tag-defs/target.spec.js b/aio/tools/transforms/target-package/inline-tag-defs/target.spec.js similarity index 100% rename from aio/transforms/target-package/inline-tag-defs/target.spec.js rename to aio/tools/transforms/target-package/inline-tag-defs/target.spec.js diff --git a/aio/transforms/target-package/services/targetEnvironments.js b/aio/tools/transforms/target-package/services/targetEnvironments.js similarity index 100% rename from aio/transforms/target-package/services/targetEnvironments.js rename to aio/tools/transforms/target-package/services/targetEnvironments.js diff --git a/aio/transforms/target-package/services/targetEnvironments.spec.js b/aio/tools/transforms/target-package/services/targetEnvironments.spec.js similarity index 100% rename from aio/transforms/target-package/services/targetEnvironments.spec.js rename to aio/tools/transforms/target-package/services/targetEnvironments.spec.js diff --git a/aio/transforms/templates/README.md b/aio/tools/transforms/templates/README.md similarity index 100% rename from aio/transforms/templates/README.md rename to aio/tools/transforms/templates/README.md diff --git a/aio/transforms/templates/cheatsheet.template.json b/aio/tools/transforms/templates/cheatsheet.template.json similarity index 100% rename from aio/transforms/templates/cheatsheet.template.json rename to aio/tools/transforms/templates/cheatsheet.template.json diff --git a/aio/transforms/templates/class.template.html b/aio/tools/transforms/templates/class.template.html similarity index 100% rename from aio/transforms/templates/class.template.html rename to aio/tools/transforms/templates/class.template.html diff --git a/aio/transforms/templates/const.template.html b/aio/tools/transforms/templates/const.template.html similarity index 100% rename from aio/transforms/templates/const.template.html rename to aio/tools/transforms/templates/const.template.html diff --git a/aio/transforms/templates/content.template.html b/aio/tools/transforms/templates/content.template.html similarity index 100% rename from aio/transforms/templates/content.template.html rename to aio/tools/transforms/templates/content.template.html diff --git a/aio/transforms/templates/data-module.template.js b/aio/tools/transforms/templates/data-module.template.js similarity index 100% rename from aio/transforms/templates/data-module.template.js rename to aio/tools/transforms/templates/data-module.template.js diff --git a/aio/transforms/templates/decorator.template.html b/aio/tools/transforms/templates/decorator.template.html similarity index 100% rename from aio/transforms/templates/decorator.template.html rename to aio/tools/transforms/templates/decorator.template.html diff --git a/aio/transforms/templates/directive.template.html b/aio/tools/transforms/templates/directive.template.html similarity index 100% rename from aio/transforms/templates/directive.template.html rename to aio/tools/transforms/templates/directive.template.html diff --git a/aio/transforms/templates/enum.template.html b/aio/tools/transforms/templates/enum.template.html similarity index 100% rename from aio/transforms/templates/enum.template.html rename to aio/tools/transforms/templates/enum.template.html diff --git a/aio/transforms/templates/example-region.template.html b/aio/tools/transforms/templates/example-region.template.html similarity index 100% rename from aio/transforms/templates/example-region.template.html rename to aio/tools/transforms/templates/example-region.template.html diff --git a/aio/transforms/templates/function.template.html b/aio/tools/transforms/templates/function.template.html similarity index 100% rename from aio/transforms/templates/function.template.html rename to aio/tools/transforms/templates/function.template.html diff --git a/aio/transforms/templates/includes/_annotations.html b/aio/tools/transforms/templates/includes/_annotations.html similarity index 100% rename from aio/transforms/templates/includes/_annotations.html rename to aio/tools/transforms/templates/includes/_annotations.html diff --git a/aio/transforms/templates/includes/_class-overview.html b/aio/tools/transforms/templates/includes/_class-overview.html similarity index 100% rename from aio/transforms/templates/includes/_class-overview.html rename to aio/tools/transforms/templates/includes/_class-overview.html diff --git a/aio/transforms/templates/includes/_constructor.html b/aio/tools/transforms/templates/includes/_constructor.html similarity index 100% rename from aio/transforms/templates/includes/_constructor.html rename to aio/tools/transforms/templates/includes/_constructor.html diff --git a/aio/transforms/templates/includes/_deprecated-notes.html b/aio/tools/transforms/templates/includes/_deprecated-notes.html similarity index 100% rename from aio/transforms/templates/includes/_deprecated-notes.html rename to aio/tools/transforms/templates/includes/_deprecated-notes.html diff --git a/aio/transforms/templates/includes/_description.html b/aio/tools/transforms/templates/includes/_description.html similarity index 100% rename from aio/transforms/templates/includes/_description.html rename to aio/tools/transforms/templates/includes/_description.html diff --git a/aio/transforms/templates/includes/_export-as.html b/aio/tools/transforms/templates/includes/_export-as.html similarity index 100% rename from aio/transforms/templates/includes/_export-as.html rename to aio/tools/transforms/templates/includes/_export-as.html diff --git a/aio/transforms/templates/includes/_how-to-use.html b/aio/tools/transforms/templates/includes/_how-to-use.html similarity index 100% rename from aio/transforms/templates/includes/_how-to-use.html rename to aio/tools/transforms/templates/includes/_how-to-use.html diff --git a/aio/transforms/templates/includes/_info-bar.html b/aio/tools/transforms/templates/includes/_info-bar.html similarity index 100% rename from aio/transforms/templates/includes/_info-bar.html rename to aio/tools/transforms/templates/includes/_info-bar.html diff --git a/aio/transforms/templates/includes/_inputs.html b/aio/tools/transforms/templates/includes/_inputs.html similarity index 100% rename from aio/transforms/templates/includes/_inputs.html rename to aio/tools/transforms/templates/includes/_inputs.html diff --git a/aio/transforms/templates/includes/_interface-overview.html b/aio/tools/transforms/templates/includes/_interface-overview.html similarity index 100% rename from aio/transforms/templates/includes/_interface-overview.html rename to aio/tools/transforms/templates/includes/_interface-overview.html diff --git a/aio/transforms/templates/includes/_members.html b/aio/tools/transforms/templates/includes/_members.html similarity index 100% rename from aio/transforms/templates/includes/_members.html rename to aio/tools/transforms/templates/includes/_members.html diff --git a/aio/transforms/templates/includes/_metadata.html b/aio/tools/transforms/templates/includes/_metadata.html similarity index 100% rename from aio/transforms/templates/includes/_metadata.html rename to aio/tools/transforms/templates/includes/_metadata.html diff --git a/aio/transforms/templates/includes/_ng-module.html b/aio/tools/transforms/templates/includes/_ng-module.html similarity index 100% rename from aio/transforms/templates/includes/_ng-module.html rename to aio/tools/transforms/templates/includes/_ng-module.html diff --git a/aio/transforms/templates/includes/_outputs.html b/aio/tools/transforms/templates/includes/_outputs.html similarity index 100% rename from aio/transforms/templates/includes/_outputs.html rename to aio/tools/transforms/templates/includes/_outputs.html diff --git a/aio/transforms/templates/includes/_security-notes.html b/aio/tools/transforms/templates/includes/_security-notes.html similarity index 100% rename from aio/transforms/templates/includes/_security-notes.html rename to aio/tools/transforms/templates/includes/_security-notes.html diff --git a/aio/transforms/templates/includes/_selectors.html b/aio/tools/transforms/templates/includes/_selectors.html similarity index 100% rename from aio/transforms/templates/includes/_selectors.html rename to aio/tools/transforms/templates/includes/_selectors.html diff --git a/aio/transforms/templates/includes/_statics.html b/aio/tools/transforms/templates/includes/_statics.html similarity index 100% rename from aio/transforms/templates/includes/_statics.html rename to aio/tools/transforms/templates/includes/_statics.html diff --git a/aio/transforms/templates/includes/_title.html b/aio/tools/transforms/templates/includes/_title.html similarity index 100% rename from aio/transforms/templates/includes/_title.html rename to aio/tools/transforms/templates/includes/_title.html diff --git a/aio/transforms/templates/includes/_what-it-does.html b/aio/tools/transforms/templates/includes/_what-it-does.html similarity index 100% rename from aio/transforms/templates/includes/_what-it-does.html rename to aio/tools/transforms/templates/includes/_what-it-does.html diff --git a/aio/transforms/templates/interface.template.html b/aio/tools/transforms/templates/interface.template.html similarity index 100% rename from aio/transforms/templates/interface.template.html rename to aio/tools/transforms/templates/interface.template.html diff --git a/aio/transforms/templates/json-doc.template.json b/aio/tools/transforms/templates/json-doc.template.json similarity index 100% rename from aio/transforms/templates/json-doc.template.json rename to aio/tools/transforms/templates/json-doc.template.json diff --git a/aio/transforms/templates/layout/api-base.template.html b/aio/tools/transforms/templates/layout/api-base.template.html similarity index 100% rename from aio/transforms/templates/layout/api-base.template.html rename to aio/tools/transforms/templates/layout/api-base.template.html diff --git a/aio/transforms/templates/layout/base.template.html b/aio/tools/transforms/templates/layout/base.template.html similarity index 100% rename from aio/transforms/templates/layout/base.template.html rename to aio/tools/transforms/templates/layout/base.template.html diff --git a/aio/transforms/templates/let.template.html b/aio/tools/transforms/templates/let.template.html similarity index 100% rename from aio/transforms/templates/let.template.html rename to aio/tools/transforms/templates/let.template.html diff --git a/aio/transforms/templates/lib/githubLinks.html b/aio/tools/transforms/templates/lib/githubLinks.html similarity index 100% rename from aio/transforms/templates/lib/githubLinks.html rename to aio/tools/transforms/templates/lib/githubLinks.html diff --git a/aio/transforms/templates/lib/paramList.html b/aio/tools/transforms/templates/lib/paramList.html similarity index 100% rename from aio/transforms/templates/lib/paramList.html rename to aio/tools/transforms/templates/lib/paramList.html diff --git a/aio/transforms/templates/module.template.html b/aio/tools/transforms/templates/module.template.html similarity index 100% rename from aio/transforms/templates/module.template.html rename to aio/tools/transforms/templates/module.template.html diff --git a/aio/transforms/templates/overview-dump.template.html b/aio/tools/transforms/templates/overview-dump.template.html similarity index 100% rename from aio/transforms/templates/overview-dump.template.html rename to aio/tools/transforms/templates/overview-dump.template.html diff --git a/aio/transforms/templates/pipe.template.html b/aio/tools/transforms/templates/pipe.template.html similarity index 100% rename from aio/transforms/templates/pipe.template.html rename to aio/tools/transforms/templates/pipe.template.html diff --git a/aio/transforms/templates/type-alias.template.html b/aio/tools/transforms/templates/type-alias.template.html similarity index 100% rename from aio/transforms/templates/type-alias.template.html rename to aio/tools/transforms/templates/type-alias.template.html diff --git a/aio/transforms/templates/value-module.template.html b/aio/tools/transforms/templates/value-module.template.html similarity index 100% rename from aio/transforms/templates/value-module.template.html rename to aio/tools/transforms/templates/value-module.template.html diff --git a/aio/transforms/templates/var.template.html b/aio/tools/transforms/templates/var.template.html similarity index 100% rename from aio/transforms/templates/var.template.html rename to aio/tools/transforms/templates/var.template.html