From 3883b736c011d1cf67da7d732debca1b93244f87 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 1 Mar 2017 11:23:12 +0000 Subject: [PATCH] build(aio): content documents should have a `contents` field --- aio/transforms/angular.io-package/processors/convertToJson.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/transforms/angular.io-package/processors/convertToJson.js b/aio/transforms/angular.io-package/processors/convertToJson.js index 66f95c0fa8..270f0def7d 100644 --- a/aio/transforms/angular.io-package/processors/convertToJson.js +++ b/aio/transforms/angular.io-package/processors/convertToJson.js @@ -10,7 +10,7 @@ module.exports = function convertToJsonProcessor() { if (docTypes.indexOf(doc.docType) !== -1) { const output = { title: doc.title || doc.name, - content: doc.renderedContent + contents: doc.renderedContent }; doc.renderedContent = JSON.stringify(output, null, 2); }