code: 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', ''.join(contents))
  
          return result
docs: Produce HTML documentation for an XML-RPC server.