Skip to content

Commit 6351423

Browse files
authored
docs(router-link): removal of phone demo on v6 and v7 (#2899)
1 parent f7a7d12 commit 6351423

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

Diff for: docs/api/router-link.md

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
---
22
title: "ion-router-link"
3-
hide_table_of_contents: true
4-
demoUrl: "/docs/demos/api/router-link/index.html"
5-
demoSourceUrl: "https://github.com/ionic-team/ionic-docs/tree/main/static/demos/api/router-link/index.html"
63
---
7-
import TOCInline from '@theme/TOCInline';
84

95
import Props from '@ionic-internal/component-api/v7/router-link/props.md';
106
import Events from '@ionic-internal/component-api/v7/router-link/events.md';
@@ -22,23 +18,13 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill';
2218

2319
<EncapsulationPill type="shadow" />
2420

25-
<h2 className="table-of-contents__title">Contents</h2>
26-
27-
<TOCInline
28-
toc={toc}
29-
maxHeadingLevel={2}
30-
/>
31-
32-
33-
3421
The router link component is used for navigating to a specified link. Similar to the browser's anchor tag, it can accept a href for the location, and a direction for the transition animation.
3522

3623
:::note
3724
Note: this component should only be used with vanilla and Stencil JavaScript projects. For Angular projects, use an `<a>` and `routerLink` with the Angular router.
3825
:::
3926

40-
41-
27+
See the [Router](./router) documentation for more information.
4228

4329
## Properties
4430
<Props />

Diff for: versioned_docs/version-v6/api/router-link.md

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
---
22
title: 'ion-router-link'
3-
hide_table_of_contents: true
4-
demoUrl: '/docs/demos/api/router-link/index.html'
5-
demoSourceUrl: 'https://github.com/ionic-team/ionic-docs/tree/main/static/demos/api/router-link/index.html'
63
---
74

8-
import TOCInline from '@theme/TOCInline';
9-
105
import Props from '@ionic-internal/component-api/v6/router-link/props.md';
116
import Events from '@ionic-internal/component-api/v6/router-link/events.md';
127
import Methods from '@ionic-internal/component-api/v6/router-link/methods.md';
@@ -26,16 +21,14 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill';
2621

2722
<EncapsulationPill type="shadow" />
2823

29-
<h2 className="table-of-contents__title">Contents</h2>
30-
31-
<TOCInline toc={toc} maxHeadingLevel={2} />
32-
3324
The router link component is used for navigating to a specified link. Similar to the browser's anchor tag, it can accept a href for the location, and a direction for the transition animation.
3425

3526
:::note
3627
Note: this component should only be used with vanilla and Stencil JavaScript projects. For Angular projects, use an `<a>` and `routerLink` with the Angular router.
3728
:::
3829

30+
See the [Router](./router) documentation for more information.
31+
3932
## Properties
4033

4134
<Props />

0 commit comments

Comments
 (0)