##// END OF EJS Templates
Remove outdated info from README...
Remove outdated info from README We no longer use submodules, and a development install is now no different from how you'd do an editable install of any Python package, so there's no need for us to be documenting it explicitly.

File last commit:

r21400:916e7031
r21499:bec8d3dc
Show More
autogen_config.py
29 lines | 1008 B | text/x-python | PythonLexer
#!/usr/bin/env python
from IPython.terminal.ipapp import TerminalIPythonApp
from ipykernel.kernelapp import IPKernelApp
def write_doc(name, title, app, preamble=None):
filename = '%s.rst' % name
with open('source/config/options/%s' % filename, 'w') as f:
f.write(title + '\n')
f.write(('=' * len(title)) + '\n')
f.write('\n')
if preamble is not None:
f.write(preamble + '\n\n')
f.write(app.document_config_options())
with open('source/config/options/generated', 'a') as f:
f.write(filename + '\n')
if __name__ == '__main__':
# create empty file
with open('source/config/options/generated', 'w'):
pass
write_doc('terminal', 'Terminal IPython options', TerminalIPythonApp())
write_doc('kernel', 'IPython kernel options', IPKernelApp(),
preamble=("These options can be used in :file:`ipython_kernel_config.py`. "
"The kernel also respects any options in `ipython_config.py`"),
)