doc: Add a new custom tag to list the theme variables used by a method.

This commit is contained in:
Emmanuel Lepage Vallee 2019-11-24 03:58:32 -05:00
parent ee89e7c686
commit e1ddde7703
1 changed files with 17 additions and 0 deletions

View File

@ -245,6 +245,23 @@ add_custom_tag {
}
}
-- List the beautiful variables used by the method or property fllbacks.
-- @usebeautiful beautiful.varname usage[...]
add_custom_tag {
name = "usebeautiful",
title = "Consumed theme variables",
hidden = false,
table = {
"Variable", "Usage"
},
params = {
{
name = "name",
markdown = true,
}
}
}
-- More fitting section names
kind_names={topic='Documentation', module='Libraries', script='Sample files'}