]> kaliko git repositories - sid.git/blobdiff - sid/archive.py
sphinx: document plugins
[sid.git] / sid / archive.py
index b8cbfa408b22fa215f5055baf292d584671fd8e0..808e364a3f1d53b533bf788102bf727f6afc86f6 100644 (file)
@@ -22,9 +22,11 @@ from .lib import get_pkg
 
 
 class Archive(Plugin):
-    """Fetch package info from the archive
+    """Fetches package info from the archive
     """
+    #: Current stable Suite
     stable_codename = 'buster'
+    #: Pakage name regexp
     re_pkg = re_compile(r'(?P<package>[0-9a-z.+-]+)$')
 
     def __init__(self, bot):
@@ -32,10 +34,9 @@ class Archive(Plugin):
 
     @botcmd
     def archive(self, rcv, args):
-        """Fetch pkg versions info from the archive:
-
-        !archive pkg-name : Returns package versions (by suite)
         """
+        **command** ``!archive pkg-name`` : Returns package versions
+        (by suite)"""
         if not args:
             return
         if len(args) > 1: