Changeset be0942c in sasmodels for doc/genmodel.py


Ignore:
Timestamp:
Mar 30, 2019 4:41:55 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master
Children:
0d5dc05
Parents:
d57b06c
Message:

remove unicode from the rst files for the models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/genmodel.py

    ra42b091 rbe0942c  
    179179    links = ["`%s <%s/sasmodels/models/%s>`_"%(path, url, path) for path in sources] 
    180180 
    181     sep = u"\n\\ \u25E6 \\ "  # bullet 
     181    sep = "\n$\\ \\star\\ $ "  # bullet 
    182182    body = "\n**Source**\n" 
    183     #body += "\n\\ " + sep.join(links) + "\n\n" 
    184     body += "\n\\ " + sep.join(downloads) + "\n\n" 
     183    #body += "\n" + sep.join(links) + "\n\n" 
     184    body += "\n" + sep.join(downloads) + "\n\n" 
    185185    return body 
    186186 
     
    222222        docstr += insertion 
    223223 
    224     open(sys.argv[2],'w').write(docstr) 
     224    open(sys.argv[2], 'w').write(docstr) 
    225225 
    226226def process_model(path): 
Note: See TracChangeset for help on using the changeset viewer.