Skip to content

Commit

Permalink
Add component ids to component pages (#1744)
Browse files Browse the repository at this point in the history
* Add component ids to component pages

* Update docs/content/StateLabel.md
  • Loading branch information
colebemis authored Dec 16, 2021
1 parent 8157478 commit 18d3810
Show file tree
Hide file tree
Showing 49 changed files with 49 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/content/AnchoredOverlay.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: anchored_overlay
title: AnchoredOverlay
status: Alpha
source: https://github.com/primer/react/blob/main/src/AnchoredOverlay/AnchoredOverlay.tsx
Expand Down
1 change: 1 addition & 0 deletions docs/content/Autocomplete.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: autocomplete
title: Autocomplete
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/AvatarPair.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: avatar_pair
title: AvatarPair
status: Alpha
source: https://github.com/primer/react/blob/main/src/AvatarPair.tsx
Expand Down
1 change: 1 addition & 0 deletions docs/content/AvatarStack.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: avatar_stack
title: AvatarStack
status: Alpha
description: Use an avatar stack to display two or more avatars in an inline stack.
Expand Down
1 change: 1 addition & 0 deletions docs/content/Box.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: box
title: Box
status: Beta
description: A low-level utility component that accepts styled system props to enable custom theme-aware styling
Expand Down
1 change: 1 addition & 0 deletions docs/content/BranchName.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: branch_name
title: BranchName
status: Alpha
source: https://github.com/primer/react/blob/main/src/BranchName.tsx
Expand Down
1 change: 1 addition & 0 deletions docs/content/Breadcrumbs.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: breadcrumbs
title: Breadcrumbs
status: Alpha
description: Use breadcrumbs to show navigational context on pages that are many levels deep in a site’s hierarchy. Breadcrumbs show and link to parent, grandparent, and sometimes great-grandparent pages.
Expand Down
1 change: 1 addition & 0 deletions docs/content/Buttons.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: button
title: Button
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Checkbox.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: checkbox
title: Checkbox
description: Use checkboxes to toggle between checked and unchecked states in a list or as a standalone form field
status: Alpha
Expand Down
1 change: 1 addition & 0 deletions docs/content/CircleBadge.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: circle_badge
title: CircleBadge
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/CircleOcticon.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: circle_octicon
title: CircleOcticon
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/CounterLabel.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: counter_label
title: CounterLabel
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Details.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: details
title: Details
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/DropdownMenu.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: dropdown_menu
title: DropdownMenu
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/FilterList.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: filter_list
title: FilterList
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/FilteredSearch.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: filtered_search
title: FilteredSearch
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Flash.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: flash
title: Flash
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/FormGroup.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: form_group
title: FormGroup
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Header.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: header
title: Header
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Heading.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: heading
title: Heading
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Label.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: label
title: Label
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/LabelGroup.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: label_group
title: LabelGroup
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Link.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: link
title: Link
status: Alpha
source: https://github.com/primer/react/blob/main/src/Link.tsx
Expand Down
1 change: 1 addition & 0 deletions docs/content/Overlay.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: overlay
title: Overlay
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Pagehead.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: pagehead
title: Pagehead
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Pagination.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
compnoentId: pagination
title: Pagination
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/PointerBox.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: pointer_box
title: PointerBox
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Popover.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: popover
title: Popover
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Portal.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: portal
title: Portal
status: Alpha
---
Expand Down
2 changes: 1 addition & 1 deletion docs/content/ProgressBar.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: ProgressBar
componentId: progress_bar
title: ProgressBar
status: Alpha
source: https://github.com/primer/react/blob/main/src/ProgressBar.tsx
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Radio.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: radio
title: Radio
description: Use radios when a user needs to select one option from a list
status: Alpha
Expand Down
1 change: 1 addition & 0 deletions docs/content/SelectPanel.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: select_panel
title: SelectPanel
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/SideNav.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: side_nav
title: SideNav
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/StateLabel.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: state_label
title: StateLabel
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/StyledOcticon.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: styled_octicon
title: StyledOcticon
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/SubNav.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: sub_nav
title: SubNav
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/TabNav.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: tab_nav
title: TabNav
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Text.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: text
title: Text
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/TextInput.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: text_input
title: TextInput
status: Alpha
source: https://github.com/primer/react/blob/main/src/TextInput.tsx
Expand Down
1 change: 1 addition & 0 deletions docs/content/TextInputWithTokens.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: text_input_with_tokens
title: TextInputWithTokens
status: Alpha
source: https://github.com/primer/react/tree/main/src/TextInputWithTokens.tsx
Expand Down
1 change: 1 addition & 0 deletions docs/content/Timeline.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: timeline
title: Timeline
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Token.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: token
title: Token
status: Alpha
source: https://github.com/primer/react/tree/main/src/Token
Expand Down
1 change: 1 addition & 0 deletions docs/content/Tooltip.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: tooltip
title: Tooltip
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/Truncate.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: truncate
title: Truncate
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/UnderlineNav.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: underline_nav
title: UnderlineNav
status: Alpha
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/deprecated/BorderBox.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: border_box
title: BorderBox
status: Deprecated
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/deprecated/Flex.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: flex
title: Flex
status: Deprecated
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/deprecated/Grid.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: grid
title: Grid
status: Deprecated
---
Expand Down
1 change: 1 addition & 0 deletions docs/content/deprecated/Position.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
componentId: position
title: Position
status: Deprecated
---
Expand Down

0 comments on commit 18d3810

Please sign in to comment.