From cc689ce980c951f74fcc05c846ace0f57bd73aa2 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 8 Jul 2016 12:41:48 -0700 Subject: [PATCH] chore(api doc gen): log 'no api docs' as info not warning closes #1860 There are too many undocumented interfaces to consider lack of API docs in a source file to be worth a warning. The original author even questions whether there should be such a warning. It is now logged at the `info` level. --- .../docs-package/processors/addNotYetDocumentedProperty.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/api-builder/docs-package/processors/addNotYetDocumentedProperty.js b/tools/api-builder/docs-package/processors/addNotYetDocumentedProperty.js index ed3b29b22b..e4e2c0540d 100644 --- a/tools/api-builder/docs-package/processors/addNotYetDocumentedProperty.js +++ b/tools/api-builder/docs-package/processors/addNotYetDocumentedProperty.js @@ -23,8 +23,7 @@ module.exports = function addNotYetDocumentedProperty(EXPORT_DOC_TYPES, log, cre } if (doc.notYetDocumented) { - // TODO: (ericjim) should I remove this? - log.warn(createDocMessage("Not yet documented", doc)); + log.info(createDocMessage("Not yet documented", doc)); } }); @@ -35,4 +34,4 @@ module.exports = function addNotYetDocumentedProperty(EXPORT_DOC_TYPES, log, cre function notYetDocumented(doc) { return !doc.noDescription && doc.description.trim().length == 0; -} \ No newline at end of file +}