Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 7eb418b

Browse files
neilshjelbourn
authored andcommitted
docs(select): fix broken doc links (#11781)
Links must be relative-path instead of absolute-path, otherwise 404's. Fixes #11780
1 parent 838ae34 commit 7eb418b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/select/select.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ angular.module('material.components.select', [
3333
* @module material.components.select
3434
*
3535
* @description Displays a select box, bound to an `ng-model`. Selectable options are defined using
36-
* the <a ng-href="/api/directive/mdOption">md-option</a> element directive. Options can be grouped
37-
* using the <a ng-href="/api/directive/mdOptgroup">md-optgroup</a> element directive.
36+
* the <a ng-href="api/directive/mdOption">md-option</a> element directive. Options can be grouped
37+
* using the <a ng-href="api/directive/mdOptgroup">md-optgroup</a> element directive.
3838
*
3939
* When the select is required and uses a floating label, then the label will automatically contain
4040
* an asterisk (`*`). This behavior can be disabled by using the `md-no-asterisk` attribute.
@@ -910,9 +910,9 @@ function SelectMenuDirective($parse, $mdUtil, $mdConstant, $mdTheming) {
910910
* @restrict E
911911
* @module material.components.select
912912
*
913-
* @description Displays an option in a <a ng-href="/api/directive/mdSelect">md-select</a> box's
913+
* @description Displays an option in a <a ng-href="api/directive/mdSelect">md-select</a> box's
914914
* dropdown menu. Options can be grouped using
915-
* <a ng-href="/api/directive/mdOptgroup">md-optgroup</a> element directives.
915+
* <a ng-href="api/directive/mdOptgroup">md-optgroup</a> element directives.
916916
*
917917
* ### Option Params
918918
*
@@ -950,7 +950,7 @@ function SelectMenuDirective($parse, $mdUtil, $mdConstant, $mdTheming) {
950950
* `ng-model` like `$scope.selectedValue = 1`. Use `ng-value="1"` in this case and other cases where
951951
* you have values that are not strings.
952952
*
953-
* **Note:** Please see our <a ng-href="/api/directive/mdSelect#selects-and-object-equality">docs on
953+
* **Note:** Please see our <a ng-href="api/directive/mdSelect#selects-and-object-equality">docs on
954954
* using objects with `md-select`</a> for additional guidance on using the `trackBy` option with
955955
* `ng-model-options`.
956956
*
@@ -1118,11 +1118,11 @@ function OptionDirective($mdButtonInkRipple, $mdUtil, $mdTheming) {
11181118
* @module material.components.select
11191119
*
11201120
* @description Displays a label separating groups of
1121-
* <a ng-href="/api/directive/mdOption">md-option</a> element directives in a
1122-
* <a ng-href="/api/directive/mdSelect">md-select</a> box's dropdown menu.
1121+
* <a ng-href="api/directive/mdOption">md-option</a> element directives in a
1122+
* <a ng-href="api/directive/mdSelect">md-select</a> box's dropdown menu.
11231123
*
11241124
* **Note:** When using `md-select-header` element directives within a `md-select`, the labels that
1125-
* would normally be added to the <a ng-href="/api/directive/mdOptgroup">md-optgroup</a> directives
1125+
* would normally be added to the <a ng-href="api/directive/mdOptgroup">md-optgroup</a> directives
11261126
* are omitted, allowing the `md-select-header` to represent the option group label
11271127
* (and possibly more).
11281128
*

0 commit comments

Comments
 (0)