Skip to content

Commit b762af6

Browse files
authored
CI/DOC: Fix docbuild link warnings (pandas-dev#45458)
1 parent 69451f8 commit b762af6

File tree

6 files changed

+13
-26
lines changed

6 files changed

+13
-26
lines changed

doc/source/development/contributing_codebase.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,7 @@ Writing tests
490490
All tests should go into the ``tests`` subdirectory of the specific package.
491491
This folder contains many current examples of tests, and we suggest looking to these for
492492
inspiration. If your test requires working with files or
493-
network connectivity, there is more information on the `testing page
494-
<https://github.com/pandas-dev/pandas/wiki/Testing>`_ of the wiki.
493+
network connectivity, there is more information on the :wiki:`Testing` of the wiki.
495494

496495
The ``pandas._testing`` module has many special ``assert`` functions that
497496
make it easier to make statements about whether Series or DataFrame objects are

doc/source/development/roadmap.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ types. This includes consistent behavior in all operations (indexing, arithmetic
7474
operations, comparisons, etc.). There has been discussion of eventually making
7575
the new semantics the default.
7676

77-
This has been discussed at
78-
`github #28095 <https://github.com/pandas-dev/pandas/issues/28095>`__ (and
77+
This has been discussed at :issue:`28095` (and
7978
linked issues), and described in more detail in this
8079
`design doc <https://hackmd.io/@jorisvandenbossche/Sk0wMeAmB>`__.
8180

@@ -129,8 +128,7 @@ We propose that it should only work with positional indexing, and the translatio
129128
to positions should be entirely done at a higher level.
130129

131130
Indexing is a complicated API with many subtleties. This refactor will require care
132-
and attention. More details are discussed at
133-
https://github.com/pandas-dev/pandas/wiki/(Tentative)-rules-for-restructuring-indexing-code
131+
and attention. More details are discussed at :wiki:`(Tentative)-rules-for-restructuring-indexing-code`
134132

135133
Numba-accelerated operations
136134
----------------------------

doc/source/ecosystem.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,6 @@ Development tools
587587
While pandas repository is partially typed, the package itself doesn't expose this information for external use.
588588
Install pandas-stubs to enable basic type coverage of pandas API.
589589

590-
Learn more by reading through these issues `14468 <https://github.com/pandas-dev/pandas/issues/14468>`_,
591-
`26766 <https://github.com/pandas-dev/pandas/issues/26766>`_, `28142 <https://github.com/pandas-dev/pandas/issues/28142>`_.
590+
Learn more by reading through :issue:`14468`, :issue:`26766`, :issue:`28142`.
592591

593592
See installation and usage instructions on the `github page <https://github.com/VirtusLab/pandas-stubs>`__.

doc/source/user_guide/advanced.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1246,5 +1246,5 @@ This is because the (re)indexing operations above silently inserts ``NaNs`` and
12461246
changes accordingly. This can cause some issues when using ``numpy`` ``ufuncs``
12471247
such as ``numpy.logical_and``.
12481248

1249-
See the `this old issue <https://github.com/pydata/pandas/issues/2388>`__ for a more
1249+
See the :issue:`2388` for a more
12501250
detailed discussion.

doc/source/user_guide/cookbook.rst

+7-14
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,7 @@ The :ref:`indexing <indexing>` docs.
193193
194194
df[(df.AAA <= 6) & (df.index.isin([0, 2, 4]))]
195195
196-
`Use loc for label-oriented slicing and iloc positional slicing
197-
<https://github.com/pandas-dev/pandas/issues/2904>`__
196+
Use loc for label-oriented slicing and iloc positional slicing :issue:`2904`
198197

199198
.. ipython:: python
200199
@@ -395,8 +394,7 @@ Sorting
395394
396395
df.sort_values(by=("Labs", "II"), ascending=False)
397396
398-
`Partial selection, the need for sortedness;
399-
<https://github.com/pandas-dev/pandas/issues/2995>`__
397+
Partial selection, the need for sortedness :issue:`2995`
400398

401399
Levels
402400
******
@@ -910,8 +908,7 @@ Valid frequency arguments to Grouper :ref:`Timeseries <timeseries.offset_aliases
910908
`Grouping using a MultiIndex
911909
<https://stackoverflow.com/questions/41483763/pandas-timegrouper-on-multiindex>`__
912910

913-
`Using TimeGrouper and another grouping to create subgroups, then apply a custom function
914-
<https://github.com/pandas-dev/pandas/issues/3791>`__
911+
Using TimeGrouper and another grouping to create subgroups, then apply a custom function :issue:`3791`
915912

916913
`Resampling with custom periods
917914
<https://stackoverflow.com/questions/15408156/resampling-with-custom-periods>`__
@@ -947,8 +944,7 @@ Depending on df construction, ``ignore_index`` may be needed
947944
df = pd.concat([df1, df2], ignore_index=True)
948945
df
949946
950-
`Self Join of a DataFrame
951-
<https://github.com/pandas-dev/pandas/issues/2996>`__
947+
Self Join of a DataFrame :issue:`2996`
952948

953949
.. ipython:: python
954950
@@ -1070,8 +1066,7 @@ using that handle to read.
10701066
`Inferring dtypes from a file
10711067
<https://stackoverflow.com/questions/15555005/get-inferred-dataframe-types-iteratively-using-chunksize>`__
10721068

1073-
`Dealing with bad lines
1074-
<https://github.com/pandas-dev/pandas/issues/2886>`__
1069+
Dealing with bad lines :issue:`2886`
10751070

10761071
`Dealing with bad lines II
10771072
<http://nipunbatra.github.io/2013/06/reading-unclean-data-csv-using-pandas/>`__
@@ -1211,8 +1206,7 @@ The :ref:`Excel <io.excel>` docs
12111206
`Modifying formatting in XlsxWriter output
12121207
<https://pbpython.com/improve-pandas-excel-output.html>`__
12131208

1214-
`Loading only visible sheets
1215-
<https://github.com/pandas-dev/pandas/issues/19842#issuecomment-892150745>`__
1209+
Loading only visible sheets :issue:`19842#issuecomment-892150745`
12161210

12171211
.. _cookbook.html:
12181212

@@ -1232,8 +1226,7 @@ The :ref:`HDFStores <io.hdf5>` docs
12321226
`Simple queries with a Timestamp Index
12331227
<https://stackoverflow.com/questions/13926089/selecting-columns-from-pandas-hdfstore-table>`__
12341228

1235-
`Managing heterogeneous data using a linked multiple table hierarchy
1236-
<https://github.com/pandas-dev/pandas/issues/3032>`__
1229+
Managing heterogeneous data using a linked multiple table hierarchy :issue:`3032`
12371230

12381231
`Merging on-disk tables with millions of rows
12391232
<https://stackoverflow.com/questions/14614512/merging-two-tables-with-millions-of-rows-in-python/14617925#14617925>`__

doc/source/whatsnew/v0.17.1.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ Conditional HTML formatting
3737
.. warning::
3838
This is a new feature and is under active development.
3939
We'll be adding features an possibly making breaking changes in future
40-
releases. Feedback is welcome_.
41-
42-
.. _welcome: https://github.com/pandas-dev/pandas/issues/11610
40+
releases. Feedback is welcome in :issue:`11610`
4341

4442
We've added *experimental* support for conditional HTML formatting:
4543
the visual styling of a DataFrame based on the data.

0 commit comments

Comments
 (0)