-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ld
40 lines (36 loc) · 836 Bytes
/
config.ld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
project = 'Doppelganger'
title = 'Doppelgänger documentation'
description = 'Assertion framework for Lua embedded within Mediawiki.'
use_markdown_titles = true
format = 'markdown'
dir = 'docs'
--output = 'mw.doppelganger'
-- all = true
readme = {
-- 'topics/doppelganger.md',
'topics/vagrant.md',
-- 'topics/databases.md',
-- 'topics/delayed.md',
-- 'topics/hello-world.md',
-- 'topics/translatewiki.md',
'topics/vscode.md',
}
examples = {
'examples'
}
-- new_type( 'macro', 'Macros' )
custom_tags = {
{
'nick',
title = 'Nicknames',
hidden = false,
format = nil
},
}
custom_display_name_handler = function(item, default_handler)
-- show a label beside functions tagged with @delayed.
if item.type == 'lfunction' or item.type == 'function' then
return item.name .. ' ()'
end
return default_handler(item)
end