commit 6655c2d: [Doc] Further fixes in docs layout
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Dec 27 18:28:05 UTC 2018
Author: Vsevolod Stakhov
Date: 2018-12-10 13:22:11 +0000
URL: https://github.com/rspamd/rspamd/commit/6655c2dea642ad479e2cbc68127f2edb5b495271
[Doc] Further fixes in docs layout
---
doc/doxydown/doxydown.pl | 2 +-
src/lua/lua_task.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/doxydown/doxydown.pl b/doc/doxydown/doxydown.pl
index 85821da4d..96ebbbda3 100755
--- a/doc/doxydown/doxydown.pl
+++ b/doc/doxydown/doxydown.pl
@@ -380,7 +380,7 @@ sub parse_function {
}
if ( !$f->{'brief'} && $f->{'data'} ) {
- $f->{'data'} =~ /^([^.]+)\.?.*/;
+ $f->{'data'} =~ /^(.*?)(?:(?:[.:]\s)|\n).*/;
if ( $1 ) {
$f->{'brief'} = "$1.";
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index a8a53f517..87893ac6b 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -52,13 +52,13 @@ end
/***
* @function rspamd_task.load_from_file(filename[, cfg])
* Loads a message from specific file
- * @return {boolean},{rspamd_task|error} status + new task or error message
+ * @return {boolean,rspamd_task|error} status + new task or error message
*/
LUA_FUNCTION_DEF (task, load_from_file);
/***
* @function rspamd_task.load_from_string(message[, cfg])
* Loads a message from specific file
- * @return {boolean},{rspamd_task|error} status + new task or error message
+ * @return {boolean,rspamd_task|error} status + new task or error message
*/
LUA_FUNCTION_DEF (task, load_from_string);
More information about the Commits
mailing list