Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar authored May 17, 2022
1 parent 2a32923 commit 58a77d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/cudf/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ def resolve_aliases(app, doctree):
def ignore_internal_references(app, env, node, contnode):
name = node.get("reftarget", None)
if name == "cudf.core.index.GenericIndex":
# We don't exposed docs for `cudf.core.index.GenericIndex`
# hence we would want the docstring & mypy references to
# use `cudf.Index`
node["reftarget"] = "cudf.Index"
return contnode
elif name is not None and name in _internal_names_to_ignore:
Expand Down

0 comments on commit 58a77d8

Please sign in to comment.