build(docs-infra): remove unused `ngmodule-faq` and `visual-studio-2015` examples (#36015)

PR Close #36015
This commit is contained in:
George Kalpakas 2020-03-17 22:28:33 +02:00 committed by Andrew Kushnir
parent fbed0a1471
commit df7504ade1
6 changed files with 1 additions and 112 deletions

View File

@ -258,7 +258,6 @@ groups:
'aio/content/examples/ngmodules/**', 'aio/content/examples/ngmodules/**',
'aio/content/guide/ngmodule-api.md', 'aio/content/guide/ngmodule-api.md',
'aio/content/guide/ngmodule-faq.md', 'aio/content/guide/ngmodule-faq.md',
'aio/content/examples/ngmodule-faq/**',
'aio/content/guide/ngmodule-vs-jsmodule.md', 'aio/content/guide/ngmodule-vs-jsmodule.md',
'aio/content/guide/module-types.md', 'aio/content/guide/module-types.md',
'aio/content/guide/template-syntax.md', 'aio/content/guide/template-syntax.md',
@ -901,8 +900,7 @@ groups:
'aio/content/guide/docs-style-guide.md', 'aio/content/guide/docs-style-guide.md',
'aio/content/examples/docs-style-guide/**', 'aio/content/examples/docs-style-guide/**',
'aio/content/images/guide/docs-style-guide/**', 'aio/content/images/guide/docs-style-guide/**',
'aio/content/guide/visual-studio-2015.md', 'aio/content/guide/visual-studio-2015.md'
'aio/content/examples/visual-studio-2015/**'
]) ])
reviewers: reviewers:
users: users:

View File

@ -1,41 +0,0 @@
// #docplaster
// #docregion
/* Angular Imports */
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
/* App Imports */
// #enddocregion
import { AppComponent } from './app.component.3';
/*
// #docregion
import { AppComponent } from './app.component';
// #enddocregion
*/
// #docregion
import { HighlightDirective } from './highlight.directive.1';
import { TitleComponent } from './title.component.1';
import { UserService } from './user.service';
/* Routing Module */
// #enddocregion
import { AppRoutingModule } from './app-routing.module.3';
/*
// #docregion
import { AppRoutingModule } from './app-routing.module';
// #enddocregion
*/
// #docregion
@NgModule({
// #docregion imports
imports: [
BrowserModule,
AppRoutingModule
],
// #enddocregion imports
providers: [ UserService ],
declarations: [ AppComponent, HighlightDirective, TitleComponent ],
bootstrap: [ AppComponent ]
})
export class AppModule { }

View File

@ -1,15 +0,0 @@
// #docplaster
// #docregion
import { Directive, ElementRef } from '@angular/core';
// Highlight the host element in gold
@Directive({ selector: '[highlight]' })
export class HighlightDirective {
constructor(el: ElementRef) {
el.nativeElement.style.backgroundColor = 'gold';
// #enddocregion
console.log(`* AppRoot highlight called for ${el.nativeElement.tagName}`);
// #docregion
}
}
// #enddocregion

View File

@ -1,10 +0,0 @@
<!-- #docregion -->
<!-- #docregion v1 -->
<h1 highlight>{{title}}</h1>
<!-- #enddocregion v1 -->
<!-- #docregion ngIf -->
<p *ngIf="user">
<i>Welcome, {{user}}</i>
<p>
<!-- #enddocregion ngIf -->

View File

@ -1,23 +0,0 @@
// #docplaster
// #docregion
// #docregion v1
import { Component } from '@angular/core';
// #enddocregion v1
import { UserService } from './user.service';
// #docregion v1
@Component({
selector: 'app-title',
templateUrl: './title.component.1.html'
})
export class TitleComponent {
title = 'Angular Modules';
// #enddocregion v1
user = '';
constructor(userService: UserService) {
this.user = userService.userName;
}
// #docregion v1
}
// #enddocregion v1

View File

@ -1,20 +0,0 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true,
"typeRoots": [
"node_modules/@types"
]
},
"compileOnSave": true,
"angularCompilerOptions": {
"enableIvy": false
}
}