Skip to content

Commit 719aa83

Browse files
authored
Temporarily nitpick_ignore_regex pandas sphinx references (rapidsai#21774)
We'll be able to restore this once the pandas documentation is back up. Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Bradley Dice (https://github.com/bdice) URL: rapidsai#21774
1 parent 232fffd commit 719aa83

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

docs/cudf/source/conf.py

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,11 @@ def clean_all_xml_files(path):
325325
"dlpack": ("https://dmlc.github.io/dlpack/latest/", None),
326326
"nanoarrow": ("https://arrow.apache.org/nanoarrow/latest", None),
327327
"numpy": ("https://numpy.org/doc/stable", None),
328-
"pandas": (
329-
"https://pandas.pydata.org/pandas-docs/version/2.3.3/",
330-
None,
331-
),
328+
# Temporarily disable nitpick warnings for pandas: https://github.com/pandas-dev/pandas/issues/64584
329+
# "pandas": (
330+
# "https://pandas.pydata.org/pandas-docs/version/2.3.3/",
331+
# None,
332+
# ),
332333
"polars": ("https://docs.pola.rs/api/python/stable/", None),
333334
"pyarrow": ("https://arrow.apache.org/docs/", None),
334335
"python": ("https://docs.python.org/3", None),
@@ -467,7 +468,7 @@ def _generate_namespaces(namespaces):
467468
_intersphinx_extra_prefixes = ("rmm", "rmm::mr", "mr")
468469

469470
_external_intersphinx_aliases = {
470-
"pandas": "pd",
471+
# "pandas": "pd",
471472
"pyarrow": "pa",
472473
"numpy": "np",
473474
"cupy": "cp",
@@ -625,6 +626,12 @@ def on_missing_reference(app, env, node, contnode):
625626
("py:class", "ArrowLike"),
626627
("py:class", "ExecutorType"),
627628
]
629+
# Temporarily disable nitpick warnings for pandas: https://github.com/pandas-dev/pandas/issues/64584
630+
nitpick_ignore_regex = [
631+
("py:.*", "pandas.*"),
632+
("py:.*", "pd.*"),
633+
("ref.*", ".*pandas.*"),
634+
]
628635

629636

630637
# Needed for the [source] button on the API docs to link to the github code

docs/dask_cudf/source/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright (c) 2018-2025, NVIDIA CORPORATION.
1+
# SPDX-FileCopyrightText: Copyright (c) 2018-2026, NVIDIA CORPORATION.
22
# SPDX-License-Identifier: Apache-2.0
33

44
# Configuration file for the Sphinx documentation builder.
@@ -76,7 +76,8 @@
7676
"pyarrow": ("https://arrow.apache.org/docs/", None),
7777
"cudf": ("https://docs.rapids.ai/api/cudf/stable/", None),
7878
"dask": ("https://docs.dask.org/en/stable/", None),
79-
"pandas": ("https://pandas.pydata.org/docs/", None),
79+
# Temporarily disable pandas intersphinx: https://github.com/pandas-dev/pandas/issues/64584
80+
# "pandas": ("https://pandas.pydata.org/docs/", None),
8081
"dask-cuda": ("https://docs.rapids.ai/api/dask-cuda/stable/", None),
8182
}
8283

0 commit comments

Comments
 (0)