Explorar o código

Remove duplication.

Mike Naberezny %!s(int64=15) %!d(string=hai) anos
pai
achega
25f935c05a
Modificáronse 1 ficheiros con 4 adicións e 8 borrados
  1. 4 8
      docs/api.rst

+ 4 - 8
docs/api.rst

@@ -1,11 +1,11 @@
 XML-RPC API Documentation
 =========================
 
+.. automodule:: supervisor.rpcinterface
+
 Status and Control
 ------------------
 
-.. automodule:: supervisor.rpcinterface
-
   .. autoclass:: SupervisorNamespaceRPCInterface
 
     .. automethod:: getAPIVersion
@@ -29,8 +29,6 @@ Status and Control
 Process Control
 ---------------
 
-.. automodule:: supervisor.rpcinterface
-
   .. autoclass:: SupervisorNamespaceRPCInterface
 
     .. automethod:: getProcessInfo
@@ -56,8 +54,6 @@ Process Control
 Process Logging
 ---------------
 
-.. automodule:: supervisor.rpcinterface
-
   .. autoclass:: SupervisorNamespaceRPCInterface
 
     .. automethod:: readProcessStdoutLog
@@ -73,11 +69,11 @@ Process Logging
     .. automethod:: clearAllProcessLogs
 
 
+.. automodule:: supervisor.xmlrpc
+
 System Methods
 --------------
 
-.. automodule:: supervisor.xmlrpc
-
   .. autoclass:: SystemNamespaceRPCInterface
 
     .. automethod:: listMethods