From d00ac0be937b41fa1b09f0c9b3a50a99334719c2 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Thu, 6 Jun 2019 02:06:28 -0400 Subject: [PATCH] doc: Add a widget, container and layout section to the index. --- docs/config.ld | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/config.ld b/docs/config.ld index 5b698d5c..8088b740 100644 --- a/docs/config.ld +++ b/docs/config.ld @@ -1,3 +1,6 @@ +local args = ... + + -- Configuration file for ldoc project='awesome' @@ -86,6 +89,11 @@ kind_names={topic='Documentation', module='Libraries', script='Sample files'} -- Sort modules alphabetically sort_modules=true +-- Add more project level (left side index) types. +new_type("widgetmod" , "Widgets" , true) +new_type("containermod", "Widget containers", true) +new_type("layoutmod" , "Widget layouts" , true) + file = { -- C parts of libraries '../dbus.c', @@ -152,7 +160,6 @@ local no_prefix = { } custom_display_name_handler = function(item, default_handler) - -- Remove the "namespace" from the signals and properties if no_prefix[item.type] then local name = item.name:match("%.([^.]+)$")