##// END OF EJS Templates
Include documentation sources in released tarball, as well as the lyxport...
Include documentation sources in released tarball, as well as the lyxport Perl script used to generate the PDF/HTML docs. Closes #204.

File last commit:

r689:7f3a0fb7
r918:3f8b5582
Show More
extension.py
20 lines | 339 B | text/x-python | PythonLexer
vivainio
added %rep, factored %hist to maghistory, added examples/extension.py template for new magics
r689 # -*- coding: utf-8 -*-
import IPython.ipapi
ip = IPython.ipapi.get()
def ${name}_f(self, arg):
r""" Short explanation
Long explanation, examples
"""
# opts,args = self.parse_options(arg,'rx')
# if 'r' in opts: pass
ip.expose_magic("${name}",${name}_f)