Skip to content

Commit 4c0fb1d

Browse files
devvaannshabose
authored andcommitted
refactor: add live preview section and all related files are moved inside it
1 parent 562debd commit 4c0fb1d

14 files changed

+13
-13
lines changed

docs/07-Features/01-live-preview.md renamed to docs/07-Features/01-Live Preview/01-live-preview.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,36 @@ The Live Preview feature in Phoenix Code provides instant feedback on changes ma
88

99
## Activating Live Preview for HTML Files
1010
1. Select the HTML file you wish to edit from the editing panel.
11-
![Open file](images/livePreview/open.png "Open the HTML file from the editing panel").
11+
![Open file](../images/livePreview/open.png "Open the HTML file from the editing panel").
1212
2. Click the lightning bolt icon, located on the right panel, to initiate Live Preview.
13-
![Lightning icon](images/livePreview/off.png "Initiate Live Preview by clicking the lightning icon").
13+
![Lightning icon](../images/livePreview/off.png "Initiate Live Preview by clicking the lightning icon").
1414
3. The icon turns gold when Live Preview is active.
15-
![Lightning icon active](images/livePreview/on.png)
15+
![Lightning icon active](../images/livePreview/on.png)
1616
View the side-by-side Live Preview alongside the code.
17-
![Live Preview active](images/livePreview/livepreviewon.png "Live Preview alongside code").
17+
![Live Preview active](../images/livePreview/livepreviewon.png "Live Preview alongside code").
1818

1919
## Detaching Live Preview to a New Window
2020
1. Hover over the Live Preview panel.
2121
2. Click the pop-out icon to detach Live Preview into a new window.
22-
![Detaching to new window](images/livePreview/popout.png "Click to detach Live Preview to a new window").
22+
![Detaching to new window](../images/livePreview/popout.png "Click to detach Live Preview to a new window").
2323
3. Live Preview will now display in your default web browser, allowing for uninterrupted coding and viewing.
2424

2525
## Selecting a Browser for Live Preview
2626
1. Hover over the Live Preview panel.
27-
2. Choose your preferred browser by clicking its icon. ![Browser selected](images/livePreview/browser-choice.png "Live Preview in selected browser").
27+
2. Choose your preferred browser by clicking its icon. ![Browser selected](../images/livePreview/browser-choice.png "Live Preview in selected browser").
2828
3. Live Preview opens in the chosen browser.
2929

3030
## Reload Live Preview
31-
![Reload Live Preview](./images/livePreview/reload.png)
31+
![Reload Live Preview](../images/livePreview/reload.png)
3232
The **Reload** button in the live preview toolbar allows you to manually refresh the Live Preview pane to ensure it reflects the latest changes in your code. While Live Preview updates automatically, the Reload button can be helpful if you encounter synchronization issues.
3333

3434
## Disable Live Preview
3535
You can disable the live preview panel at startup by following these steps:
3636
1. Click the settings icon in the toolbar (hover over the toolbar to make it appear).
37-
![Settings Icon](./images/livePreview/settings-gear.png)
37+
![Settings Icon](../images/livePreview/settings-gear.png)
3838

3939
2. This will open the live preview settings menu:
40-
![Settings menu](./images/livePreview/live-preview-settings-menu.png)
40+
![Settings menu](../images/livePreview/live-preview-settings-menu.png)
4141
3. Disable the `Show Live Preview Panel at Startup` option.
4242

4343

docs/07-Features/02-live-preview-settings.md renamed to docs/07-Features/01-Live Preview/02-live-preview-settings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ There are two ways to access the Live Preview Settings dialog:
99
1. **From the File Menu**:
1010
- Navigate to the 'File' menu at the top left of the editor.
1111
- Select 'Live Preview Settings' from the dropdown.
12-
![live-preview-settings](images/livePreview/settings-menu.png)
12+
![live-preview-settings](../images/livePreview/settings-menu.png)
1313
1. **From the Live Preview Panel**:
1414
- Locate the live preview panel, typically found at the right side of the editor.
1515
- Hover over the live preview panel title bar and click the gear icon (⚙️) located at the top right of the panel title bar.
16-
![live-preview-settings](images/livePreview/settings-gear.png)
16+
![live-preview-settings](../images/livePreview/settings-gear.png)
1717
## Configuring Your Server
1818

19-
![settings-dialog](images/livePreview/settings-dialog.png)
19+
![settings-dialog](../images/livePreview/settings-dialog.png)
2020

2121
Within the Live Preview Settings dialog, you can configure the following options:
2222

docs/07-Features/03-php-live-preview.md renamed to docs/07-Features/01-Live Preview/03-php-live-preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Setting up a live preview for PHP projects is straightforward with Apache and XA
6161

6262
</Tabs>
6363
6. Add the following settings to your custom live preview:
64-
![Custom Live Preview Settings](images/phpLivePreview/phpCustomServer.png)
64+
![Custom Live Preview Settings](../images/phpLivePreview/phpCustomServer.png)
6565
Your live preview should now automatically update to reflect changes whenever PHP files are edited.
6666

6767
## PHP Live Preview in Action
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)