gui/doc/ext/autosummary/__init__.py
def autosummary_table_visit_html(self, node):
    """Make the first column of the table non-breaking."""
    try:
        tbody = node[0][0][-1]
        for row in tbody:
            col1_entry = row[0]
            par = col1_entry[0]
            for j, subnode in enumerate(list(par)):
                if isinstance(subnode, nodes.Text):
                    new_text = unicode(subnode.astext())
                    new_text = new_text.replace(u" ", u"\u00a0")
                    par[j] = nodes.Text(new_text)
    except IndexError:
        pass
def autosummary_table_visit_html(self, node):
    """Make the first column of the table non-breaking."""
    try:
        tbody = node[0][0][-1]
        for row in tbody:
            col1_entry = row[0]
            par = col1_entry[0]
            for j, subnode in enumerate(list(par)):
                if isinstance(subnode, nodes.Text):
                    new_text = unicode(subnode.astext())
                    new_text = new_text.replace(u" ", u"\u00a0")
                    par[j] = nodes.Text(new_text)
    except IndexError:
        pass
def autosummary_table_visit_html ( self , node ) : try : tbody = node [ 0 ] [ 0 ] [ - 1 ] for row in tbody : col1_entry = row [ 0 ] par = col1_entry [ 0 ] for j , subnode in enumerate ( list ( par ) ) : if isinstance ( subnode , nodes . Text ) : new_text = unicode ( subnode . astext ( ) ) new_text = new_text . replace ( u" " , u"\u00a0" ) par [ j ] = nodes . Text ( new_text ) except IndexError : pass
Make the first column of the table non-breaking.
Make the first column of the table non - breaking .