doc: Display the `Parameters:` <h3> in the doc.

It was displayed for most sections, but not the functions. This is
problem when the doc already contains a bullet list just before the
parameter section. The two looked as if they were a single list.
This commit is contained in:
Emmanuel Lepage Vallee 2019-06-06 01:19:02 -04:00
parent 89a02ac6cd
commit c0e8660ca0
1 changed files with 5 additions and 5 deletions

View File

@ -50,7 +50,7 @@ tparam_alias('screen', 'screen')
tparam_alias('screen_or_idx', 'screen|int') tparam_alias('screen_or_idx', 'screen|int')
-- Hack to get the functions and method on top of the signals and properties -- Hack to get the functions and method on top of the signals and properties
new_type("function", "Functions") new_type("function", "Functions", false, "Parameters")
-- Documentation for objects properties -- Documentation for objects properties
new_type("property", "Object properties", false, "Type") new_type("property", "Object properties", false, "Type")
-- Documentation for objects deprecated properties -- Documentation for objects deprecated properties
@ -62,17 +62,17 @@ new_type("signalhandler", "Request handlers", false, "Arguments")
-- Allow objects to define a set of beautiful properties affecting them -- Allow objects to define a set of beautiful properties affecting them
new_type("beautiful", "Theme variables", false, "Type") new_type("beautiful", "Theme variables", false, "Type")
-- Put deprecated methods in their own section -- Put deprecated methods in their own section
new_type("deprecated", "Deprecated functions", false, "param") new_type("deprecated", "Deprecated functions", false, "Parameters")
-- For the legacy stateless layout related functions -- For the legacy stateless layout related functions
new_type("legacylayout", "Layout related functions", false, "param") new_type("legacylayout", "Layout related functions", false, "Parameters")
-- Have a category for the client layouts -- Have a category for the client layouts
new_type("clientlayout", "Client layouts", false, "param") new_type("clientlayout", "Client layouts", false, "Parameters")
-- Source functions for the taglist/tasklist/layoutlist -- Source functions for the taglist/tasklist/layoutlist
new_type("sourcefunction", "List source functions", false) new_type("sourcefunction", "List source functions", false)
-- Document some callback prototypes -- Document some callback prototypes
new_type("callback", "Callback functions prototype", false, "Parameters") new_type("callback", "Callback functions prototype", false, "Parameters")
-- gears.matcher / awful.rules sources -- gears.matcher / awful.rules sources
new_type("rulesources", "Rule sources", false, "param") new_type("rulesources", "Rule sources", false, "Parameters")
-- gears.matcher / awful.rules rule components -- gears.matcher / awful.rules rule components
new_type("rulecomponent", "Rule components", false, "Type") new_type("rulecomponent", "Rule components", false, "Type")
-- Filter functions for the taglist/tasklist/layoutlist -- Filter functions for the taglist/tasklist/layoutlist