WIP: awesomerc.tl should work #85

Draft
Aire-One wants to merge 40 commits from feat/#58 into master
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 8d3832499a - Show all commits

View File

@ -294,7 +294,9 @@ function module.get_doc_from_page(html: string, module_path: string): Node, { No
error "The list aren't the same size!"
end
local record_name <const> = utils.capitalize((module_path:gsub(".*%.", "")))
-- Awesome is a special case, we don't want to capitalize it.
-- I'm too lazy to make a special case for it because this project is in development for far too long and it's getting depressing
local record_name <const> = module_path == "awesome" and "awesome" or utils.capitalize((module_path:gsub(".*%.", "")))
local module_root <const> = ast.create_node("module", record_name, module_path, false)
local other_nodes <const>: { Node } = {}