Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/empty-geese-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

Fixes broken links in the documentation
4 changes: 2 additions & 2 deletions docs/content/ActionMenu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ render(
<PropsTablePassthroughPropsRow
elementName="Button"
isPolymorphic
passthroughPropsLink={<Link href="react/Button">Button docs</Link>}
passthroughPropsLink={<Link href="/react/Button">Button docs</Link>}
/>
</PropsTable>

Expand All @@ -346,7 +346,7 @@ render(
<PropsTableRow name="align" type="start | center | end" defaultValue="start" />
<PropsTablePassthroughPropsRow
elementName="Overlay"
passthroughPropsLink={<Link href="react/Overlay">Overlay docs</Link>}
passthroughPropsLink={<Link href="/react/Overlay">Overlay docs</Link>}
/>
</PropsTable>

Expand Down
6 changes: 3 additions & 3 deletions docs/content/AnchoredOverlay.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ See also [Overlay positioning](/Overlay#positioning).
name="overlayProps"
type={
<>
Partial&lt;<Link href="/Overlay#props">OverlayProps</Link>&gt;
Partial&lt;<Link href="/react/Overlay#props">OverlayProps</Link>&gt;
</>
}
description={
Expand All @@ -121,7 +121,7 @@ See also [Overlay positioning](/Overlay#positioning).
name="focusTrapSettings"
type={
<>
Partial&lt;<Link href="/focusTrap#focustraphooksettings-interface">FocusTrapHookSettings</Link>&gt;
Partial&lt;<Link href="/react/focusTrap#focustraphooksettings-interface">FocusTrapHookSettings</Link>&gt;
</>
}
description={
Expand All @@ -134,7 +134,7 @@ See also [Overlay positioning](/Overlay#positioning).
name="focusZoneSettings"
type={
<>
Partial&lt;<Link href="/focusZone#focuszonehooksettings-interface">FocusZoneHookSettings</Link>&gt;
Partial&lt;<Link href="/react/focusZone#focuszonehooksettings-interface">FocusZoneHookSettings</Link>&gt;
</>
}
description={
Expand Down
2 changes: 1 addition & 1 deletion docs/content/Autocomplete.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ render(<MultiSelectAddNewItem />)
isPolymorphic
passthroughPropsLink={
<>
the <Link href="/TextInput">TextInput docs</Link>
the <Link href="/react/TextInput">TextInput docs</Link>
</>
}
/>
Expand Down