Skip to content

Commit 2c8c015

Browse files
committed
chore(website): replace relative paths with absolute paths
1 parent 902d7ae commit 2c8c015

File tree

8 files changed

+34
-34
lines changed

8 files changed

+34
-34
lines changed

apps/website/docs/autoheight.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ sidebar_label: Autoheight WebView
44
title: Autoheight WebView
55
---
66

7-
import { APIReference } from '../components/APIReference';
8-
import { ReactReference, WebView } from '../components/ReactReference';
9-
import { APIBox } from '../components/APIBox';
10-
import { Term } from '../components/Term';
11-
import { DualCodeSource } from '../components/CodeSource';
12-
import { TryOnExpo } from '../components/TryOnExpo';
13-
import { AsideShowcaseFrame } from '../components/AsideShowcaseFrame';
7+
import { APIReference } from '@site/components/APIReference';
8+
import { ReactReference, WebView } from '@site/components/ReactReference';
9+
import { APIBox } from '@site/components/APIBox';
10+
import { Term } from '@site/components/Term';
11+
import { DualCodeSource } from '@site/components/CodeSource';
12+
import { TryOnExpo } from '@site/components/TryOnExpo';
13+
import { AsideShowcaseFrame } from '@site/components/AsideShowcaseFrame';
1414

1515
Craft <WebView />-based components which heights automatically and dynamically adapts to their page
1616
content heights, anytime the <Term id="DOM" /> changes.

apps/website/docs/faq.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ sidebar_label: FAQ
44
title: Frequently Asked Questions
55
---
66

7-
import { WebView } from '../components/ReactReference';
8-
import { APIReference } from '../components/APIReference';
7+
import { WebView } from '@site/components/ReactReference';
8+
import { APIReference } from '@site/components/APIReference';
99

1010
## Can I get the `ref` of the <WebView />?
1111

apps/website/docs/getting-started.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ id: getting-started
33
title: Getting Started
44
---
55

6-
import { Webshell } from '../components/Webshell';
7-
import { Term } from '../components/Term';
8-
import { WebView, ReactReference } from '../components/ReactReference';
9-
import { APIReference, APISymbolFormat } from '../components/APIReference';
10-
import { APIBox } from '../components/APIBox';
6+
import { Webshell } from '@site/components/Webshell';
7+
import { Term } from '@site/components/Term';
8+
import { WebView, ReactReference } from '@site/components/ReactReference';
9+
import { APIReference, APISymbolFormat } from '@site/components/APIReference';
10+
import { APIBox } from '@site/components/APIBox';
1111
import {
1212
InstallPackageSnippet,
1313
DualCodeSource
14-
} from '../components/CodeSource';
15-
import { IllustrationSnippet } from '../components/IllustrationSnippet';
14+
} from '@site/components/CodeSource';
15+
import { IllustrationSnippet } from '@site/components/IllustrationSnippet';
1616

1717
## Install
1818

apps/website/docs/glossary.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ id: glossary
33
title: Glossary
44
---
55

6-
import { APIReference, APISymbolFormat } from '../components/APIReference';
7-
import { WebView } from '../components/ReactReference';
6+
import { APIReference, APISymbolFormat } from '@site/components/APIReference';
7+
import { WebView } from '@site/components/ReactReference';
88

99
## Shell Component
1010

apps/website/docs/implementing-features.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ id: implementing-features
33
title: Implementing Web Features
44
---
55

6-
import { Webshell } from '../components/Webshell';
7-
import { Term } from '../components/Term';
8-
import { APIReference, APISymbolFormat } from '../components/APIReference';
9-
import { ReactReference, WebView } from '../components/ReactReference';
10-
import { APIBox } from '../components/APIBox';
6+
import { Webshell } from '@site/components/Webshell';
7+
import { Term } from '@site/components/Term';
8+
import { APIReference, APISymbolFormat } from '@site/components/APIReference';
9+
import { ReactReference, WebView } from '@site/components/ReactReference';
10+
import { APIBox } from '@site/components/APIBox';
1111
import {
1212
DualCodeSource,
1313
SingleCodeSource,
1414
InstallPackageSnippet
15-
} from '../components/CodeSource';
15+
} from '@site/components/CodeSource';
1616

1717
Features can set up communication in both directions, *Web to native* and *native to Web*.
1818
We will approach the two in distinct examples, but a feature can support both at the same time.

apps/website/docs/introduction.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ slug: /
66

77
import Tabs from '@theme/Tabs';
88
import TabItem from '@theme/TabItem';
9-
import { Webshell } from '../components/Webshell';
10-
import { Term } from '../components/Term';
11-
import { WebView } from '../components/ReactReference';
12-
import { APIReference } from '../components/APIReference';
13-
import { APIBox } from '../components/APIBox';
14-
import { InstallPackageSnippet } from '../components/CodeSource';
15-
import { IllustrationSnippet } from '../components/IllustrationSnippet';
9+
import { Webshell } from '@site/components/Webshell';
10+
import { Term } from '@site/components/Term';
11+
import { WebView } from '@site/components/ReactReference';
12+
import { APIReference } from '@site/components/APIReference';
13+
import { APIBox } from '@site/components/APIBox';
14+
import { InstallPackageSnippet } from '@site/components/CodeSource';
15+
import { IllustrationSnippet } from '@site/components/IllustrationSnippet';
1616

1717
## Compatibility
1818

apps/website/docs/mdx.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: mdx
33
title: MDX Tests
44
---
5-
import { APIReference } from '../components/APIReference'
5+
import { APIReference } from '@site/components/APIReference'
66

77
This route will only exists in development.
88

apps/website/docs/tooling.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ id: tooling
33
title: Tooling
44
---
55

6-
import { Term } from '../components/Term';
7-
import { DualCodeSource, InstallPackageSnippet } from '../components/CodeSource'
6+
import { Term } from '@site/components/Term';
7+
import { DualCodeSource, InstallPackageSnippet } from '@site/components/CodeSource'
88

99
The objectives of the setup are:
1010

0 commit comments

Comments
 (0)