Unverified Commit 491237aa authored by Rhett Ying's avatar Rhett Ying Committed by GitHub
Browse files

[Doc] ignore tutorial files for non-pytorch backend (#5191)

parent 39106b7d
......@@ -235,6 +235,8 @@ if dglbackend == 'mxnet':
sphinx_gallery_conf['filename_pattern'] = "/*(?<=mx)\.py"
if dglbackend == 'pytorch':
sphinx_gallery_conf['filename_pattern'] = "/*(?<!mx)\.py"
else:
sphinx_gallery_conf['ignore_pattern'] = "/*tutorials/*\.py"
# sphinx-copybutton tool
copybutton_prompt_text = r'>>> |\.\.\. '
......
networkx>=2.1
torch==1.13.1+cpu
torch
numpy
seaborn
matplotlib
......
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