Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken iframe links in docs #598

Merged
merged 2 commits into from
Jul 11, 2024
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
4 changes: 2 additions & 2 deletions docs/components/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Code is used to render code with syntax highlighting. `code` is a simple wrapper

## Examples

<iframe class="component-demo" src="https://google.github.io/mesop/demo/?demo=code"></iframe>
<iframe class="component-demo" src="https://google.github.io/mesop/demo/?demo=code_demo"></iframe>

```python
--8<-- "demo/code.py"
--8<-- "demo/code_demo.py"
```

## API
Expand Down
2 changes: 1 addition & 1 deletion docs/components/html.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ There are two modes for rendering HTML components:

## Examples

<iframe class="component-demo" src="https://mesop-y677hytkra-uc.a.run.app/html"></iframe>
<iframe class="component-demo" src="https://google.github.io/mesop/demo/?demo=html_demo" style="height: 200px"></iframe>

```python
--8<-- "demo/html_demo.py"
Expand Down
4 changes: 2 additions & 2 deletions docs/components/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Select allows the user to choose from a list of values and is based on the [Angu

## Examples

<iframe class="component-demo" src="https://google.github.io/mesop/demo/?demo=select" style="height: 200px"></iframe>
<iframe class="component-demo" src="https://google.github.io/mesop/demo/?demo=select_demo" style="height: 200px"></iframe>

```python
--8<-- "demo/select.py"
--8<-- "demo/select_demo.py"
```

## API
Expand Down
Loading