"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "9a2600ede9810b907668dc806889237bde4e962a"
Unverified Commit 395b89e4 authored by Rhett Ying's avatar Rhett Ying Committed by GitHub
Browse files

[Doc] add nbsphinx for pytorch only

parent 9120b5a7
...@@ -49,9 +49,14 @@ extensions = [ ...@@ -49,9 +49,14 @@ extensions = [
'sphinx.ext.graphviz', 'sphinx.ext.graphviz',
'sphinx_gallery.gen_gallery', 'sphinx_gallery.gen_gallery',
'sphinx_copybutton', 'sphinx_copybutton',
'nbsphinx', #'nbsphinx',
'nbsphinx_link', #'nbsphinx_link',
] ]
if dglbackend == "pytorch":
extensions.extend([
'nbsphinx',
'nbsphinx_link',
])
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment