Skip to content

Commit 06b31e0

Browse files
committed
API updates
1 parent 31c8130 commit 06b31e0

File tree

9 files changed

+161
-342
lines changed

9 files changed

+161
-342
lines changed

docs/_quartodoc.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ quartodoc:
1919
- ui.page_fluid
2020
- ui.page_fixed
2121
- ui.page_bootstrap
22+
- ui.page_auto
23+
- ui.page_output
2224
- title: UI Layouts
2325
desc: Control the layout of multiple UI components.
2426
contents:
@@ -314,6 +316,15 @@ quartodoc:
314316
- express.ui.panel_conditional
315317
- express.ui.panel_fixed
316318
- express.ui.panel_absolute
319+
contents:
320+
- kind: page
321+
path: PageFunctions
322+
summary:
323+
name: "Page functions"
324+
desc: ""
325+
flatten: true
326+
contents:
327+
- express.ui.page_opts
317328
- title: Deprecated
318329
desc: ""
319330
contents:

examples/express/plot_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import matplotlib.pyplot as plt
22
import numpy as np
33

4-
from shiny import render, ui
5-
from shiny.express import input
4+
from shiny import render
5+
from shiny.express import input, ui
66

77
ui.input_slider("n", "N", 1, 100, 50)
88

shiny/express/_page.py

Lines changed: 0 additions & 334 deletions
This file was deleted.

shiny/express/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def set_result(x: object):
133133

134134

135135
def reset_top_level_recall_context_manager() -> None:
136-
from ._page import page_auto_cm
136+
from .ui._page import page_auto_cm
137137

138138
global _top_level_recall_context_manager
139139
_top_level_recall_context_manager = page_auto_cm()

0 commit comments

Comments
 (0)