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
535f4b29
Unverified
Commit
535f4b29
authored
Jan 19, 2023
by
Rhett Ying
Committed by
GitHub
Jan 19, 2023
Browse files
[Doc] enable note book exec for pytorch backend
parent
dffe722f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
docs/source/conf.py
docs/source/conf.py
+6
-2
No files found.
docs/source/conf.py
View file @
535f4b29
...
...
@@ -53,8 +53,9 @@ extensions = [
'nbsphinx_link'
,
]
# TODO(#5199): 'auto' or 'always' should be used.
nbsphinx_execute
=
'never'
# Do not run notebooks on non-pytorch backends
if
dglbackend
!=
"pytorch"
:
nbsphinx_execute
=
'never'
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'_templates'
]
...
...
@@ -215,6 +216,9 @@ gallery_dirs = ['tutorials/blitz/',
'tutorials/models/'
,
'tutorials/multi/'
,
'tutorials/cpu'
]
# path to generate docs
if
dglbackend
!=
"pytorch"
:
examples_dirs
=
[]
gallery_dirs
=
[]
reference_url
=
{
'dgl'
:
None
,
...
...
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