Skip to content

Commit e4538e0

Browse files
atscottAndrewKushnir
authored andcommitted
refactor(docs-infra): Redirect old document title guide to new router feature (angular#45857)
The "set-document-title" guide was in place to direct developers to the `Title` service for managing page titles. Managing the title is now available in the `Router` package and is much easier. This change deletes the old guide and redirects it to the section in the router guide about setting the page title. PR Close angular#45857
1 parent 949927e commit e4538e0

14 files changed

Lines changed: 3 additions & 207 deletions

File tree

.pullapprove.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,6 @@ groups:
324324
'aio/content/examples/providers/**',
325325
'aio/content/images/guide/providers/**',
326326
'aio/content/guide/singleton-services.md',
327-
'aio/content/guide/set-document-title.md',
328-
'aio/content/examples/set-document-title/**',
329-
'aio/content/images/guide/set-document-title/**',
330327
'aio/content/guide/sharing-ngmodules.md',
331328
'aio/content/guide/structural-directives.md',
332329
'aio/content/examples/structural-directives/**',

aio/content/examples/set-document-title/e2e/src/app.e2e-spec.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

aio/content/examples/set-document-title/example-config.json

Whitespace-only changes.

aio/content/examples/set-document-title/src/app/app.component.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

aio/content/examples/set-document-title/src/app/app.module.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

aio/content/examples/set-document-title/src/index.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

aio/content/examples/set-document-title/src/main.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

aio/content/examples/set-document-title/stackblitz.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

aio/content/guide/example-apps-list.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ For more information, see [Launching your app with a root module](guide/bootstra
2727
Demonstrates the fundamental architecture of Angular applications.
2828
For more information, see [Introduction to Angular concepts](guide/architecture).
2929

30-
### Setting the document title
31-
32-
<live-example name="set-document-title"></live-example>
33-
34-
Demonstrates customizing the document title in the browser.
35-
For more information, see [Set the document title](guide/set-document-title).
36-
3730
## Tour of Heroes tutorial application
3831

3932
The Tour of Heroes is a comprehensive tutorial that guides you through the process of building an application with many of Angular's most popular features.

aio/content/guide/router.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ The one difference is that you place child routes in a `children` array within t
220220

221221
<code-example header="AppRoutingModule (excerpt)" path="router/src/app/app-routing.module.9.ts" region="child-routes"></code-example>
222222

223-
{@ setting-the-page-title}
223+
<a id="setting-the-page-title"></a>
224224

225225
## Setting the page title
226226

0 commit comments

Comments
 (0)