Skip to content

Commit 4d4e3d9

Browse files
committed
fix: try trick to get syntax highlighting in notebooks
1 parent ce243f2 commit 4d4e3d9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"sphinx.ext.napoleon",
3939
"sphinx.ext.viewcode",
4040
"nbsphinx",
41+
"IPython.sphinxext.ipython_console_highlighting",
4142
]
4243

4344
autodoc_mock_imports = [

docs/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
ipython
12
nbsphinx
23
packaging
34
pydot>=1.2.3

0 commit comments

Comments
 (0)