Skip to content

Commit 5b2128b

Browse files
committed
docs(quickstart): update links to include md extension
1 parent 329a1d5 commit 5b2128b

File tree

9 files changed

+62
-62
lines changed

9 files changed

+62
-62
lines changed

docs/angular/quickstart.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ And the template, in the `home.page.html` file, uses those components:
172172
</ion-content>
173173
```
174174

175-
This creates a page with a header and scrollable content area. The second header shows a [collapsible large title](/docs/api/title#collapsible-large-titles) that displays when at the top of the content, then condenses to show the smaller title in the first header when scrolling down.
175+
This creates a page with a header and scrollable content area. The second header shows a [collapsible large title](/docs/api/title.md#collapsible-large-titles) that displays when at the top of the content, then condenses to show the smaller title in the first header when scrolling down.
176176

177177
:::tip Learn More
178-
For detailed information about Ionic layout components, see the [Header](/docs/api/header), [Toolbar](/docs/api/toolbar), [Title](/docs/api/title), and [Content](/docs/api/content) documentation.
178+
For detailed information about Ionic layout components, see the [Header](/docs/api/header.md), [Toolbar](/docs/api/toolbar.md), [Title](/docs/api/title.md), and [Content](/docs/api/content.md) documentation.
179179
:::
180180

181181
## Add an Ionic Component
182182

183-
You can enhance your Home page with more Ionic UI components. For example, add a [Button](/docs/api/button) at the end of the `ion-content`:
183+
You can enhance your Home page with more Ionic UI components. For example, add a [Button](/docs/api/button.md) at the end of the `ion-content`:
184184

185185
```html title="src/app/home/home.page.html"
186186
<ion-content>
@@ -211,7 +211,7 @@ ionic generate page new
211211

212212
A route will be automatically added to `app.routes.ts`.
213213

214-
In `new.page.html`, you can add a [Back Button](/docs/api/back-button) to the [Toolbar](/docs/api/toolbar):
214+
In `new.page.html`, you can add a [Back Button](/docs/api/back-button.md) to the [Toolbar](/docs/api/toolbar.md):
215215

216216
```html title="src/app/new/new.page.html"
217217
<ion-header [translucent]="true">
@@ -257,7 +257,7 @@ import { RouterLink } from '@angular/router';
257257
```
258258

259259
:::info
260-
Navigating can also be performed using Angular's Router service. See the [Angular Navigation documentation](/docs/angular/navigation#navigating-to-different-routes) for more information.
260+
Navigating can also be performed using Angular's Router service. See the [Angular Navigation documentation](/docs/angular/navigation.md#navigating-to-different-routes) for more information.
261261
:::
262262

