Skip to content

Commit c856b82

Browse files
committed
在Sphinx配置中添加nbsphinx_execute设置,以防止执行notebooks
1 parent 0dfcb8d commit c856b82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'myst_nb',
3535
'deepmodeling_sphinx',
3636
]
37+
nbsphinx_execute = 'never' # 不执行notebooks
38+
3739
myst_enable_extensions = [
3840
"amsmath",
3941
"colon_fence",

0 commit comments

Comments
 (0)