Skip to content

Commit 3477f08

Browse files
committed
docs: fix internal links to use absolute paths
1 parent 03306f5 commit 3477f08

30 files changed

+108
-120
lines changed

docs/src/content/docs/advanced/arbitrary-values.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ CSS units not available in React Native:
183183

184184
## Related
185185

186-
- [Spacing](../reference/spacing/) - Preset spacing values
187-
- [Sizing](../reference/sizing/) - Preset sizing values
188-
- [Borders](../reference/borders/) - Preset border values
189-
- [Transforms](../reference/transforms/) - Preset transform values
186+
- [Spacing](/reference/spacing/) - Preset spacing values
187+
- [Sizing](/reference/sizing/) - Preset sizing values
188+
- [Borders](/reference/borders/) - Preset border values
189+
- [Transforms](/reference/transforms/) - Preset transform values

docs/src/content/docs/advanced/babel-configuration.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Configure which props to transform.
8181
}
8282
```
8383

84-
See [Custom Attributes](./custom-attributes/) for more details.
84+
See [Custom Attributes](/advanced/custom-attributes/) for more details.
8585

8686
### `stylesIdentifier`
8787

@@ -107,7 +107,7 @@ Customize the StyleSheet constant name.
107107
}
108108
```
109109

110-
See [Custom Styles Identifier](./custom-styles-identifier/) for more details.
110+
See [Custom Styles Identifier](/advanced/custom-styles-identifier/) for more details.
111111

112112
### `colorScheme`
113113

@@ -145,7 +145,7 @@ Configure custom color scheme hook.
145145
}
146146
```
147147

148-
See [Custom Color Scheme Hook](./custom-color-scheme-hook/) for more details.
148+
See [Custom Color Scheme Hook](/advanced/custom-color-scheme-hook/) for more details.
149149

150150
### `schemeModifier`
151151

@@ -183,7 +183,7 @@ Configure `scheme:` modifier color suffixes.
183183
}
184184
```
185185

