parameters: (self, server_name, package_documentation, methods)
return_statement: return result
docstring: Produce HTML documentation for an XML-RPC server.
docstring_summary: Produce HTML documentation for an XML-RPC server.
docstring_tokens: Produce HTML documentation for an XML - RPC server .
function: def docserver(self, server_name, package_documentation, methods):
          """Produce HTML documentation for an XML-RPC server."""
  
          fdict = {}
          for key, value in methods.items():
              fdict[key] = '#-' + key
              fdict[value] = fdict[key]
  
          server_name = self.escape(server_name)
          head = '<big><big><strong>%s</strong></big></big>' % server_name
          result = self.heading(head, '#ffffff', '#7799ee')
  
          doc = self.markup(package_documentation, self.preformat, fdict)
          doc = doc and '<tt>%s</tt>' % doc
          result = result + '<p>%s</p>\n' % doc
  
          contents = []
          method_items = sorted(methods.items())
          for key, value in method_items:
              contents.append(self.docroutine(value, key, funcs=fdict))
          result = result + self.bigsection(
              'Methods', '#ffffff', '#eeaa77', pydoc.join(contents))
  
          return result
function_tokens: def docserver ( self , server_name , package_documentation , methods ) : fdict = { } for key , value in methods . items ( ) : fdict [ key ] = '#-' + key fdict [ value ] = fdict [ key ] server_name = self . escape ( server_name ) head = '<big><big><strong>%s</strong></big></big>' % server_name result = self . heading ( head , '#ffffff' , '#7799ee' ) doc = self . markup ( package_documentation , self . preformat , fdict ) doc = doc and '<tt>%s</tt>' % doc result = result + '<p>%s</p>\n' % doc contents = [ ] method_items = sorted ( methods . items ( ) ) for key , value in method_items : contents . append ( self . docroutine ( value , key , funcs = fdict ) ) result = result + self . bigsection ( 'Methods' , '#ffffff' , '#eeaa77' , pydoc . join ( contents ) ) return result