From 50c6efa187a211d7f7e05a1019fdaf9e454647cc Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 19 May 2015 13:11:20 +0100 Subject: [PATCH] chore(doc-gen): fix paths for links to modules and exports --- docs/angular.io-package/templates/var.template.html | 2 +- docs/dgeni-package/templates/class.template.html | 2 +- docs/dgeni-package/templates/function.template.html | 2 +- docs/dgeni-package/templates/module.template.html | 2 +- docs/dgeni-package/templates/var.template.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/angular.io-package/templates/var.template.html b/docs/angular.io-package/templates/var.template.html index 3ff0248082..ac0e8b45ae 100644 --- a/docs/angular.io-package/templates/var.template.html +++ b/docs/angular.io-package/templates/var.template.html @@ -4,7 +4,7 @@ .l-main-section h2 {$ doc.name $} variable p.location-badge. - exported from {$ doc.moduleDoc.id $} + exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } :markdown {$ doc.description | indent(4, true) $} diff --git a/docs/dgeni-package/templates/class.template.html b/docs/dgeni-package/templates/class.template.html index 7608bd93bc..8acf1f2d42 100644 --- a/docs/dgeni-package/templates/class.template.html +++ b/docs/dgeni-package/templates/class.template.html @@ -3,7 +3,7 @@ {% block body %}

{$ doc.name $} {$ doc.docType $}

-

exported from {$ doc.moduleDoc.id $}
+

exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }
defined in {$ doc.fileInfo.relativePath $} (line {$ doc.location.start.line+1 $})

{$ doc.description | marked $}

diff --git a/docs/dgeni-package/templates/function.template.html b/docs/dgeni-package/templates/function.template.html index 2ccd7fc009..9ca2c93f24 100644 --- a/docs/dgeni-package/templates/function.template.html +++ b/docs/dgeni-package/templates/function.template.html @@ -3,7 +3,7 @@ {% block body %}

{$ doc.name $}{$ paramList(doc.parameters) $}

-

exported from {$ doc.moduleDoc.id $}

+

exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }

{$ doc.description | marked $}

{% endblock %} \ No newline at end of file diff --git a/docs/dgeni-package/templates/module.template.html b/docs/dgeni-package/templates/module.template.html index 3518505ebf..4a59c376fd 100644 --- a/docs/dgeni-package/templates/module.template.html +++ b/docs/dgeni-package/templates/module.template.html @@ -10,7 +10,7 @@ diff --git a/docs/dgeni-package/templates/var.template.html b/docs/dgeni-package/templates/var.template.html index 165189bb5c..f93348f49d 100644 --- a/docs/dgeni-package/templates/var.template.html +++ b/docs/dgeni-package/templates/var.template.html @@ -2,7 +2,7 @@ {% block body %}

{$ doc.name $} variable

-

exported from {$ doc.moduleDoc.id $}

+

exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }

{$ doc.description | marked $}

{% endblock %} \ No newline at end of file