From b026be426e2bf8c6b4e9440a6ded4e367d8ef607 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Mon, 15 Nov 2021 21:06:17 +0100 Subject: [PATCH] Fix documentation not building because of missing container widget doc comment --- crates/eww/src/widgets/widget_definitions.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/eww/src/widgets/widget_definitions.rs b/crates/eww/src/widgets/widget_definitions.rs index f4189bc..0fe3b9f 100644 --- a/crates/eww/src/widgets/widget_definitions.rs +++ b/crates/eww/src/widgets/widget_definitions.rs @@ -234,7 +234,7 @@ fn build_gtk_combo_box_text(bargs: &mut BuilderArgs) -> Result Result { let gtk_widget = gtk::Expander::new(None); @@ -247,7 +247,7 @@ fn build_gtk_expander(bargs: &mut BuilderArgs) -> Result { Ok(gtk_widget) } -/// @widget revealer extends container +/// @widget revealer /// @desc A widget that can reveal a child with an animation. fn build_gtk_revealer(bargs: &mut BuilderArgs) -> Result { let gtk_widget = gtk::Revealer::new(); @@ -381,7 +381,7 @@ fn build_gtk_input(bargs: &mut BuilderArgs) -> Result { Ok(gtk_widget) } -/// @widget button extends container +/// @widget button /// @desc A button fn build_gtk_button(bargs: &mut BuilderArgs) -> Result { let gtk_widget = gtk::Button::new(); @@ -434,7 +434,7 @@ fn build_gtk_image(bargs: &mut BuilderArgs) -> Result { Ok(gtk_widget) } -/// @widget box extends container +/// @widget box /// @desc the main layout container fn build_gtk_box(bargs: &mut BuilderArgs) -> Result { let gtk_widget = gtk::Box::new(gtk::Orientation::Horizontal, 0); @@ -449,7 +449,7 @@ fn build_gtk_box(bargs: &mut BuilderArgs) -> Result { Ok(gtk_widget) } -/// @widget centerbox extends container +/// @widget centerbox /// @desc a box that must contain exactly three children, which will be layed out at the start, center and end of the container. fn build_center_box(bargs: &mut BuilderArgs) -> Result { let gtk_widget = gtk::Box::new(gtk::Orientation::Horizontal, 0); @@ -497,7 +497,7 @@ fn build_center_box(bargs: &mut BuilderArgs) -> Result { } } -/// @widget eventbox extends container +/// @widget eventbox /// @desc a container which can receive events and must contain exactly one child. Supports `:hover` css selectors. fn build_gtk_event_box(bargs: &mut BuilderArgs) -> Result { let gtk_widget = gtk::EventBox::new();