Repository navigation
Expand file tree
/
Copy pathconfig.ld
More file actions
60 lines (53 loc) · 1.91 KB
/
Copy pathconfig.ld
File metadata and controls
60 lines (53 loc) · 1.91 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
-- LDoc configuration and style forked from https://github.com/NebulousCloud/helix (check them out for a serious framework)
-- To add documentation for code, go and take a look at sv_sync.lua and see how its done.
-- To add documentation for articles, take a look in the docs/manual folder and see how its done.
-- After adding new documentation, you will need to rebuild the docs, see https://github.com/NebulousCloud/helix#building-documentation
-- Share the docs with the community, head over to https://github.com/vingard/impulsedocs and make a PR with the built docs!
file = {
"gamemode",
"plugins",
"docs/hooks",
exclude = {"gamemode/core/libs"}
}
dir = "docs/html"
project = "impulse"
title = "impulse documentation"
description = "impulse framework documentation"
no_space_before_args = true
style = "./docs/css"
template = "./docs/templates"
format = "markdown"
ignore = true
topics = "./docs/manual"
use_markdown_titles = true
kind_names = {module = "Libraries", topic = "Manual"}
merge = true
sort = true
wrap = true
custom_tags = {
{"realm", hidden = true},
{"internal", hidden = true}
}
custom_display_name_handler = function(item, default_handler)
if (item.type == "function" and item.module) then
if (item.module.type == "classmod" or item.module.type == "panel") then
return item.module.mod_name .. default_handler(item):gsub(".+:", ":")
elseif (item.module.type == "hooks") then
return item.module.mod_name:upper() .. ":" .. default_handler(item)
end
end
return default_handler(item)
end
new_type("hooks", "Hooks", true)
new_type("panel", "Panels", true)
tparam_alias("string", "string")
tparam_alias("bool", "boolean")
tparam_alias("func", "function")
tparam_alias("player", "player")
tparam_alias("entity", "entity")
tparam_alias("color", "color")
tparam_alias("tab", "table")
tparam_alias("material", "material")
tparam_alias("vector", "vector")
tparam_alias("angle", "angle")
tparam_alias("panel", "panel")