Skip to content

Commit

Permalink
[doc] do not display nn.tensorflow and nn.mxnet (#7190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhett-Ying committed Mar 4, 2024
1 parent 64a8a0e commit 69247f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions docs/source/api/python/nn-pytorch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,7 @@ Utility Modules
~dgl.nn.pytorch.explain.PGExplainer
~dgl.nn.pytorch.explain.HeteroPGExplainer
~dgl.nn.pytorch.utils.LabelPropagation
~dgl.nn.pytorch.graph_transformer.DegreeEncoder
~dgl.nn.pytorch.utils.LaplacianPosEnc
~dgl.nn.pytorch.graph_transformer.BiasedMultiheadAttention
~dgl.nn.pytorch.graph_transformer.EGTLayer
~dgl.nn.pytorch.graph_transformer.GraphormerLayer
~dgl.nn.pytorch.graph_transformer.PathEncoder
~dgl.nn.pytorch.graph_transformer.SpatialEncoder
~dgl.nn.pytorch.graph_transformer.SpatialEncoder3d

Network Embedding Modules
----------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@
# -- Extension configuration -------------------------------------------------
autosummary_generate = True
autodoc_member_order = "alphabetical"
# Skip the following members.
autodoc_mock_imports = ["dgl.nn.mxnet", "dgl.nn.tensorflow"]

intersphinx_mapping = {
"python": (
Expand Down
2 changes: 0 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ Welcome to Deep Graph Library Tutorials and Documentation
api/python/dgl.geometry
api/python/dgl.graphbolt
api/python/nn-pytorch
api/python/nn-tensorflow
api/python/nn-mxnet
api/python/nn.functional
api/python/dgl.ops
api/python/dgl.optim
Expand Down
6 changes: 3 additions & 3 deletions script/dgl_dev.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ dependencies:
- torch_geometric
- tqdm
- boto3 # AWS SDK for python
- sphinx==4.2.0
- sphinx
- sphinx-gallery
- sphinx_rtd_theme
- sphinx_copybutton
- sphinxemoji
- nbsphinx>=0.8.11
- nbsphinx-link>=1.3.0
- nbsphinx
- nbsphinx-link
- pillow
- seaborn
- jupyter_http_over_ws
Expand Down

0 comments on commit 69247f5

Please sign in to comment.