This file is indexed.

/usr/share/doc/lua-logging/us/menu.lua is in lua-logging 1.3.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
61
62
63
64
65
66
67
68
69
70
71
local menu = {
	{ "Home", "index.html",
		{ "Overview", "index.html#overview" },
		{ "Status", "index.html#status" },
		{ "Download", "index.html#download" },
		{ "Dependencies", "index.html#dependencies" },
		{ "History", "index.html#history" },
		{ "Credits", "index.html#credits" },
		{ "Contact", "index.html#contact" },
	},
	{ "Manual", "manual.html",
		{ "Introduction", "manual.html#introduction" },
		{ "Installation", "manual.html#installation" },
		{ "Logger objects", "manual.html#logger" },
		{ "Examples", "manual.html#examples" },
	},
	{ "Appenders", "manual.html#appenders",
		{ "Console", "console.html" },
		{ "File", "file.html" },
		{ "Rolling File", "rolling_file.html" },
		{ "SQL", "sql.html" },
		{ "Socket", "socket.html" },
		{ "Email", "email.html" },
	},
	{ "Project", "https://github.com/Neopallium/lualogging",
		{ "Bug Tracker", "https://github.com/Neopallium/lualogging/issues" },
	},
	{ "License", "license.html" },
}

local function dump_section(out, sect, page, depth)
	local name, url = sect[1], sect[2]
	local len = #sect
	local indent = ("\t"):rep(depth)
	-- list title.
	out:write(indent)
	if url == page then
		out:write("<li><strong>", name, "</strong>")
	else
		out:write('<li><a href="', url, '">', name, '</a>')
	end
	-- sub-sections
	if len >= 3 then
		local sub_indent = indent .. "\t"
		out:write("\n", sub_indent, "<ul>\n")
		for i=3,len do
			dump_section(out, sect[i], page, depth + 2)
		end
		out:write(sub_indent, "</ul>\n")
		out:write(indent, "</li>\n")
	else
		out:write("</li>\n")
	end
end

function dump_menu(out, page)
	out:write([[
<div id="navigation">
<h1>LuaLogging</h1>
	<ul>
]])
	local depth = 2
	for i=1,#menu do
		dump_section(out, menu[i], page, depth)
	end
	out:write([[
	</ul>
</div> <!-- id="navigation" -->

]])
end