<commit_before><commit_msg>Preserve LuaDoc formatting using a patch to LuaDoc itself; scripts/luadoc.patch<commit_after>--- luadoc/util.lua.orig	2012-02-10 13:34:46.166184400 -0500
+++ luadoc/util.lua	2012-02-10 13:36:59.847551200 -0500
@@ -29,8 +29,8 @@
 -- @see string.gsub
 
 function trim_comment (s)
-	s = string.gsub(s, "%-%-+(.*)$", "%1")
-	return trim(s)
+	s = string.gsub(s, "%-%-+ ?(.*)$", "%1")
+	return s
 end
 
 -------------------------------------------------------------------------------
@@ -52,7 +52,7 @@
 	if str1 == nil or string.len(str1) == 0 then
 		return str2
 	else
-		return str1 .. " " .. str2
+		return str1 .. "\n" .. str2
 	end
 end
 

{'fraction_non_alphanumeric': 0.2982456140350877, 'fraction_numerical': 0.1111111111111111, 'mean_word_length': 1.7732793522267207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6052049', 'n_tokens_mistral': 317, 'n_tokens_neox': 262, 'n_words': 57}