From 025262fd95e001a466fdad70187b16eea2545ccf Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 6 Oct 2019 16:06:00 -0400 Subject: [PATCH] doc: Use the new doc convention. The previous few commits are very old, bring them to the new standards without all the merging conflicts (which are error prone). --- docs/common/rules_index.ldoc | 2 ++ lib/awful/button.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/common/rules_index.ldoc b/docs/common/rules_index.ldoc index 8f5e2f53..eeecdbda 100644 --- a/docs/common/rules_index.ldoc +++ b/docs/common/rules_index.ldoc @@ -69,4 +69,6 @@ -- startup\_idThe FreeDesktop StartId -- validIf the client that this object refers to is still managed by awesome -- first\_tagThe first tag of the client +-- buttonsGet or set mouse buttons bindings for a client +-- keysGet or set keys bindings for a client -- diff --git a/lib/awful/button.lua b/lib/awful/button.lua index 9f296012..af3ccbda 100644 --- a/lib/awful/button.lua +++ b/lib/awful/button.lua @@ -103,7 +103,7 @@ button.names = { -- @param function --- Execute this mousebinding. --- @function button:trigger +-- @method :trigger function button:set_button(b) for _, v in ipairs(self) do