diff --git a/docs/inline-tag-defs/link.js b/docs/inline-tag-defs/link.js index d2d87ca809..deff37215e 100644 --- a/docs/inline-tag-defs/link.js +++ b/docs/inline-tag-defs/link.js @@ -14,7 +14,7 @@ module.exports = { var linkInfo = partialNames.getLink(uri, title, doc); if ( !linkInfo.valid ) { - log.warn(linkInfo.error); + log.warn(linkInfo.error, 'in', doc.relativePath + '#' + doc.name); } return '' + linkInfo.title + ''; diff --git a/docs/tag-defs/parent.js b/docs/tag-defs/parent.js index 52c0679499..17e55401f9 100644 --- a/docs/tag-defs/parent.js +++ b/docs/tag-defs/parent.js @@ -1,7 +1,7 @@ var _ = require('lodash'); module.exports = [{ - name: 'parent', + name: 'parent', transformFn: function(doc, tag) { return _.template('{@link ionic.directive:${description} ${description}}', tag); } diff --git a/docs/templates/api/api.template.html b/docs/templates/api/api.template.html index 6c44c8470c..fb3f0a7e15 100644 --- a/docs/templates/api/api.template.html +++ b/docs/templates/api/api.template.html @@ -6,7 +6,7 @@ <@ if doc.docType == "directive" @>

<$ doc.name | dashCase $> <@ if doc.parent @> -(must have a parent <$ doc.parent | dashCase $>) +(must have a parent <$ doc.parent $>) <@ endif @>

<@ else @>