##// END OF EJS Templates
More docstrings....
More docstrings. Move all ibrowse commands into their own method (named "cmd_foo"). This simplifies command dispatching and makes it possible to add new commands in a subclass. Add three new ibrowse commands: detailattr: This opens a detail view for the attribute under the cursor. prevattr: Move left one column (mapped to "<"). nextattr: Move right one column (mapped to ">").

File last commit:

r158:e5c7ade6
r215:819f595a
Show More
update_manual.py
28 lines | 528 B | text/x-python | PythonLexer
#!/usr/bin/env ipython
""" Must be launched via ipython not normal python
Run by:
ipython update_manual.py
"""
import sys,IPython,re
fil=open("magic.tex","w")
oldout=sys.stdout
sys.stdout=fil
_ip.magic("magic -latex")
sys.stdout=oldout
fil.close()
fil=open("manual_base.lyx")
txt=fil.read()
fil.close()
manualtext=re.sub("__version__",IPython.__version__,txt)
fil=open("manual.lyx","w")
fil.write(manualtext)
fil.close()
print "Manual (magic.tex, manual.lyx) succesfully updated, exiting..."
import os
os.abort()