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 = [
'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,
......
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