Skip to content

Commit 53f9af5

Browse files
committed
fix: add slug to resolve broken links
1 parent 1a977a3 commit 53f9af5

6 files changed

Lines changed: 14 additions & 13 deletions

File tree

app-links.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ export const appLinks = [
7474
},
7575
{
7676
from: '/app-links/indent-guide-lines',
77-
to: '/docs/editing-text#indent-guide-lines',
77+
to: '/docs/customizing-editor#indent-guide-lines',
7878
},
7979
{
8080
from: '/app-links/emmet',
81-
to: '/docs/editing-text#emmet',
81+
to: '/docs/Features/emmet',
8282
},
8383
{
8484
from: '/app-links/git',
@@ -138,22 +138,22 @@ export const appLinks = [
138138
},
139139
{
140140
from: '/app-links/design-mode',
141-
to: '/docs/file-management',
141+
to: '/docs/design-mode',
142142
},
143143
{
144144
from: '/app-links/ai-chat',
145145
to: '/docs/Pro Features/ai-chat',
146146
},
147147
{
148148
from: '/app-links/markdown-editor',
149-
to: '/docs/file-management',
149+
to: '/docs/Pro Features/markdown-editor',
150150
},
151151
{
152152
from: '/app-links/resize-ruler',
153153
to: '/docs/Pro Features/device-preview',
154154
},
155155
{
156-
from: '/app-links//terminal',
157-
to: '/docs/file-management',
156+
from: '/app-links/terminal',
157+
to: '/docs/Features/terminal',
158158
}
159159
];

docs/05-design-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import VideoPlayer from '@site/src/components/Video/player';
1414
## Why use Design Mode
1515

1616
- **Pair with the AI Chat panel.** Ask the AI to make a change and see it applied instantly in the preview as the code updates without the need to open the editor. [Read More about AI Chat](./Pro%20Features/ai-chat).
17-
- **Edit visually with Live Preview Edit Mode.** Click elements, drag them, change text, swap images, and much more, directly in the preview. [Read More about Live Preview Edit Mode](./Pro%20Features/edit-mode-live-preview).
17+
- **Edit visually with Live Preview Edit Mode.** Click elements, drag them, change text, swap images, and much more, directly in the preview. [Read More about Live Preview Edit Mode](./Pro%20Features/live-preview-edit).
1818
- **Test responsive designs.** With Device Preview, check how your page looks on phone, tablet, and desktop sizes with just a click. [Read More about Device Preview](./Pro%20Features/device-preview).
1919

2020
## Switching to Design Mode

docs/12-Pro Features/02-edit-mode-live-preview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Live Preview Edit
3+
slug: live-preview-edit
34
---
45

56
import React from 'react';

docs/12-Pro Features/05-measurements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The **Measurements** feature displays ruler lines extending from the edges of a
1414
1515
## Enabling Measurements
1616

17-
While in [Edit Mode](./edit-mode-live-preview), click the dropdown arrow next to the pen icon in the Live Preview toolbar. This opens a menu where you can toggle **Show Measurements** on or off.
17+
While in [Edit Mode](./live-preview-edit), click the dropdown arrow next to the pen icon in the Live Preview toolbar. This opens a menu where you can toggle **Show Measurements** on or off.
1818
> By default, measurements are disabled.
1919
2020
![Enable Show Measurements](./images/enable-show-measurements.png "Enable Show Measurements")

docs/12-Pro Features/06-device-preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ While you drag the edge of the Live Preview panel, a ruler appears across the to
4141

4242
### In Design Mode
4343

44-
In [Design Mode](./edit-mode-live-preview), the Live Preview takes over the full window. In that case, you'll see resize handles directly on the page: drag the left or right handle to change the **width**, or drag the bottom handle to change the **height**. The same ruler appears, and the label now shows both dimensions, like `iPad Mini — 768px × 1024px`.
44+
In [Design Mode](./live-preview-edit), the Live Preview takes over the full window. In that case, you'll see resize handles directly on the page: drag the left or right handle to change the **width**, or drag the bottom handle to change the **height**. The same ruler appears, and the label now shows both dimensions, like `iPad Mini — 768px × 1024px`.
4545
In Design Mode, a **Fit to screen** option is also available in the device dropdown. This resizes the page to fit the available space in the Live Preview.
4646

4747

docs/13-Features/07-Live Preview/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,21 @@ The left side of the toolbar groups three controls:
7575

7676
* **Reload Live Preview**: The leftmost icon is the reload icon. Clicking on it refreshes the Live Preview. It is useful when Live Preview gets out of sync with your code.
7777

78-
* **Design Mode**: The maximize icon after the reload button is for Design Mode. This mode hides the editor and expands the Live Preview to take over the full window, giving you more room to work on the page with [Edit Mode](../../Pro%20Features/edit-mode-live-preview) or [Phoenix Code AI](../../Pro%20Features/ai-chat). Click the icon again to exit Design Mode.
78+
* **Design Mode**: The maximize icon after the reload button is for Design Mode. This mode hides the editor and expands the Live Preview to take over the full window, giving you more room to work on the page with [Edit Mode](../../Pro%20Features/live-preview-edit) or [Phoenix Code AI](../../Pro%20Features/ai-chat). Click the icon again to exit Design Mode.
7979

80-
* **Live Preview Modes**: The pen icon lets you quickly switch between [Edit Mode](../../Pro%20Features/edit-mode-live-preview) and Preview Mode. The pen lights up when Edit Mode is active. You can also press `F8` to toggle between these two modes.
80+
* **Live Preview Modes**: The pen icon lets you quickly switch between [Edit Mode](../../Pro%20Features/live-preview-edit) and Preview Mode. The pen lights up when Edit Mode is active. You can also press `F8` to toggle between these two modes.
8181

8282
For more mode options, click the chevron next to the pen icon. This opens a dropdown where you can select from all available Live Preview modes:
8383

8484
![Live Preview mode dropdown](../images/livePreview/lp-mode.png "Live Preview mode dropdown")
8585

8686
- **Preview Mode**: View-only. The page behaves like a normal browser but still updates as you edit code. All interactions with the page (clicks, hovers, etc.) are disabled.
8787
- **Highlight Mode**: Click any element to see its paddings and margins. Phoenix Code also jumps to that element in your source code so you can start editing right away.
88-
- **Edit Mode**: Edit elements directly in the preview. Insert elements, change text, drag elements, swap images, and more. Phoenix Code updates your source code automatically. [Learn more](../../Pro%20Features/edit-mode-live-preview).
88+
- **Edit Mode**: Edit elements directly in the preview. Insert elements, change text, drag elements, swap images, and more. Phoenix Code updates your source code automatically. [Learn more](../../Pro%20Features/live-preview-edit).
8989

9090
When Edit Mode is active, two extra options appear in the same dropdown:
9191

92-
- **Inspect Element on Hover**: Highlights elements as you hover, instead of only on click. This option is enabled by default. [Learn more](../../Pro%20Features/edit-mode-live-preview#inspect-element-on-hover).
92+
- **Inspect Element on Hover**: Highlights elements as you hover, instead of only on click. This option is enabled by default. [Learn more](../../Pro%20Features/live-preview-edit#inspect-element-on-hover).
9393
- **Show Measurements**: Displays ruler lines from the edges of the selected element to the edges of the Live Preview, with labels showing the exact pixel positions. This option is disabled by default. [Learn more](../../Pro%20Features/measurements).
9494

9595
<VideoPlayer

0 commit comments

Comments
 (0)