summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-12-12 17:52:46 +0000
committerAndy Williams <andy@andywilliams.me>2017-12-12 17:52:46 +0000
commitb3f575fd4363ee0256afa7ecc19569ce6d3926fa (patch)
treee4d567dc7086d19916777da5c0774d8ebb1a320e
parent03ea9ff79c396b2250225de52f1d434086f2ee89 (diff)
docs: Fix description position for property pages
-rw-r--r--src/scripts/elua/apps/gendoc.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/scripts/elua/apps/gendoc.lua b/src/scripts/elua/apps/gendoc.lua
index 04378b0061..ee306bf18a 100644
--- a/src/scripts/elua/apps/gendoc.lua
+++ b/src/scripts/elua/apps/gendoc.lua
@@ -1412,14 +1412,6 @@ build_property = function(impl, cl)
1412 end 1412 end
1413 end 1413 end
1414 1414
1415 local pgkeys = isget and fn:property_keys_get(fn.PROP_GET) or {}
1416 local pskeys = isset and fn:property_keys_get(fn.PROP_SET) or {}
1417 build_vallist(f, pgkeys, pskeys, "Keys")
1418
1419 local pgvals = isget and fn:property_values_get(fn.PROP_GET) or {}
1420 local psvals = isset and fn:property_values_get(fn.PROP_SET) or {}
1421 build_vallist(f, pgvals, psvals, "Values")
1422
1423 if isget and isset then 1415 if isget and isset then
1424 f:write_h("Description", 2) 1416 f:write_h("Description", 2)
1425 if doc:exists() or (not gdoc:exists() and not sdoc:exists()) then 1417 if doc:exists() or (not gdoc:exists() and not sdoc:exists()) then
@@ -1433,6 +1425,14 @@ build_property = function(impl, cl)
1433 f:write_nl() 1425 f:write_nl()
1434 end 1426 end
1435 1427
1428 local pgkeys = isget and fn:property_keys_get(fn.PROP_GET) or {}
1429 local pskeys = isset and fn:property_keys_get(fn.PROP_SET) or {}
1430 build_vallist(f, pgkeys, pskeys, "Keys")
1431
1432 local pgvals = isget and fn:property_values_get(fn.PROP_GET) or {}
1433 local psvals = isset and fn:property_values_get(fn.PROP_SET) or {}
1434 build_vallist(f, pgvals, psvals, "Values")
1435
1436 if isget and gdoc:exists() then 1436 if isget and gdoc:exists() then
1437 if isset then 1437 if isset then
1438 f:write_h("Getter", 3) 1438 f:write_h("Getter", 3)