aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-11-10 22:17:15 +0100
committerGravatar Numerlor <[email protected]>2020-11-15 03:12:04 +0100
commit7348b86bfedfc24c67d97a08d839a18956a6bff6 (patch)
tree416df92a6756f02d7673cbbb7e36c0baf7d9d44e
parentRename variables for clarity (diff)
Update outdated docstring
-rw-r--r--bot/exts/info/doc/_parsing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/doc/_parsing.py b/bot/exts/info/doc/_parsing.py
index 9140f635a..82b2ca808 100644
--- a/bot/exts/info/doc/_parsing.py
+++ b/bot/exts/info/doc/_parsing.py
@@ -263,7 +263,7 @@ def _create_markdown(signatures: Optional[List[str]], description: Iterable[Tag]
Create a markdown string with the signatures at the top, and the converted html description below them.
The signatures are wrapped in python codeblocks, separated from the description by a newline.
- The result string is truncated to be max 1000 symbols long.
+ The result markdown string is max 750 rendered characters for the description with signatures at the start.
"""
description = _get_truncated_description(description, DocMarkdownConverter(bullets="•", page_url=url), 750)
description = _WHITESPACE_AFTER_NEWLINES_RE.sub('', description)