Show More
@@ -135,16 +135,9 b' import ast' | |||
|
135 | 135 | import warnings |
|
136 | 136 | import shutil |
|
137 | 137 | |
|
138 | # To keep compatibility with various python versions | |
|
139 | try: | |
|
140 | from hashlib import md5 | |
|
141 | except ImportError: | |
|
142 | from md5 import md5 | |
|
143 | 138 | |
|
144 | 139 | # Third-party |
|
145 | import sphinx | |
|
146 | 140 | from docutils.parsers.rst import directives |
|
147 | from docutils import nodes | |
|
148 | 141 | from sphinx.util.compat import Directive |
|
149 | 142 | |
|
150 | 143 | # Our own |
@@ -285,6 +278,7 b' class EmbeddedSphinxShell(object):' | |||
|
285 | 278 | |
|
286 | 279 | # Create config object for IPython |
|
287 | 280 | config = Config() |
|
281 | config.HistoryManager.hist_file = ':memory:' | |
|
288 | 282 | config.InteractiveShell.autocall = False |
|
289 | 283 | config.InteractiveShell.autoindent = False |
|
290 | 284 | config.InteractiveShell.colors = 'NoColor' |
General Comments 0
You need to be logged in to leave comments.
Login now