summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rwxr-xr-xDocumentation/scripts/prosody-modules_bumper.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/scripts/prosody-modules_bumper.lua b/Documentation/scripts/prosody-modules_bumper.lua
index c74ef58..e328b15 100755
--- a/Documentation/scripts/prosody-modules_bumper.lua
+++ b/Documentation/scripts/prosody-modules_bumper.lua
@@ -160,10 +160,15 @@ local function get_flag_desc(flag)
if #dom>0 then
desc=dom[1]:getcontent();
+ if desc:match("^NOTE: ") then
+ desc=dom[2]:getcontent();
+ end
end
desc=desc and desc:gsub([=[(href=["'])(mod_[^"']+.html)(["'])]=],"%1https://modules.prosody.im/%2%3")
+ desc=desc and desc.." (info: https://modules.prosody.im/mod_"..flag..")"
+
return desc or "No documentation yet :("
end