summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2015-03-31 13:10:08 +0200
committerUltrabug <ultrabug@gentoo.org>2015-03-31 13:10:08 +0200
commitcdfec19502d0415f92d85ffa48e6bec495ccb644 (patch)
tree8f42927aca460bb02547733b2c367af91b142f7b
parentd788ae674cfb1610e2a12fe2df1e7f84bab7fd99 (diff)
update example_module for config parameters doc
-rw-r--r--doc/example_module.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/example_module.py b/doc/example_module.py
index 7db53fd..d132eed 100644
--- a/doc/example_module.py
+++ b/doc/example_module.py
@@ -38,6 +38,9 @@ One-line summary followed by an empty line.
Multi-line description followed by an empty line.
+Configuration parameters:
+ - cache_timeout : how often we refresh this module in seconds
+
@author <your full name> <your email address>
@license BSD
"""
@@ -57,7 +60,6 @@ class Py3status:
This examples features only one parameter which is 'cache_timeout'
and is set to 10 seconds (0 would mean no cache).
"""
-
# available configuration parameters
cache_timeout = 10