Skip to content

Commit ab72083

Browse files
committed
Remove unused docs
Fixes #917
1 parent 912e8af commit ab72083

File tree

2 files changed

+16
-30
lines changed

2 files changed

+16
-30
lines changed

shiny/express/layout.py

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -441,13 +441,6 @@ def card(
441441
an opinionated height (e.g., :func:`~shiny.ui.page_fillable`).
442442
class_
443443
Additional CSS classes for the returned Tag.
444-
wrapper
445-
A function (which returns a UI element) to call on unnamed arguments in `*args`
446-
which are not already card item(s) (like :func:`~shiny.ui.card_header`,
447-
:func:`~shiny.experimental.ui.card_body`, etc.). Note that non-card items are
448-
grouped together into one `wrapper` call (e.g. given `card("a", "b",
449-
card_body("c"), "d")`, `wrapper` would be called twice, once with `"a"` and
450-
`"b"` and once with `"d"`).
451444
**kwargs
452445
HTML attributes on the returned Tag.
453446
@@ -456,6 +449,15 @@ def card(
456449
:
457450
An :func:`~shiny.ui.tags.div` tag.
458451
"""
452+
453+
# wrapper
454+
# A function (which returns a UI element) to call on unnamed arguments in `*args`
455+
# which are not already card item(s) (like :func:`~shiny.ui.card_header`,
456+
# :func:`~shiny.experimental.ui.card_body`, etc.). Note that non-card items are
457+
# grouped together into one `wrapper` call (e.g. given `card("a", "b",
458+
# card_body("c"), "d")`, `wrapper` would be called twice, once with `"a"` and
459+
# `"b"` and once with `"d"`).
460+
459461
return RecallContextManager(
460462
ui.card,
461463
kwargs=dict(
@@ -587,8 +589,6 @@ def navset(
587589
588590
Parameters
589591
----------
590-
*args
591-
A collection of nav items (e.g., :func:`shiny.ui.nav`).
592592
type
593593
The type of navset to render. Can be one of `"underline"`, `"pill"`, or `"tab"`.
594594
id
@@ -602,6 +602,8 @@ def navset(
602602
footer
603603
UI to display below the selected content.
604604
"""
605+
# *args
606+
# A collection of nav items (e.g., :func:`shiny.ui.nav`).
605607

606608
funcs = {
607609
"underline": ui.navset_underline,
@@ -639,8 +641,6 @@ def navset_card(
639641
640642
Parameters
641643
----------
642-
*args
643-
A collection of nav items (e.g., :func:`shiny.ui.nav`).
644644
type
645645
The type of navset to render. Can be one of `"underline"`, `"pill"`, or `"tab"`.
646646
id
@@ -656,6 +656,8 @@ def navset_card(
656656
footer
657657
UI to display below the selected content.
658658
"""
659+
# *args
660+
# A collection of nav items (e.g., :func:`shiny.ui.nav`).
659661

660662
funcs = {
661663
"underline": ui.navset_card_underline,
@@ -860,8 +862,6 @@ def page_sidebar(
860862
861863
Parameters
862864
----------
863-
sidebar
864-
Content to display in the sidebar.
865865
title
866866
A title to display at the top of the page.
867867
fillable
@@ -884,6 +884,9 @@ def page_sidebar(
884884
:
885885
A UI element.
886886
"""
887+
# sidebar
888+
# Content to display in the sidebar.
889+
887890
return RecallContextManager(
888891
ui.page_sidebar,
889892
kwargs=dict(

shiny/ui/_navs.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -702,23 +702,6 @@ def navset_card_tab(
702702
``value``).
703703
sidebar
704704
A `Sidebar` component to display on every `nav()` page.
705-
fillable
706-
Whether or not to allow fill items to grow/shrink to fit the browser window. If
707-
`True`, all `nav()` pages are fillable. A character vector, matching the value
708-
of `nav()`s to be filled, may also be provided. Note that, if a `sidebar` is
709-
provided, `fillable` makes the main content portion fillable.
710-
gap
711-
A CSS length unit defining the gap (i.e., spacing) between elements provided to
712-
`*args`.
713-
padding
714-
Padding to use for the body. This can be a numeric vector (which will be
715-
interpreted as pixels) or a character vector with valid CSS lengths. The length
716-
can be between one and four. If one, then that value will be used for all four
717-
sides. If two, then the first value will be used for the top and bottom, while
718-
the second value will be used for left and right. If three, then the first will
719-
be used for top, the second will be left and right, and the third will be
720-
bottom. If four, then the values will be interpreted as top, right, bottom, and
721-
left respectively.
722705
header
723706
UI to display above the selected content.
724707
footer

0 commit comments

Comments
 (0)