Skip to content

Commit 8499da3

Browse files
committed
Fix: warnings complaining the IPython lexer
When building docs, sphinx was spiting out warnings because IPython's lexers are unknown. Added the necessary extensions to sphinx config file.
1 parent e91d443 commit 8499da3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@
3838
'sphinx.ext.autosummary',
3939
'numpy_ext.numpydoc',
4040
'matplotlib.sphinxext.plot_directive',
41-
'matplotlib.sphinxext.only_directives'
41+
'matplotlib.sphinxext.only_directives',
42+
'matplotlib.sphinxext.ipython_directive',
43+
'ipython_console_highlighting'
4244
]
4345

4446
# Add any paths that contain templates here, relative to this directory.

0 commit comments

Comments
 (0)