doc: Add an `@introducedin` tag.

It is optional for now, but maybe in the future we can make
it mandatory. It will allow to have some "New!", "Not released"
messages or something in the doc. That would allow us to share
most of the doc between the stable and git versions.
This commit is contained in:
Emmanuel Lepage Vallee 2019-11-28 18:43:16 -05:00
parent 6f92f60076
commit 3508b6a18b
1 changed files with 10 additions and 0 deletions

View File

@ -377,6 +377,16 @@ add_custom_tag {
},
}
-- Specify when an item was added.
-- @introducedin 4.4
add_custom_tag {
name = "introducedin",
hidden = true,
params = {
{ name = "api_level" },
},
}
-- More fitting section names
kind_names={topic='Documentation', module='Libraries', script='Sample files'}