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

WIP: Make TTL configurable through CLI args and docs fixes #3339

Closed
wants to merge 4 commits into from
Closed
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
13 changes: 11 additions & 2 deletions docs/api/inputs/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,17 @@

```python
@app.cell
def __():
mo.ui.button(label="Click me")
def _(mo):
button = mo.ui.button(
value=0, on_click=lambda value: value + 1, label="increment", kind="warn"
)
button
return (button,)


@app.cell
def _(button):
button.value
return
```

Expand Down
29 changes: 0 additions & 29 deletions docs/api/inputs/run_button.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/guides/exporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,6 @@ Use `MarimoIslandGenerator` to generate HTML for islands
import sys
from marimo import MarimoIslandGenerator

if sys.platform == 'win32':
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

async def main():
generator = MarimoIslandGenerator()
block1 = generator.add_code("import marimo as mo")
Expand Down
Loading