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
8c7d8bd8
Unverified
Commit
8c7d8bd8
authored
Jan 18, 2023
by
Rhett Ying
Committed by
GitHub
Jan 18, 2023
Browse files
[Doc] exclude some patterns
parent
f7573c6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
docs/source/conf.py
docs/source/conf.py
+2
-0
No files found.
docs/source/conf.py
View file @
8c7d8bd8
...
@@ -77,8 +77,10 @@ language = None
...
@@ -77,8 +77,10 @@ language = None
exclude_patterns
=
[]
exclude_patterns
=
[]
if
dglbackend
==
"mxnet"
:
if
dglbackend
==
"mxnet"
:
include_patterns
=
[
'api/python/nn-mxnet*'
]
include_patterns
=
[
'api/python/nn-mxnet*'
]
exclude_patterns
=
[
'api/python/.*(?!mxnet)*'
]
elif
dglbackend
==
"tensorflow"
:
elif
dglbackend
==
"tensorflow"
:
include_patterns
=
[
'api/python/nn-tensorflow*'
]
include_patterns
=
[
'api/python/nn-tensorflow*'
]
exclude_patterns
=
[
'api/python/.*(?!tensorflow)*'
]
else
:
else
:
# pytorch
# pytorch
exclude_patterns
=
[
'api/python/nn-tensorflow*'
,
'api/python/nn-mxnet*'
]
exclude_patterns
=
[
'api/python/nn-tensorflow*'
,
'api/python/nn-mxnet*'
]
...
...
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