186-
See [Color Scheme - Scheme Modifier](../guides/color-scheme/#scheme-modifier-convenience) for more details.
186+
See [Color Scheme - Scheme Modifier](/guides/color-scheme/#scheme-modifier-convenience) for more details.
187187

188188
## Complete Example
189189

@@ -255,8 +255,8 @@ npx react-native start --reset-cache
255255

256256
## Related
257257

258-
- [Custom Attributes](./custom-attributes/)
259-
- [Custom Styles Identifier](./custom-styles-identifier/)
260-
- [Custom Color Scheme Hook](./custom-color-scheme-hook/)
261-
- [Custom Colors](./custom-colors/)
262-
- [Troubleshooting](./troubleshooting/)
258+
- [Custom Attributes](/advanced/custom-attributes/)
259+
- [Custom Styles Identifier](/advanced/custom-styles-identifier/)
260+
- [Custom Color Scheme Hook](/advanced/custom-color-scheme-hook/)
261+
- [Custom Colors](/advanced/custom-colors/)
262+
- [Troubleshooting](/advanced/troubleshooting/)

docs/src/content/docs/advanced/custom-attributes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,6 @@ export function Button({
175175

176176
## Related
177177

178-
- [Babel Configuration](./babel-configuration/) - All plugin options
179-
- [Reusable Components](../guides/reusable-components/) - Building component libraries
180-
- [List Components](../guides/list-components/) - Styling lists
178+
- [Babel Configuration](/advanced/babel-configuration/) - All plugin options
179+
- [Reusable Components](/guides/reusable-components/) - Building component libraries
180+
- [List Components](/guides/list-components/) - Styling lists

docs/src/content/docs/advanced/custom-color-scheme-hook.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,6 @@ function MyComponent() {
210210

211211
## Related
212212

213-
- [Color Scheme](../guides/color-scheme/) - Using color scheme modifiers
214-
- [Babel Configuration](./babel-configuration/) - All plugin options
215-
- [Custom Colors](./custom-colors/) - Extend color palette
213+
- [Color Scheme](/guides/color-scheme/) - Using color scheme modifiers
214+
- [Babel Configuration](/advanced/babel-configuration/) - All plugin options
215+
- [Custom Colors](/advanced/custom-colors/) - Extend color palette

docs/src/content/docs/advanced/custom-colors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,6 @@ If you see warnings about missing colors:
219219

220220
## Related
221221

222-
- [Colors Reference](../reference/colors/) - Color utilities
223-
- [Color Scheme](../guides/color-scheme/) - Dark mode support
224-
- [Troubleshooting](./troubleshooting/) - Common issues
222+
- [Colors Reference](/reference/colors/) - Color utilities
223+
- [Color Scheme](/guides/color-scheme/) - Dark mode support
224+
- [Troubleshooting](/advanced/troubleshooting/) - Common issues

docs/src/content/docs/advanced/custom-styles-identifier.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ Align with your team's coding standards:
9999

100100
## Related
101101

102-
- [Babel Configuration](./babel-configuration/) - All plugin options
103-
- [Custom Attributes](./custom-attributes/) - Configure attribute transforms
102+
- [Babel Configuration](/advanced/babel-configuration/) - All plugin options
103+
- [Custom Attributes](/advanced/custom-attributes/) - Configure attribute transforms

docs/src/content/docs/advanced/troubleshooting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,6 @@ If you can't resolve your issue:
279279

280280
## Related
281281

282-
- [Babel Configuration](./babel-configuration/) - Plugin options
283-
- [Custom Colors](./custom-colors/) - Theme configuration
284-
- [Quick Start](../getting-started/quick-start/) - Setup guide
282+
- [Babel Configuration](/advanced/babel-configuration/) - Plugin options
283+
- [Custom Colors](/advanced/custom-colors/) - Theme configuration
284+
- [Quick Start](/getting-started/quick-start/) - Setup guide

docs/src/content/docs/getting-started/how-it-works.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The plugin automatically converts className-style props to their style equivalen
8888
| `ListHeaderComponentClassName` | `ListHeaderComponentStyle` |
8989
| `ListFooterComponentClassName` | `ListFooterComponentStyle` |
9090

91-
You can configure custom attributes in the [Babel configuration](../advanced/babel-configuration/).
91+
You can configure custom attributes in the [Babel configuration](/advanced/babel-configuration/).
9292

9393
### 4. Import Management
9494

@@ -142,6 +142,6 @@ Generates code that uses React Native's best practices:
142142

143143
## What's Next?
144144

145-
- Explore [Basic Usage](../guides/basic-usage/) examples
146-
- Learn about [Dynamic ClassNames](../guides/dynamic-classnames/)
147-
- Understand [State Modifiers](../guides/state-modifiers/)
145+
- Explore [Basic Usage](/guides/basic-usage/) examples
146+
- Learn about [Dynamic ClassNames](/guides/dynamic-classnames/)
147+
- Understand [State Modifiers](/guides/state-modifiers/)

docs/src/content/docs/getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ pnpm add @mgcrea/react-native-tailwind
2525

2626
## Next Steps
2727

28-
After installing the package, proceed to the [Quick Start](./quick-start/) guide to configure the Babel plugin and start using className in your components.
28+
After installing the package, proceed to the [Quick Start](/getting-started/quick-start/) guide to configure the Babel plugin and start using className in your components.

docs/src/content/docs/getting-started/quick-start.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ npx react-native start --reset-cache
5858

5959
## What's Next?
6060

61-
- Learn [How It Works](./how-it-works/) to understand the compile-time transformation
62-
- Explore [Basic Usage](../guides/basic-usage/) examples
63-
- Check out the [API Reference](../reference/spacing/) for available utilities
61+
- Learn [How It Works](/getting-started/how-it-works/) to understand the compile-time transformation
62+
- Explore [Basic Usage](/guides/basic-usage/) examples
63+
- Check out the [API Reference](/reference/spacing/) for available utilities

0 commit comments

Comments
 (0)