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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ out/
.source
next-env.d.ts
.migration-keep

# Turbo task cache, written when this is checked out inside the monorepo.
.turbo/
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/console.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ read is not available.
## Next step

<Cards>
<Card title="Console tab reference" href="/expo-devtools/reference/console-tab" description="Every control, chip and row element." />
<Card title="Crash reporting" href="/expo-devtools/crash-reporting" description="What happens when a log becomes a crash." />
<Card title="Console tab reference" href="/docs/expo-devtools/reference/console-tab" description="Every control, chip and row element." />
<Card title="Crash reporting" href="/docs/expo-devtools/crash-reporting" description="What happens when a log becomes a crash." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/crash-reporting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ createDevtoolsClient({
## Next step

<Cards>
<Card title="Client reference" href="/expo-devtools/reference/client#crash" description="Every crash option and its default." />
<Card title="Leaving it in production" href="/expo-devtools/production" description="What ships, and what stays dark." />
<Card title="Client reference" href="/docs/expo-devtools/reference/client#crash" description="Every crash option and its default." />
<Card title="Leaving it in production" href="/docs/expo-devtools/production" description="What ships, and what stays dark." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/debug.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ There is no record button and nothing to clear, so the tab carries no toolbar.
## Next step

<Cards>
<Card title="Debug tab reference" href="/expo-devtools/reference/debug-tab" description="Every field and option." />
<Card title="Performance" href="/expo-devtools/performance" description="Watch the numbers react to what you just did." />
<Card title="Debug tab reference" href="/docs/expo-devtools/reference/debug-tab" description="Every field and option." />
<Card title="Performance" href="/docs/expo-devtools/performance" description="Watch the numbers react to what you just did." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/in-app-browsers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ still go out at full speed.
## Next step

<Cards>
<Card title="Network" href="/expo-devtools/network" description="Where the page's requests land." />
<Card title="Client reference" href="/expo-devtools/reference/client" description="All five WebView helpers." />
<Card title="Network" href="/docs/expo-devtools/network" description="Where the page's requests land." />
<Card title="Client reference" href="/docs/expo-devtools/reference/client" description="All five WebView helpers." />
</Cards>
12 changes: 6 additions & 6 deletions content/docs/expo-devtools/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,32 +44,32 @@ Two more guides cover things that are not tabs: [themes](/docs/expo-devtools/the
<Cards>
<Card
title="Installation"
href="/expo-devtools/installation"
href="/docs/expo-devtools/installation"
description="One install command and two peer dependencies."
/>
<Card
title="Compatibility"
href="/expo-devtools/compatibility"
href="/docs/expo-devtools/compatibility"
description="The versions this is built against, and what it pins you to."
/>
<Card
title="Quick start"
href="/expo-devtools/quick-start"
href="/docs/expo-devtools/quick-start"
description="Create the client, mount the overlay, done."
/>
<Card
title="Reference"
href="/expo-devtools/reference"
href="/docs/expo-devtools/reference"
description="Every control and every option, field by field."
/>
<Card
title="Leaving it in production"
href="/expo-devtools/production"
href="/docs/expo-devtools/production"
description="What ships, and what stays dark."
/>
<Card
title="Example app"
href="/expo-devtools/example-app"
href="/docs/expo-devtools/example-app"
description="A runnable app that exercises every tab."
/>
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ with `expo run:ios`, `expo run:android` or EAS lights the rest up. The full list
## Next step

<Cards>
<Card title="Quick start" href="/expo-devtools/quick-start" description="Create the client and mount the overlay." />
<Card title="Changelog" href="/expo-devtools/changelog" description="What shipped in this version, and the ones before it." />
<Card title="Quick start" href="/docs/expo-devtools/quick-start" description="Create the client and mount the overlay." />
<Card title="Changelog" href="/docs/expo-devtools/changelog" description="What shipped in this version, and the ones before it." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ dependency.
## Next step

<Cards>
<Card title="Network tab reference" href="/expo-devtools/reference/network-tab" description="Every control, filter and field." />
<Card title="In-app browsers" href="/expo-devtools/in-app-browsers" description="Two props to capture a WebView's traffic." />
<Card title="Network tab reference" href="/docs/expo-devtools/reference/network-tab" description="Every control, filter and field." />
<Card title="In-app browsers" href="/docs/expo-devtools/in-app-browsers" description="Two props to capture a WebView's traffic." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@ to know.
## Next step

<Cards>
<Card title="Performance tab reference" href="/expo-devtools/reference/performance-tab" description="Every card, column and threshold." />
<Card title="Debug" href="/expo-devtools/debug" description="Block a thread on purpose and watch these numbers react." />
<Card title="Performance tab reference" href="/docs/expo-devtools/reference/performance-tab" description="Every card, column and threshold." />
<Card title="Debug" href="/docs/expo-devtools/debug" description="Block a thread on purpose and watch these numbers react." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/production.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ unreachable without `init()`.
## Next step

<Cards>
<Card title="Crash reporting" href="/expo-devtools/crash-reporting" description="The subsystem that is meant to run in release." />
<Card title="Example app" href="/expo-devtools/example-app" description="A worked configuration you can run." />
<Card title="Crash reporting" href="/docs/expo-devtools/crash-reporting" description="The subsystem that is meant to run in release." />
<Card title="Example app" href="/docs/expo-devtools/example-app" description="A worked configuration you can run." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,6 @@ hit as it looks, and however big you make it, the drag stays inside the screen.
## Next step

<Cards>
<Card title="Network" href="/expo-devtools/network" description="Every request, filtered, replayed and throttled." />
<Card title="Storage" href="/expo-devtools/storage" description="The one tab that needs configuring before it shows anything." />
<Card title="Network" href="/docs/expo-devtools/network" description="Every request, filtered, replayed and throttled." />
<Card title="Storage" href="/docs/expo-devtools/storage" description="The one tab that needs configuring before it shows anything." />
</Cards>
24 changes: 12 additions & 12 deletions content/docs/expo-devtools/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ crashes without it: the control says what it needs instead.
## The panel

<Cards>
<Card title="The panel" href="/expo-devtools/reference/panel" description="Header row, toolbar row, and the two gates that are easily confused." />
<Card title="Network tab" href="/expo-devtools/reference/network-tab" description="Toolbar, filters, settings, throttle profiles, the detail sheet and the sandbox." />
<Card title="Console tab" href="/expo-devtools/reference/console-tab" description="Toolbar, filters, row anatomy and the > prompt." />
<Card title="Performance tab" href="/expo-devtools/reference/performance-tab" description="Statistics cards, user timing, interactions and long tasks." />
<Card title="Storage tab" href="/expo-devtools/reference/storage-tab" description="Toolbar, import, summary, filters and the detail sheet." />
<Card title="Debug tab" href="/expo-devtools/reference/debug-tab" description="Blocking and crashing a thread on purpose." />
<Card title="The panel" href="/docs/expo-devtools/reference/panel" description="Header row, toolbar row, and the two gates that are easily confused." />
<Card title="Network tab" href="/docs/expo-devtools/reference/network-tab" description="Toolbar, filters, settings, throttle profiles, the detail sheet and the sandbox." />
<Card title="Console tab" href="/docs/expo-devtools/reference/console-tab" description="Toolbar, filters, row anatomy and the > prompt." />
<Card title="Performance tab" href="/docs/expo-devtools/reference/performance-tab" description="Statistics cards, user timing, interactions and long tasks." />
<Card title="Storage tab" href="/docs/expo-devtools/reference/storage-tab" description="Toolbar, import, summary, filters and the detail sheet." />
<Card title="Debug tab" href="/docs/expo-devtools/reference/debug-tab" description="Blocking and crashing a thread on purpose." />
</Cards>

## API

<Cards>
<Card title="createDevtoolsClient" href="/expo-devtools/reference/client" description="Every config option, and every method on the client." />
<Card title="Storage adapters" href="/expo-devtools/reference/storage-adapters" description="The four factories and the fields they take." />
<Card title="DevtoolsOverlay" href="/expo-devtools/reference/overlay" description="The launcher button's props." />
<Card title="Themes" href="/expo-devtools/reference/themes" description="The built-in ids and all 22 palette tokens." />
<Card title="Exported types" href="/expo-devtools/reference/types" description="Everything the package root exports as a type." />
<Card title="createDevtoolsClient" href="/docs/expo-devtools/reference/client" description="Every config option, and every method on the client." />
<Card title="Storage adapters" href="/docs/expo-devtools/reference/storage-adapters" description="The four factories and the fields they take." />
<Card title="DevtoolsOverlay" href="/docs/expo-devtools/reference/overlay" description="The launcher button's props." />
<Card title="Themes" href="/docs/expo-devtools/reference/themes" description="The built-in ids and all 22 palette tokens." />
<Card title="Exported types" href="/docs/expo-devtools/reference/types" description="Everything the package root exports as a type." />
</Cards>

## Platform

<Cards>
<Card title="What needs a development build" href="/expo-devtools/reference/development-build" description="Feature by feature, what Expo Go does instead." />
<Card title="What needs a development build" href="/docs/expo-devtools/reference/development-build" description="Feature by feature, what Expo Go does instead." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/expo-devtools/storage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ behaviour is unchanged. The tab only calls what it was handed.
## Next step

<Cards>
<Card title="Storage adapters" href="/expo-devtools/reference/storage-adapters" description="All four factories, field by field." />
<Card title="Storage tab reference" href="/expo-devtools/reference/storage-tab" description="Every control, filter and sheet." />
<Card title="Storage adapters" href="/docs/expo-devtools/reference/storage-adapters" description="All four factories, field by field." />
<Card title="Storage tab reference" href="/docs/expo-devtools/reference/storage-tab" description="Every control, filter and sheet." />
</Cards>
2 changes: 1 addition & 1 deletion content/docs/expo-devtools/themes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ The full token list is the `Palette` type, exported from the package root and do
## Next step

<Cards>
<Card title="Themes reference" href="/expo-devtools/reference/themes" description="All 22 palette tokens, grouped." />
<Card title="Themes reference" href="/docs/expo-devtools/reference/themes" description="All 22 palette tokens, grouped." />
</Cards>
4 changes: 2 additions & 2 deletions content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ Inside a package, the shape is always the same:
<Cards>
<Card
title="@axonpack/expo-devtools"
href="/expo-devtools"
href="/docs/expo-devtools"
description="Browser-style devtools that live inside your React Native or Expo app."
/>
<Card
title="Installation"
href="/expo-devtools/installation"
href="/docs/expo-devtools/installation"
description="One install command and two peer dependencies."
/>
</Cards>
7 changes: 4 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import { appLongName, appName, appTagline } from '@/lib/shared';
const inter = Inter({ subsets: ['latin'] });

export const metadata: Metadata = {
// Set NEXT_PUBLIC_SITE_URL once the site has a domain; without it Next resolves OG image URLs
// against localhost and warns on every build.
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL ?? 'http://localhost:3000'),
// Every absolute URL in the metadata (OG and Twitter images, canonicals) is resolved against
// this. It has to be the deployed origin, not localhost, or a shared link previews nothing.
// The override is for a preview deploy on some other origin.
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL ?? 'https://axonpack.github.io'),
// Long name when the site names itself, short as a suffix on a page that already has a title.
title: { default: appLongName, template: `%s — ${appName}` },
description: appTagline,
Expand Down
2 changes: 1 addition & 1 deletion src/components/devtools-panes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const panes: Pane[] = [
text: 'SYNC::: Error syncing queue job. false',
error: 'Error: No queue jobs to process.',
time: '7:12:49 PM',
repeat: '×13',
repeat: 'x13',
},
{
kind: 'log',
Expand Down
Loading