263263
## Add Icons to the New Page
@@ -301,7 +301,7 @@ export class NewPage implements OnInit {
301301

302302
Alternatively, you can register icons in `app.component.ts` to use them throughout your app.
303303

304-
For more information, see the [Icon documentation](/docs/api/icon) and the [Ionicons documentation](https://ionic.io/ionicons/).
304+
For more information, see the [Icon documentation](/docs/api/icon.md) and the [Ionicons documentation](https://ionic.io/ionicons/).
305305

306306
## Call Component Methods
307307

@@ -387,7 +387,7 @@ To call methods on Ionic components:
387387
1. Create a `ViewChild` reference for the component
388388
2. Call the method directly on the component instance
389389

390-
You can find available methods for each component in the [Methods](/docs/api/content#methods) section of their API documentation.
390+
You can find available methods for each component in the [Methods](/docs/api/content.md#methods) section of their API documentation.
391391

392392
## Run on a Device
393393

docs/javascript/quickstart.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ customElements.define('home-page', HomePage);
227227
This creates a custom element called `home-page` that contains the layout for your Home page. The page uses Ionic's layout components to create a header with a toolbar and scrollable content area.
228228

229229
:::tip Learn More
230-
For detailed information about Ionic layout components, see the [Header](/docs/api/header), [Toolbar](/docs/api/toolbar), [Title](/docs/api/title), and [Content](/docs/api/content) documentation.
230+
For detailed information about Ionic layout components, see the [Header](/docs/api/header.md), [Toolbar](/docs/api/toolbar.md), [Title](/docs/api/title.md), and [Content](/docs/api/content.md) documentation.
231231
:::
232232

233233
Next, add a `<script>` tag before the `main.js` import in `index.html` to import the Home page:
@@ -246,7 +246,7 @@ At this point your browser should be displaying the Home page.
246246

247247
## Add an Ionic Component
248248

249-
You can enhance your Home page with more Ionic UI components. For example, add a [Button](/docs/api/button) to navigate to another page. Update the `HomePage` component in `HomePage.js`:
249+
You can enhance your Home page with more Ionic UI components. For example, add a [Button](/docs/api/button.md) to navigate to another page. Update the `HomePage` component in `HomePage.js`:
250250

251251
```js title="src/pages/HomePage.js"
252252
class HomePage extends HTMLElement {
@@ -301,7 +301,7 @@ class NewPage extends HTMLElement {
301301
customElements.define('new-page', NewPage);
302302
```
303303

304-
This creates a page with a [Back Button](/docs/api/back-button) in the [Toolbar](/docs/api/toolbar). The back button will automatically handle navigation back to the previous page, or to `/` if there is no history.
304+
This creates a page with a [Back Button](/docs/api/back-button.md) in the [Toolbar](/docs/api/toolbar.md). The back button will automatically handle navigation back to the previous page, or to `/` if there is no history.
305305

306306
Next, update the `<script>` tag which imports the Home page in the `index.html` file to also import the New page:
307307

@@ -325,7 +325,7 @@ To navigate to the new page, update the button in `HomePage.js` to be inside of
325325
When the button is clicked, Ionic's router will automatically navigate to the `/new` route and display the `new-page` component.
326326

327327
:::info
328-
Navigating can also be performed programmatically using `document.querySelector('ion-router').push('/new')`. See the [Ionic Router documentation](/docs/api/router) for more information.
328+
Navigating can also be performed programmatically using `document.querySelector('ion-router').push('/new')`. See the [Ionic Router documentation](/docs/api/router.md) for more information.
329329
:::
330330

331331
## Add Icons to the New Page
@@ -373,7 +373,7 @@ class NewPage extends HTMLElement {
373373
customElements.define('new-page', NewPage);
374374
```
375375

376-
For more information, see the [Icon documentation](/docs/api/icon) and the [Ionicons documentation](https://ionic.io/ionicons/).
376+
For more information, see the [Icon documentation](/docs/api/icon.md) and the [Ionicons documentation](https://ionic.io/ionicons/).
377377

378378
## Call Component Methods
379379

@@ -442,7 +442,7 @@ To call methods on Ionic components:
442442
1. Get a reference to the component element using `querySelector`
443443
2. Call the method directly on the element
444444

445-
You can find available methods for each component in the [Methods](/docs/api/content#methods) section of their API documentation.
445+
You can find available methods for each component in the [Methods](/docs/api/content.md#methods) section of their API documentation.
446446

447447
## Run on a Device
448448

docs/react/quickstart.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ const Home: React.FC = () => {
156156
export default Home;
157157
```
158158

159-
This creates a page with a header and scrollable content area. The `IonPage` component provides the basic page structure and must be used on every page. The second header shows a [collapsible large title](/docs/api/title#collapsible-large-titles) that displays when at the top of the content, then condenses to show the smaller title in the first header when scrolling down.
159+
This creates a page with a header and scrollable content area. The `IonPage` component provides the basic page structure and must be used on every page. The second header shows a [collapsible large title](/docs/api/title.md#collapsible-large-titles) that displays when at the top of the content, then condenses to show the smaller title in the first header when scrolling down.
160160

161161
:::tip Learn More
162-
For detailed information about Ionic layout components, see the [Header](/docs/api/header), [Toolbar](/docs/api/toolbar), [Title](/docs/api/title), and [Content](/docs/api/content) documentation.
162+
For detailed information about Ionic layout components, see the [Header](/docs/api/header.md), [Toolbar](/docs/api/toolbar.md), [Title](/docs/api/title.md), and [Content](/docs/api/content.md) documentation.
163163
:::
164164

165165
## Add an Ionic Component
166166

167-
You can enhance your Home page with more Ionic UI components. For example, import and add a [Button](/docs/api/button) at the end of the `IonContent` in `Home.tsx`:
167+
You can enhance your Home page with more Ionic UI components. For example, import and add a [Button](/docs/api/button.md) at the end of the `IonContent` in `Home.tsx`:
168168

169169
```tsx title="src/pages/Home.tsx"
170170
import { IonButton, IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/react';
@@ -222,7 +222,7 @@ const New: React.FC = () => {
222222
export default New;
223223
```
224224

225-
This creates a page with a [Back Button](/docs/api/back-button) in the [Toolbar](/docs/api/toolbar). The back button will automatically handle navigation back to the previous page, or to `/` if there is no history.
225+
This creates a page with a [Back Button](/docs/api/back-button.md) in the [Toolbar](/docs/api/toolbar.md). The back button will automatically handle navigation back to the previous page, or to `/` if there is no history.
226226

227227
:::warning
228228
When creating your own pages, always use `IonPage` as the root component. This is essential for proper transitions between pages, base CSS styling that Ionic components depend on, and consistent layout behavior across your app.
@@ -259,7 +259,7 @@ Once that is done, update the button in `Home.tsx`:
259259
```
260260

261261
:::info
262-
Navigating can also be performed programmatically using React Router's `history` prop. See the [React Navigation documentation](/docs/react/navigation#navigating-using-history) for more information.
262+
Navigating can also be performed programmatically using React Router's `history` prop. See the [React Navigation documentation](/docs/react/navigation.md#navigating-using-history) for more information.
263263
:::
264264

265265
## Add Icons to the New Page
@@ -282,7 +282,7 @@ Then, include them inside of the `IonContent`:
282282

283283
Note that we are passing the imported SVG reference, **not** the icon name as a string.
284284

285-
For more information, see the [Icon documentation](/docs/api/icon) and the [Ionicons documentation](https://ionic.io/ionicons/).
285+
For more information, see the [Icon documentation](/docs/api/icon.md) and the [Ionicons documentation](https://ionic.io/ionicons/).
286286

287287
## Call Component Methods
288288

@@ -335,7 +335,7 @@ To call methods on Ionic components:
335335

336336
This pattern is necessary because React refs store the component instance in the `.current` property.
337337

338-
You can find available methods for each component in the [Methods](/docs/api/content#methods) section of their API documentation.
338+
You can find available methods for each component in the [Methods](/docs/api/content.md#methods) section of their API documentation.
339339

340340
## Run on a Device
341341

docs/vue/quickstart.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,15 @@ import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/vue
160160
<!-- ...styles... -->
161161
```
162162

163-
This creates a page with a header and scrollable content area. The second header shows a [collapsible large title](/docs/api/title#collapsible-large-titles) that displays when at the top of the content, then condenses to show the smaller title in the first header when scrolling down.
163+
This creates a page with a header and scrollable content area. The second header shows a [collapsible large title](/docs/api/title.md#collapsible-large-titles) that displays when at the top of the content, then condenses to show the smaller title in the first header when scrolling down.
164164

165165
:::tip Learn More
166-
For detailed information about Ionic layout components, see the [Header](/docs/api/header), [Toolbar](/docs/api/toolbar), [Title](/docs/api/title), and [Content](/docs/api/content) documentation.
166+
For detailed information about Ionic layout components, see the [Header](/docs/api/header.md), [Toolbar](/docs/api/toolbar.md), [Title](/docs/api/title.md), and [Content](/docs/api/content.md) documentation.
167167
:::
168168

169169
## Add an Ionic Component
170170

171-
You can enhance your Home page with more Ionic UI components. For example, add a [Button](/docs/api/button) at the end of the `ion-content`:
171+
You can enhance your Home page with more Ionic UI components. For example, add a [Button](/docs/api/button.md) at the end of the `ion-content`:
172172

173173
```vue title="src/views/HomePage.vue"
174174
<ion-content>
@@ -217,7 +217,7 @@ import { IonBackButton, IonButtons, IonContent, IonHeader, IonPage, IonTitle, Io
217217
</script>
218218
```
219219

220-
This creates a page with a [Back Button](/docs/api/back-button) in the [Toolbar](/docs/api/toolbar). The back button will automatically handle navigation back to the previous page, or to `/` if there is no history.
220+
This creates a page with a [Back Button](/docs/api/back-button.md) in the [Toolbar](/docs/api/toolbar.md). The back button will automatically handle navigation back to the previous page, or to `/` if there is no history.
221221

222222
:::warning
223223
When creating your own pages, always use `ion-page` as the root component. This is essential for proper transitions between pages, base CSS styling that Ionic components depend on, and consistent layout behavior across your app.
@@ -259,7 +259,7 @@ Once that is done, update the button in `HomePage.vue`:
259259
```
260260

261261
:::info
262-
Navigating can also be performed programmatically using Vue Router, and routes can be lazy loaded for better performance. See the [Vue Navigation documentation](/docs/vue/navigation) for more information.
262+
Navigating can also be performed programmatically using Vue Router, and routes can be lazy loaded for better performance. See the [Vue Navigation documentation](/docs/vue/navigation.md) for more information.
263263
:::
264264

265265
## Add Icons to the New Page
@@ -284,7 +284,7 @@ Then, include them inside of the `ion-content`:
284284

285285
Note that we are passing the imported SVG reference, **not** the icon name as a string.
286286

287-
For more information, see the [Icon documentation](/docs/api/icon) and the [Ionicons documentation](https://ionic.io/ionicons/).
287+
For more information, see the [Icon documentation](/docs/api/icon.md) and the [Ionicons documentation](https://ionic.io/ionicons/).
288288

289289
## Call Component Methods
290290

@@ -339,7 +339,7 @@ To call methods on Ionic components:
339339

340340
This pattern is necessary because Ionic components are built as Web Components. The `$el` property gives you access to the actual Web Component instance where the methods are defined.
341341

342-
You can find available methods for each component in the [Methods](/docs/api/content#methods) section of their API documentation.
342+
You can find available methods for each component in the [Methods](/docs/api/content.md#methods) section of their API documentation.
343343

344344
## Run on a Device
345345

versioned_docs/version-v6/react/quickstart.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ const Home: React.FC = () => {
156156
export default Home;
157157
```
158158

159-
This creates a page with a header and scrollable content area. The `IonPage` component provides the basic page structure and must be used on every page. The second header shows a [collapsible large title](/docs/api/title#collapsible-large-titles) that displays when at the top of the content, then condenses to show the smaller title in the first header when scrolling down.
159+
This creates a page with a header and scrollable content area. The `IonPage` component provides the basic page structure and must be used on every page. The second header shows a [collapsible large title](/docs/api/title.md#collapsible-large-titles) that displays when at the top of the content, then condenses to show the smaller title in the first header when scrolling down.
160160

161161
:::tip Learn More
162-
For detailed information about Ionic layout components, see the [Header](/docs/api/header), [Toolbar](/docs/api/toolbar), [Title](/docs/api/title), and [Content](/docs/api/content) documentation.
162+
For detailed information about Ionic layout components, see the [Header](/docs/api/header.md), [Toolbar](/docs/api/toolbar.md), [Title](/docs/api/title.md), and [Content](/docs/api/content.md) documentation.
163163
:::
164164

165165
## Add an Ionic Component
166166

167-
You can enhance your Home page with more Ionic UI components. For example, import and add a [Button](/docs/api/button) at the end of the `IonContent` in `Home.tsx`:
167+
You can enhance your Home page with more Ionic UI components. For example, import and add a [Button](/docs/api/button.md) at the end of the `IonContent` in `Home.tsx`:
168168

169169
```tsx title="src/pages/Home.tsx"
170170
import { IonButton, IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/react';
@@ -222,7 +222,7 @@ const New: React.FC = () => {
222222
export default New;
223223
```
224224

225-
This creates a page with a [Back Button](/docs/api/back-button) in the [Toolbar](/docs/api/toolbar). The back button will automatically handle navigation back to the previous page, or to `/` if there is no history.
225+
This creates a page with a [Back Button](/docs/api/back-button.md) in the [Toolbar](/docs/api/toolbar.md). The back button will automatically handle navigation back to the previous page, or to `/` if there is no history.
226226

227227
:::warning
228228
When creating your own pages, always use `IonPage` as the root component. This is essential for proper transitions between pages, base CSS styling that Ionic components depend on, and consistent layout behavior across your app.
@@ -259,7 +259,7 @@ Once that is done, update the button in `Home.tsx`:
259259
```
260260

261261
:::info
262-
Navigating can also be performed programmatically using React Router's `history` prop. See the [React Navigation documentation](/docs/react/navigation#navigating-using-history) for more information.
262+
Navigating can also be performed programmatically using React Router's `history` prop. See the [React Navigation documentation](/docs/react/navigation.md#navigating-using-history) for more information.
263263
:::
264264

265265
## Add Icons to the New Page
@@ -282,7 +282,7 @@ Then, include them inside of the `IonContent`:
282282

283283
Note that we are passing the imported SVG reference, **not** the icon name as a string.
284284

285-
For more information, see the [Icon documentation](/docs/api/icon) and the [Ionicons documentation](https://ionic.io/ionicons/).
285+
For more information, see the [Icon documentation](/docs/api/icon.md) and the [Ionicons documentation](https://ionic.io/ionicons/).
286286

287287
## Call Component Methods
288288

@@ -335,7 +335,7 @@ To call methods on Ionic components:
335335

336336
This pattern is necessary because React refs store the component instance in the `.current` property.
337337

338-
You can find available methods for each component in the [Methods](/docs/api/content#methods) section of their API documentation.
338+
You can find available methods for each component in the [Methods](/docs/api/content.md#methods) section of their API documentation.
339339

340340
## Run on a Device
341341

0 commit comments

Comments
 (0)