Skip to content

Commit 475b722

Browse files
committed
fix(generators): Update documentation URLs for templates
fixes ionic-team/ionic-cli#2622
1 parent 50beafa commit 475b722

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

scripts/templates/component/ts.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { Component } from '@angular/core';
33
/**
44
* Generated class for the $CLASSNAME component.
55
*
6-
* See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html
7-
* for more info on Angular Components.
6+
* See https://angular.io/api/core/Component for more info on Angular
7+
* Components.
88
*/
99
@Component({
1010
selector: '$FILENAME',

scripts/templates/directive/ts.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { Directive } from '@angular/core';
33
/**
44
* Generated class for the $CLASSNAME directive.
55
*
6-
* See https://angular.io/docs/ts/latest/api/core/index/DirectiveMetadata-class.html
7-
* for more info on Angular Directives.
6+
* See https://angular.io/api/core/Directive for more info on Angular
7+
* Directives.
88
*/
99
@Directive({
1010
selector: '[$FILENAME]' // Attribute selector

scripts/templates/page/ts.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ $IMPORTSTATEMENT
44
/**
55
* Generated class for the $CLASSNAME page.
66
*
7-
* See http://ionicframework.com/docs/components/#navigation for more info
8-
* on Ionic pages and navigation.
7+
* See https://ionicframework.com/docs/components/#navigation for more info on
8+
* Ionic pages and navigation.
99
*/
1010
$IONICPAGE
1111
@Component({

scripts/templates/pipe/ts.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { Pipe, PipeTransform } from '@angular/core';
33
/**
44
* Generated class for the $CLASSNAME pipe.
55
*
6-
* See https://angular.io/docs/ts/latest/guide/pipes.html for more info on
7-
* Angular Pipes.
6+
* See https://angular.io/api/core/Pipe for more info on Angular Pipes.
87
*/
98
@Pipe({
109
name: '$PIPENAME',

scripts/templates/provider/ts.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import 'rxjs/add/operator/map';
55
/*
66
Generated class for the $CLASSNAME provider.
77

8-
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
9-
for more info on providers and Angular DI.
8+
See https://angular.io/guide/dependency-injection for more info on providers
9+
and Angular DI.
1010
*/
1111
@Injectable()
1212
export class $CLASSNAME {

scripts/templates/tabs/ts.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ $TABS_IMPORTSTATEMENT
44
/**
55
* Generated class for the $CLASSNAME tabs.
66
*
7-
* See https://angular.io/docs/ts/latest/guide/dependency-injection.html for
8-
* more info on providers and Angular DI.
7+
* See https://ionicframework.com/docs/components/#navigation for more info on
8+
* Ionic pages and navigation.
99
*/
1010
$IONICPAGE
1111
@Component({

0 commit comments

Comments
 (0)