From 207298cd3a9ed8134f6c8821f95d58429f926722 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 1 Mar 2017 22:54:21 +0000 Subject: [PATCH] build(aio): generate marketing docs JSON files --- aio/{src/content => content/marketing}/events.html | 0 aio/{src/content => content/marketing}/features.html | 0 aio/{src/content => content/marketing}/home.html | 0 aio/{src/content => content/marketing}/news.html | 0 aio/transforms/angular.io-package/index.js | 5 +++++ 5 files changed, 5 insertions(+) rename aio/{src/content => content/marketing}/events.html (100%) rename aio/{src/content => content/marketing}/features.html (100%) rename aio/{src/content => content/marketing}/home.html (100%) rename aio/{src/content => content/marketing}/news.html (100%) diff --git a/aio/src/content/events.html b/aio/content/marketing/events.html similarity index 100% rename from aio/src/content/events.html rename to aio/content/marketing/events.html diff --git a/aio/src/content/features.html b/aio/content/marketing/features.html similarity index 100% rename from aio/src/content/features.html rename to aio/content/marketing/features.html diff --git a/aio/src/content/home.html b/aio/content/marketing/home.html similarity index 100% rename from aio/src/content/home.html rename to aio/content/marketing/home.html diff --git a/aio/src/content/news.html b/aio/content/marketing/news.html similarity index 100% rename from aio/src/content/news.html rename to aio/content/marketing/news.html diff --git a/aio/transforms/angular.io-package/index.js b/aio/transforms/angular.io-package/index.js index e0fe9a7724..56dae6e5a4 100644 --- a/aio/transforms/angular.io-package/index.js +++ b/aio/transforms/angular.io-package/index.js @@ -92,6 +92,11 @@ module.exports = include: CONTENTS_PATH + '/{cookbook,guide,tutorial}/**/*.md', fileReader: 'contentFileReader' }, + { + basePath: CONTENTS_PATH + '/marketing', + include: CONTENTS_PATH + '/marketing/**/*.html', + fileReader: 'contentFileReader' + }, { basePath: CONTENTS_PATH, include: CONTENTS_PATH + '/file-not-found.md',