diff --git a/src/material-examples/example-data.ts b/src/material-examples/example-data.ts index 74e58afe6cb..fc50c959bd9 100644 --- a/src/material-examples/example-data.ts +++ b/src/material-examples/example-data.ts @@ -11,9 +11,6 @@ export class ExampleData { /** Description of the example. */ description: string; - /** Path to the example. This is based on the structure of the material.angular.io repo. */ - examplePath: string; - /** List of files that are part of this example. */ exampleFiles: string[]; @@ -38,7 +35,6 @@ export class ExampleData { // TODO(tinayuangao): Do not hard-code extensions this.exampleFiles = ['html', 'ts', 'css'].map(extension => `${example}-example.${extension}`); - this.examplePath = `/assets/stackblitz/examples/${example}/`; this.selectorName = this.indexFilename = `${example}-example`; if (exampleConfig.additionalFiles) { diff --git a/tools/dgeni/templates/constant.template.html b/tools/dgeni/templates/constant.template.html index c54b29a0b38..6377a3ef266 100644 --- a/tools/dgeni/templates/constant.template.html +++ b/tools/dgeni/templates/constant.template.html @@ -15,6 +15,7 @@
{$ constant.description | marked | safe $}
{%- endif -%} +
{%- highlight "typescript" -%}
@@ -22,3 +23,4 @@
{%- end_highlight -%}
+{$ alias.description | marked | safe $}
{%- endif -%} +
{%- highlight "typescript" -%}
@@ -22,3 +23,4 @@
{%- end_highlight -%}
+