Skip to content

Commit 839cd8e

Browse files
Docs: fix aliases/redirections of main sections (#42387)
1 parent 21e6520 commit 839cd8e

9 files changed

Lines changed: 32 additions & 8 deletions

File tree

site/src/content/docs/components/accordion.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
---
22
title: Accordion
33
description: Build vertically collapsing accordions with native HTML `<details>` and `<summary>` elements.
4-
aliases:
5-
- "/components/"
6-
- "/docs/[[config:docs_version]]/components/"
74
toc: true
85
css_layer: components
96
---

site/src/content/docs/components/buttons.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
title: Buttons
33
description: Use Bootstrap’s custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
4+
aliases:
5+
- "/docs/[[config:docs_version]]/components/"
6+
- "/docs/components/"
7+
- "/components/"
48
toc: true
59
css_layer: components
610
---

site/src/content/docs/content/reboot.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
title: Reboot
33
description: Reboot, a collection of element-specific CSS changes in a single file, kickstart Bootstrap to provide an elegant, consistent, and simple baseline to build upon.
4-
aliases: "/docs/[[config:docs_version]]/content/"
4+
aliases:
5+
- "/docs/[[config:docs_version]]/content/"
6+
- "/docs/content/"
7+
- "/content/"
58
toc: true
69
css_layer: reboot
710
---

site/src/content/docs/customize/overview.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: Customize
33
description: Learn how Bootstrap's colors power our design system theme. Customize and extend Bootstrap with Sass, a boatload of global options, and plenty of global and component-specific CSS variables.
44
toc: false
5-
aliases: "/docs/[[config:docs_version]]/customize/"
5+
aliases:
6+
- "/docs/[[config:docs_version]]/customize/"
7+
- "/docs/customize/"
8+
- "/customize/"
69
sections:
710
- title: Sass
811
description: Utilize our source Sass files to take advantage of variables, maps, mixins, and functions.

site/src/content/docs/forms/overview.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: Forms
33
description: Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms.
44
toc: true
5-
aliases: "/docs/[[config:docs_version]]/forms/"
5+
aliases:
6+
- "/docs/[[config:docs_version]]/forms/"
7+
- "/docs/forms/"
8+
- "/forms/"
69
sections:
710
- title: Form control
811
description: Style textual inputs and textareas with support for multiple states.

site/src/content/docs/guides/quickstart.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
title: CDN Quickstart
33
description: The official guide for how to include Bootstrap’s CSS and JavaScript in your project using a CDN.
4+
aliases:
5+
- "/docs/[[config:docs_version]]/guides/"
6+
- "/docs/guides/"
7+
- "/guides/"
48
---
59

610
Get started using Bootstrap in seconds by including our production-ready CSS and JavaScript by [using a CDN]([[docsref:/getting-started/install#cdn]]) without the need for any build steps. CDNs provide copies of Bootstrap’s codebase that’s ready to be used in any environment with minimal code changes required on your part.

site/src/content/docs/helpers/focus-ring.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
title: Focus ring
33
description: Utility classes that allows you to add and modify custom focus ring styles to elements and components.
4+
aliases:
5+
- "/docs/[[config:docs_version]]/helpers/"
6+
- "/docs/helpers/"
7+
- "/helpers/"
48
toc: true
59
---
610

site/src/content/docs/layout/breakpoints.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
title: Breakpoints
33
description: Breakpoints are customizable widths that determine how your responsive layout behaves across device or viewport sizes in Bootstrap.
4-
aliases: "/docs/[[config:docs_version]]/layout/"
4+
aliases:
5+
- "/docs/[[config:docs_version]]/layout/"
6+
- "/docs/layout/"
7+
- "/layout/"
58
toc: true
69
---
710

site/src/content/docs/utilities/api.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
---
22
title: Utility API
33
description: The utility API is a Sass-based tool to generate utility classes.
4-
aliases: "/docs/[[config:docs_version]]/utilities/"
4+
aliases:
5+
- "/docs/[[config:docs_version]]/utilities/"
6+
- "/docs/utilities/"
7+
- "/utilities/"
58
toc: true
69
---
710

0 commit comments

Comments
 (0)