angular-docs-cn/aio/tools/transforms/angular.io-package/processors
Peter Bacon Darwin ecd0348d96 build(aio): extract the title from the content if necessary
Documents can specify their title via the `title` or `name` jsdoc tags.

This change adds that, if neither are provided, the first `<h1>` element
is removed from the `renderedContent` and used for the title.

If there is still no title then it is set to the empty string and a warning
is logged.
2017-04-18 15:20:04 -07:00
..
addNotYetDocumentedProperty.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
addNotYetDocumentedProperty.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
checkUnbalancedBackTicks.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
checkUnbalancedBackTicks.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
convertPrivateClassesToInterfaces.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
convertToJson.js build(aio): extract the title from the content if necessary 2017-04-18 15:20:04 -07:00
convertToJson.spec.js build(aio): extract the title from the content if necessary 2017-04-18 15:20:04 -07:00
copyContentAssets.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
copyContentAssets.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
createOverviewDump.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
extractDecoratedClasses.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
extractDecoratedClasses.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
filterIgnoredDocs.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
filterIgnoredDocs.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
filterMemberDocs.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
filterPrivateDocs.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
filterPrivateDocs.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
fixInternalDocumentLinks.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
fixInternalDocumentLinks.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
generateApiListDoc.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
generateApiListDoc.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
generateKeywords.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
generateKeywords.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
markBarredODocsAsPrivate.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
markBarredODocsAsPrivate.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
matchUpDirectiveDecorators.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
mergeDecoratorDocs.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
mergeDecoratorDocs.spec.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00
processNavigationMap.js build(aio): move the `transforms` folder into the `tools` folder 2017-04-16 22:05:23 +01:00