Skip to content

Commit fc6da8b

Browse files
committed
docs(aio): update headers for toc
1 parent 3b28c75 commit fc6da8b

35 files changed

Lines changed: 50 additions & 853 deletions

‎aio/content/guide/ajs-quick-reference.md‎

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
@title
2-
AngularJS to Angular Quick Reference
3-
4-
@intro
5-
Learn how AngularJS concepts and techniques map to Angular.
6-
7-
@description
1+
# AngularJS to Angular Quick Reference
82

93

104
{@a top}
@@ -19,21 +13,6 @@ by mapping AngularJS syntax to the equivalent Angular syntax.
1913

2014
**See the Angular syntax in this <live-example name="ajs-quick-reference"></live-example>**.
2115

22-
<!--
23-
## Contents
24-
25-
* [Template basics](guide/ajs-quick-reference#template-basics)&mdash;binding and local variables.
26-
27-
* [Template directives](guide/ajs-quick-reference#template-directives)&mdash;built-in directives `ngIf` and `ngClass`.
28-
29-
* [Filters/pipes](guide/ajs-quick-reference#filters-pipes)&mdash;built-in *filters*, known as *pipes* in Angular.
30-
31-
* [Modules/controllers/components](guide/ajs-quick-reference#controllers-components)&mdash;*modules* in Angular are slightly different from *modules* in AngularJS, and *controllers* are *components* in Angular.
32-
33-
* [Style sheets](guide/ajs-quick-reference#style-sheets)&mdash;more options for CSS than in AngularJS.
34-
-->
35-
36-
3716
## Template basics
3817
Templates are the user-facing part of an Angular application and are written in HTML.
3918
The following table lists some of the key AngularJS template features with their equivalent Angular template syntax.

‎aio/content/guide/animations.md‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,6 @@ add it to your page.
2222

2323
</div>
2424

25-
<!--
26-
# Contents
27-
28-
* [Example: Transitioning between two states](guide/animations#example-transitioning-between-states).
29-
* [States and transitions](guide/animations#states-and-transitions).
30-
* [Example: Entering and leaving](guide/animations#example-entering-and-leaving).
31-
* [Example: Entering and leaving from different states](guide/animations#example-entering-and-leaving-from-different-states).
32-
* [Animatable properties and units](guide/animations#animatable-properties-and-units).
33-
* [Automatic property calculation](guide/animations#automatic-property-calculation).
34-
* [Animation timing](guide/animations#animation-timing).
35-
* [Multi-step animations with keyframes](guide/animations#multi-step-animations-with-keyframes).
36-
* [Parallel animation groups](guide/animations#parallel-animation-groups).
37-
* [Animation callbacks](guide/animations#animation-callbacks).
38-
-->
39-
4025
<div class="l-sub-section">
4126

4227
The examples in this page are available as a <live-example></live-example>.

‎aio/content/guide/aot-compiler.md‎

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,8 @@
1-
@title
2-
Ahead-of-Time Compilation
3-
4-
@intro
5-
Learn how to use ahead-of-time compilation.
6-
7-
@description
1+
# Ahead-of-Time Compilation
82

93
This cookbook describes how to radically improve performance by compiling _ahead-of-time_ (AOT)
104
during a build process.
115

12-
{@a toc}
13-
<!--
14-
# Contents
15-
16-
* [Overview](guide/aot-compiler#overview)
17-
* [Ahead-of-time (AOT) vs just-in-time (JIT)](guide/aot-compiler#aot-jit)
18-
* [Why do AOT compilation?](guide/aot-compiler#why-aot)
19-
* [Compile with AOT](guide/aot-compiler#compile)
20-
* [Bootstrap](guide/aot-compiler#bootstrap)
21-
* [Tree shaking](guide/aot-compiler#tree-shaking)
22-
* [Rollup](guide/aot-compiler#rollup)
23-
* [Rollup Plugins](guide/aot-compiler#rollup-plugins)
24-
* [Run Rollup](guide/aot-compiler#run-rollup)
25-
* [Load the bundle](guide/aot-compiler#load)
26-
* [Serve the app](guide/aot-compiler#serve)
27-
* [AOT QuickStart source code](guide/aot-compiler#source-code)
28-
* [Workflow and convenience script](guide/aot-compiler#workflow)
29-
* [Develop JIT along with AOT](guide/aot-compiler#run-jit)
30-
* [Tour of Heroes](guide/aot-compiler#toh)
31-
* [JIT in development, AOT in production](guide/aot-compiler#jit-dev-aot-prod)
32-
* [Tree shaking](guide/aot-compiler#shaking)
33-
* [Running the application](guide/aot-compiler#running-app)
34-
* [Inspect the Bundle](guide/aot-compiler#inspect-bundle)
35-
36-
-->
37-
386
{@a overview}
397

408
## Overview

‎aio/content/guide/appmodule.md‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
@title
2-
AppModule: the root module
3-
4-
@intro
5-
Tell Angular how to construct and bootstrap the app in the root "AppModule".
6-
7-
@description
8-
1+
# AppModule: the root module
92

103
An Angular module class describes how the application parts fit together.
114
Every application has at least one Angular module, the _root_ module
@@ -193,4 +186,4 @@ As your app grows, you'll consider subdividing it into multiple "feature" module
193186
some of which can be loaded later ("lazy loaded") if and when the user chooses
194187
to visit those features.
195188

196-
When you're ready to explore these possibilities, visit the [Angular Modules (NgModule)](guide/ngmodule) guide.
189+
When you're ready to explore these possibilities, visit the [Angular Modules (NgModule)](guide/ngmodule) guide.

‎aio/content/guide/attribute-directives.md‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@
22

33
An **Attribute** directive changes the appearance or behavior of a DOM element.
44

5-
<!--
6-
# Contents
7-
8-
* [Directives overview](guide/attribute-directives#directive-overview)
9-
* [Build a simple attribute directive](guide/attribute-directives#write-directive)
10-
* [Apply the attribute directive to an element in a template](guide/attribute-directives#apply-directive)
11-
* [Respond to user-initiated events](guide/attribute-directives#respond-to-user)
12-
* [Pass values into the directive with an _@Input_ data binding](guide/attribute-directives#bindings)
13-
* [Bind to a second property](guide/attribute-directives#second-property)
14-
15-
-->
16-
175
Try the <live-example title="Attribute Directive example"></live-example>.
186

197
{@a directive-overview}
@@ -136,7 +124,7 @@ Now when the app runs, the `myHighlight` directive highlights the paragraph text
136124

137125
<div class="l-sub-section">
138126

139-
### Your directive isn't working?
127+
<h3 class="no-toc">Your directive isn't working?</h3>
140128

141129
Did you remember to add the directive to the `declarations` attribute of `@NgModule`?
142130
It is easy to forget!

‎aio/content/guide/browser-support.md‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
@title
2-
Browser support
3-
4-
@intro
5-
Browser support and polyfills guide.
6-
7-
@description
8-
9-
1+
# Browser support
102

113
Angular supports most recent browsers. This includes the following specific versions:
124

‎aio/content/guide/change-log.md‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
@title
2-
Change Log
3-
4-
@intro
5-
An annotated history of recent documentation improvements.
6-
7-
@description
1+
# Change Log
82

93

104

‎aio/content/guide/cheatsheet.md‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
@title
2-
Cheat Sheet
3-
4-
@description
1+
# Cheat Sheet
52

63
<div id="cheatsheet">
74
<table class="is-full-width is-fixed-layout">
@@ -387,4 +384,4 @@ so the <code>@Directive</code> configuration applies to components as well</p>
387384
</td>
388385
</tr>
389386
</tbody></table>
390-
</div>
387+
</div>

‎aio/content/guide/cli-quickstart.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
@title
2-
CLI QuickStart
3-
4-
@description
5-
1+
# CLI QuickStart
62

73
Good tools make application development quicker and easier to maintain than
84
if you did everything by hand.

‎aio/content/guide/component-interaction.md‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
@title
2-
Component Interaction
1+
# Component Interaction
32

4-
@intro
5-
Share information between different directives and components.
6-
7-
@description
83
{@a top}
94

105
This cookbook contains recipes for common component communication scenarios

0 commit comments

Comments
 (0)