From feb07fae52a36575aba1e22cc430a51615dbaee9 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Thu, 10 Jan 2019 00:06:26 -0800 Subject: [PATCH] fix a ton of links --- modules/primer-avatars/README.md | 8 +++--- modules/primer-box/README.md | 10 +++---- modules/primer-buttons/README.md | 2 +- modules/primer-forms/README.md | 2 +- modules/primer-labels/README.md | 4 +-- modules/primer-layout/docs/grid.md | 28 +++++++++---------- modules/primer-marketing-support/README.md | 2 +- .../docs/borders.md | 2 +- .../primer-marketing-utilities/docs/layout.md | 2 +- .../primer-marketing-utilities/docs/margin.md | 4 +-- .../docs/padding.md | 4 +-- modules/primer-support/README.md | 9 +++--- modules/primer-support/docs/breakpoints.md | 2 +- modules/primer-support/docs/spacing.md | 4 +-- modules/primer-support/docs/typography.md | 6 ++-- modules/primer-utilities/docs/flexbox.md | 6 ++-- modules/primer-utilities/docs/layout.md | 8 +++--- modules/primer-utilities/docs/margin.md | 4 +-- modules/primer-utilities/docs/padding.md | 6 ++-- 19 files changed, 57 insertions(+), 56 deletions(-) diff --git a/modules/primer-avatars/README.md b/modules/primer-avatars/README.md index e9d5e275..c3e28faa 100644 --- a/modules/primer-avatars/README.md +++ b/modules/primer-avatars/README.md @@ -52,7 +52,7 @@ Add `.avatar` to any `` element to make it an avatar. This resets some key Be sure to set `width` and `height` attributes for maximum browser performance. ```html -jonrohan +jonrohan ``` ### Small avatars @@ -60,7 +60,7 @@ Be sure to set `width` and `height` attributes for maximum browser performance. We occasionally use smaller avatars. Anything less than `48px` wide should include the `.avatar-small` modifier class to reset the `border-radius` to a more appropriate level. ```html -jonrohan +jonrohan ``` ### Parent-child avatars @@ -69,8 +69,8 @@ When you need a larger parent avatar, and a smaller child one, overlaid slightly ```html
- jonrohan - josh + jonrohan + josh
``` diff --git a/modules/primer-box/README.md b/modules/primer-box/README.md index 16f1d467..43be19af 100644 --- a/modules/primer-box/README.md +++ b/modules/primer-box/README.md @@ -260,7 +260,7 @@ Use `Box--danger` to apply a red border to the outside of the box. This theme is ``` -`Box-danger` is often paired with a red heading. See the [subhead](../subhead) docs for more information. +`Box-danger` is often paired with a red heading. See the [subhead](./subhead) docs for more information. ```html
@@ -357,7 +357,7 @@ Use the `border-dashed` utility to apply a dashed border to a box. ## Boxes with flash alerts Use `flash-full` for flash alert inside a box to remove the rounded corners. Place the flash alert above the `Box-body` and underneath the `Box-header`. -Flash alerts come in three different colors and can be used with icons and buttons, see the [alert documentation](../alerts) for more information. +Flash alerts come in three different colors and can be used with icons and buttons, see the [alert documentation](./alerts) for more information. ```html
@@ -456,7 +456,7 @@ Use `Counter--gray-dark` for a counter with a dark gray background and white tex ## Form elements and buttons in boxes To achieve different layouts when adding buttons or form elements to boxes we suggest you use utilities to achieve the layout you want. Here's some common examples: -Use [flexbox utilities](../../utilities/flexbox) to center align items, and avoid using floats by using `flex-auto` to have the text fill the remaining space so that the button rests on the far right. +Use [flexbox utilities](/css/utilities/flexbox) to center align items, and avoid using floats by using `flex-auto` to have the text fill the remaining space so that the button rests on the far right. ```html
@@ -562,7 +562,7 @@ You can put forms in boxes. Often form submission buttons are aligned to the bot
``` -When a box is all by itself centered on a page you can use [column widths](../../objects/grid) to control the width of the box. If needed, break the mold a little and use [typography utilities](../../utilities/typography) instead of the built in box title styles. +When a box is all by itself centered on a page you can use [column widths](/css/objects/grid) to control the width of the box. If needed, break the mold a little and use [typography utilities](/css/utilities/typography) instead of the built in box title styles. ```html
@@ -583,7 +583,7 @@ When a box is all by itself centered on a page you can use [column widths](../..
``` -Box patterns can also be made with, and modified with [border utilities](../../utilities/borders). +Box patterns can also be made with, and modified with [border utilities](/css/utilities/borders). diff --git a/modules/primer-buttons/README.md b/modules/primer-buttons/README.md index f445bec3..cea48be5 100644 --- a/modules/primer-buttons/README.md +++ b/modules/primer-buttons/README.md @@ -173,7 +173,7 @@ You can easily append a count to a **small button**. Add the `.with-count` class
``` -You can also use the [counter](../labels#counters) component within buttons: +You can also use the [counter](./labels#counters) component within buttons: ```html