From ff60093bbedd2c9d944c6e774c06e24a9a326267 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Thu, 22 Dec 2022 21:19:00 +0100 Subject: [PATCH] run(property): add `capi_modules` list --- src/awesomewm.d.tl/property.tl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/awesomewm.d.tl/property.tl b/src/awesomewm.d.tl/property.tl index bcbc8c5..2d7c01d 100644 --- a/src/awesomewm.d.tl/property.tl +++ b/src/awesomewm.d.tl/property.tl @@ -4,6 +4,12 @@ local record Property out_directory: string + --- Pages with modules from the C API. + -- These pages contains definitions for both, the global C API and the + -- `awful` library. We have to manage them separately, because the global C + -- API should be part of the global_en_def. + capi_modules: { string } + --- Pages from the navigation menu to ignore. -- Sets to ignore documentations and sample file. I also added libraries with -- low quality API documentation, I'll probably work on them later, lets start @@ -16,6 +22,12 @@ local property: Property = { base_url = "file:///usr/share/doc/awesome/doc", index_uri = "/index.html", out_directory = "generated", + capi_modules = { + "awesome", + "client and awful.client", + "screen and awful.screen", + "tag and awful.tag", + }, ignored_modules = { -- Sample files "rc.lua",