Skip to content

Commit 2645cda

Browse files
committed
docs: fix broken links (#29105)
Fixes some broken links to the M2 guide. Fixes #29101. (cherry picked from commit f76f8a8)
1 parent e1fc186 commit 2645cda

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

guides/material-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ The following example demonstrates usage of the typography styles emitted by the
932932
#### Reading typography values from a config
933933

934934
It is possible to read typography properties from a theme for use in your own components. For more
935-
information about this see our section on [Theming your own components](https://material.angular.io/guide/material-2#theming-your-components),
935+
information about this see our section on [Theming your own components](https://material.angular.io/guide/material-2-theming#theming-your-components),
936936

937937
### Step-by-step example
938938

guides/theming-your-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ You can use Angular Material's Sass-based theming system for your own custom com
55
**Note: The information on this page is specific to Material 3, for Material 2
66
information on how to theme your components see the [Material 2 guide][material-2].**
77

8-
[material-2]: https://material.angular.io/guide/material-2#theming-your-components
8+
[material-2]: https://material.angular.io/guide/material-2-theming#theming-your-components
99

1010
## Reading values from a theme
1111

guides/theming.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ see [Angular Material Typography][mat-typography]. For guidance on building comp
1414
customizable with this system, see [Theming your own components][theme-your-own].
1515

1616
[material-design-theming]: https://m3.material.io/
17-
[material-2]: https://material.angular.io/guide/material-2
17+
[material-2]: https://material.angular.io/guide/material-2-theming
1818
[mat-typography]: https://material.angular.io/guide/typography
1919
[theme-your-own]: https://material.angular.io/guide/theming-your-components
2020

@@ -576,7 +576,7 @@ above can be applied to any checkbox _or_ any element that contains checkboxes,
576576
of all checkboxes within that element.
577577

578578
While you should prefer applying the mixins with color variants explicitly, if migrating from M2 to
579-
M3 you can alternatively use [the provided backwards compatibility mixins](https://material.angular.io/guide/material-2#how-to-migrate-an-app-from-material-2-to-material-3)
579+
M3 you can alternatively use [the provided backwards compatibility mixins](https://material.angular.io/guide/material-2-theming#how-to-migrate-an-app-from-material-2-to-material-3)
580580
that apply styles directly to the existing CSS classes (`mat-primary`, `mat-accent`, and
581581
`mat-warn`).
582582

0 commit comments

Comments
 (0)