diff options
Diffstat (limited to 'src/mailman/styles/docs/styles.rst')
| -rw-r--r-- | src/mailman/styles/docs/styles.rst | 2 |
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' |
