From b184f951956b7b21fda3824a214b8691c5380f82 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Mon, 29 Mar 2021 23:51:14 +0200 Subject: [PATCH] doc(layout.flex): Hide `fill_space` property doc Add an explicite `@property` tag to the `wibox.layout.flex` doc comments to override the `fill_space` property from `wibox.layout.fixed` and mark it as hidden thanks to `@hidden`. --- lib/wibox/layout/flex.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/wibox/layout/flex.lua b/lib/wibox/layout/flex.lua index 59ec8c210..2a4322a35 100644 --- a/lib/wibox/layout/flex.lua +++ b/lib/wibox/layout/flex.lua @@ -16,6 +16,16 @@ local gtable = require("gears.table") local flex = {} +-- {{{ Override inherited properties we want to hide + +--- From `wibox.layout.fixed`. +-- @property fill_space +-- @tparam boolean fill_space +-- @propemits true false +-- @hidden + +-- }}} + --- Add some widgets to the given fixed layout. -- -- @tparam widget ... Widgets that should be added (must at least be one).