code: def format_symbol(self, symbol, link_resolver):
          
          if not symbol:
              return ''
  
          if isinstance(symbol, FieldSymbol):
              return ''
  
          # pylint: disable=unused-variable
          out = self._format_symbol(symbol)
          template = self.get_template('symbol_wrapper.html')
  
          return template.render(
              {'symbol': symbol,
               'formatted_doc': out})
docs: Format a symbols.Symbol