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
491237aa
Unverified
Commit
491237aa
authored
Jan 17, 2023
by
Rhett Ying
Committed by
GitHub
Jan 17, 2023
Browse files
[Doc] ignore tutorial files for non-pytorch backend (#5191)
parent
39106b7d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
docs/source/conf.py
docs/source/conf.py
+2
-0
tutorials/requirements.txt
tutorials/requirements.txt
+1
-1
No files found.
docs/source/conf.py
View file @
491237aa
...
...
@@ -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
'>>> |\.\.\. '
...
...
tutorials/requirements.txt
View file @
491237aa
networkx>=2.1
torch
==1.13.1+cpu
torch
numpy
seaborn
matplotlib
...
...
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