Unverified Commit 535f4b29 authored by Rhett Ying's avatar Rhett Ying Committed by GitHub
Browse files

[Doc] enable note book exec for pytorch backend

parent dffe722f
...@@ -53,8 +53,9 @@ extensions = [ ...@@ -53,8 +53,9 @@ extensions = [
'nbsphinx_link', 'nbsphinx_link',
] ]
# TODO(#5199): 'auto' or 'always' should be used. # Do not run notebooks on non-pytorch backends
nbsphinx_execute = 'never' if dglbackend != "pytorch":
nbsphinx_execute = 'never'
# 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']
...@@ -215,6 +216,9 @@ gallery_dirs = ['tutorials/blitz/', ...@@ -215,6 +216,9 @@ gallery_dirs = ['tutorials/blitz/',
'tutorials/models/', 'tutorials/models/',
'tutorials/multi/', 'tutorials/multi/',
'tutorials/cpu'] # path to generate docs 'tutorials/cpu'] # path to generate docs
if dglbackend != "pytorch":
examples_dirs = []
gallery_dirs = []
reference_url = { reference_url = {
'dgl' : None, 'dgl' : None,
......
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