summaryrefslogtreecommitdiff
path: root/src/mailman/styles/docs
diff options
context:
space:
mode:
authorJ08nY2017-06-04 17:41:29 +0200
committerJ08nY2017-08-30 14:28:28 +0200
commit103fa8caf88f64d18b95ecc36af5ac53152c4269 (patch)
treef949fe52569816956da68e97d459d187b491eace /src/mailman/styles/docs
parent057bc0704ab6d975e327c11cac204decfb478c4d (diff)
downloadmailman-list-style-descriptions.tar.gz
mailman-list-style-descriptions.tar.zst
mailman-list-style-descriptions.zip
Diffstat (limited to 'src/mailman/styles/docs')
-rw-r--r--src/mailman/styles/docs/styles.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/styles/docs/styles.rst b/src/mailman/styles/docs/styles.rst
index 270b0cdcc..a296bab54 100644
--- a/src/mailman/styles/docs/styles.rst
+++ b/src/mailman/styles/docs/styles.rst
@@ -49,6 +49,7 @@ New styles must implement the ``IStyle`` interface.
>>> @implementer(IStyle)
... class TestStyle:
... name = 'a-test-style'
+ ... description = 'Testing mailing list style.'
... def apply(self, mailing_list):
... # Just does something very simple.
... mailing_list.display_name = 'TEST STYLE LIST'
@@ -115,6 +116,7 @@ If no style name is provided when creating the list, the system default style
>>> @implementer(IStyle)
... class AnotherStyle:
... name = 'another-style'
+ ... description = 'Another testing mailing list style.'
... def apply(self, mailing_list):
... # Just does something very simple.
... mailing_list.display_name = 'ANOTHER STYLE LIST'