Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
395b89e4
Unverified
Commit
395b89e4
authored
Jan 18, 2023
by
Rhett Ying
Committed by
GitHub
Jan 18, 2023
Browse files
[Doc] add nbsphinx for pytorch only
parent
9120b5a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
docs/source/conf.py
docs/source/conf.py
+7
-2
No files found.
docs/source/conf.py
View file @
395b89e4
...
...
@@ -49,9 +49,14 @@ extensions = [
'sphinx.ext.graphviz'
,
'sphinx_gallery.gen_gallery'
,
'sphinx_copybutton'
,
#'nbsphinx',
#'nbsphinx_link',
]
if
dglbackend
==
"pytorch"
:
extensions
.
extend
([
'nbsphinx'
,
'nbsphinx_link'
,
]
])
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'_templates'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment