Skip to content

Commit d89db07

Browse files
committed
docs: Replace iframes with TODOs and add instructions for running live examples --docs-deploy
- Replaces embedded iframes in `07-live-editor.md` and `12-live-example.md` with "TODO" placeholders. - Adds instructions to `07-live-editor.md` for running the live editor locally using `./gradlew :jsonBuilderWeb:wasmJsBrowserRun`. - Adds a link to the code of the live example and live editor. - Adds information about the layout URL of the live example.
1 parent 39ba028 commit d89db07

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

docs/03-json-structure/07-live-editor.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,14 @@ hide:
33
- toc
44
---
55

6-
<iframe src="https://crl-builder.codeutsman.com/" width="100%" height="600px" frameborder="0" allowfullscreen></iframe>
6+
[//]: # (<iframe src="https://crl-builder.codeutsman.com/" width="100%" height="600px" frameborder="0" allowfullscreen></iframe>)
7+
8+
TODO: Live editor
9+
10+
You can explore the code of the live editor [here](https://github.com/utsmannn/compose-remote-layout/tree/main/jsonBuilderWeb)
11+
12+
Run the live editor locally by following the steps below:
13+
14+
```shell
15+
./gradlew :jsonBuilderWeb:wasmJsBrowserRun
16+
```

docs/04-router/12-live-example.md

+11-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
This is a simple implementation of a router.
22

33

4-
<div style="width: 380px; height: 620px; transform: scale(0.8); transform-origin: top left;">
5-
<iframe src="https://crl-marketplace-layout.codeutsman.com/" style="width: 100%; height: 100%;" frameborder="0"></iframe>
6-
</div>
4+
[//]: # (<div style="width: 380px; height: 620px; transform: scale&#40;0.8&#41;; transform-origin: top left;">)
75

8-
Or open in browser: [https://crl-marketplace-layout.codeutsman.com/](https://crl-marketplace-layout.codeutsman.com/)
6+
[//]: # ( <iframe src="https://crl-marketplace-layout.codeutsman.com/" style="width: 100%; height: 100%;" frameborder="0"></iframe>)
97

10-
Code available on [samples/routerApp](https://github.com/utsmannn/compose-remote-layout/tree/main/samples/routerApp)
8+
[//]: # (</div>)
119

12-
This live example layout has the following URL:
10+
[//]: # ()
11+
[//]: # (Code available on [samples/routerApp]&#40;https://github.com/utsmannn/compose-remote-layout/tree/main/samples/routerApp&#41;)
12+
[//]: # (Or open in browser: [https://crl-marketplace-layout.codeutsman.com/]&#40;https://crl-marketplace-layout.codeutsman.com/&#41;)
13+
14+
TODO: Live example
15+
16+
You can explore the code of the live example [here](https://github.com/utsmannn/compose-remote-layout/tree/main/samples/routerApp)
17+
This live example layout has the following layout URL:
1318
[https://crl-marketplace.codeutsman.com/home](https://crl-marketplace.codeutsman.com/home)

0 commit comments

Comments
 (0)