##// END OF EJS Templates
Don't try to document notebook & Qt console config options...
Thomas Kluyver -
Show More
@@ -4,7 +4,6 b' from IPython.utils.text import indent, dedent'
4
4
5 from IPython.terminal.ipapp import TerminalIPythonApp
5 from IPython.terminal.ipapp import TerminalIPythonApp
6 from IPython.kernel.zmq.kernelapp import IPKernelApp
6 from IPython.kernel.zmq.kernelapp import IPKernelApp
7 from IPython.html.notebookapp import NotebookApp
8
7
9 def document_config_options(classes):
8 def document_config_options(classes):
10 lines = []
9 lines = []
@@ -71,17 +70,4 b" if __name__ == '__main__':"
71 write_doc('kernel', 'IPython kernel options', kernel_classes,
70 write_doc('kernel', 'IPython kernel options', kernel_classes,
72 preamble="These options can be used in :file:`ipython_kernel_config.py`",
71 preamble="These options can be used in :file:`ipython_kernel_config.py`",
73 )
72 )
74 write_doc('notebook', 'IPython notebook options', NotebookApp().classes,
75 preamble="To configure the IPython kernel, see :doc:`kernel`."
76 )
77
78 try:
79 from IPython.qt.console.qtconsoleapp import IPythonQtConsoleApp
80 except ImportError:
81 print("WARNING: Could not import qtconsoleapp. Config options for the "
82 "Qt Console will not be documented.")
83 else:
84 write_doc('qtconsole', 'IPython Qt console options', IPythonQtConsoleApp().classes,
85 preamble="To configure the IPython kernel, see :doc:`kernel`."
86 )
87
73
General Comments 0
You need to be logged in to leave comments. Login now