diff --git a/docs/api/router-link.md b/docs/api/router-link.md index 96b22e69af..e3f92013dd 100644 --- a/docs/api/router-link.md +++ b/docs/api/router-link.md @@ -1,10 +1,6 @@ --- title: "ion-router-link" -hide_table_of_contents: true -demoUrl: "/docs/demos/api/router-link/index.html" -demoSourceUrl: "https://github.com/ionic-team/ionic-docs/tree/main/static/demos/api/router-link/index.html" --- -import TOCInline from '@theme/TOCInline'; import Props from '@ionic-internal/component-api/v7/router-link/props.md'; import Events from '@ionic-internal/component-api/v7/router-link/events.md'; @@ -22,23 +18,13 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill'; -

Contents

- - - - - 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. :::note Note: this component should only be used with vanilla and Stencil JavaScript projects. For Angular projects, use an `` and `routerLink` with the Angular router. ::: - - +See the [Router](./router) documentation for more information. ## Properties diff --git a/versioned_docs/version-v6/api/router-link.md b/versioned_docs/version-v6/api/router-link.md index bcccd576c4..e3a563f1fd 100644 --- a/versioned_docs/version-v6/api/router-link.md +++ b/versioned_docs/version-v6/api/router-link.md @@ -1,12 +1,7 @@ --- title: 'ion-router-link' -hide_table_of_contents: true -demoUrl: '/docs/demos/api/router-link/index.html' -demoSourceUrl: 'https://github.com/ionic-team/ionic-docs/tree/main/static/demos/api/router-link/index.html' --- -import TOCInline from '@theme/TOCInline'; - import Props from '@ionic-internal/component-api/v6/router-link/props.md'; import Events from '@ionic-internal/component-api/v6/router-link/events.md'; import Methods from '@ionic-internal/component-api/v6/router-link/methods.md'; @@ -26,16 +21,14 @@ import EncapsulationPill from '@components/page/api/EncapsulationPill'; -

Contents

- - - 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. :::note Note: this component should only be used with vanilla and Stencil JavaScript projects. For Angular projects, use an `
` and `routerLink` with the Angular router. ::: +See the [Router](./router) documentation for more information. + ## Properties