@@ -160,7 +160,7 @@ backticks. The following are considered inline code:
160160
161161 .. _docstring.short_summary :
162162
163- Section 1: Short summary
163+ Section 1: short summary
164164~~~~~~~~~~~~~~~~~~~~~~~~
165165
166166The short summary is a single sentence that expresses what the function does in
@@ -228,7 +228,7 @@ infinitive verb.
228228
229229 .. _docstring.extended_summary :
230230
231- Section 2: Extended summary
231+ Section 2: extended summary
232232~~~~~~~~~~~~~~~~~~~~~~~~~~~
233233
234234The extended summary provides details on what the function does. It should not
@@ -259,7 +259,7 @@ their use cases, if it is not too generic.
259259
260260 .. _docstring.parameters :
261261
262- Section 3: Parameters
262+ Section 3: parameters
263263~~~~~~~~~~~~~~~~~~~~~
264264
265265The details of the parameters will be added in this section. This section has
@@ -424,7 +424,7 @@ For axis, the convention is to use something like:
424424
425425.. _docstring.returns :
426426
427- Section 4: Returns or Yields
427+ Section 4: returns or yields
428428~~~~~~~~~~~~~~~~~~~~~~~~~~~~
429429
430430If the method returns a value, it will be documented in this section. Also
@@ -505,7 +505,7 @@ If the method yields its value:
505505
506506 .. _docstring.see_also :
507507
508- Section 5: See Also
508+ Section 5: see also
509509~~~~~~~~~~~~~~~~~~~
510510
511511This section is used to let users know about pandas functionality
@@ -583,7 +583,7 @@ For example:
583583
584584 .. _docstring.notes :
585585
586- Section 6: Notes
586+ Section 6: notes
587587~~~~~~~~~~~~~~~~
588588
589589This is an optional section used for notes about the implementation of the
@@ -597,7 +597,7 @@ This section follows the same format as the extended summary section.
597597
598598.. _docstring.examples :
599599
600- Section 7: Examples
600+ Section 7: examples
601601~~~~~~~~~~~~~~~~~~~
602602
603603This is one of the most important sections of a docstring, despite being
@@ -998,4 +998,4 @@ mapping function names to docstrings. Wherever possible, we prefer using
998998
999999See ``pandas.core.generic.NDFrame.fillna `` for an example template, and
10001000``pandas.core.series.Series.fillna `` and ``pandas.core.generic.frame.fillna ``
1001- for the filled versions.
1001+ for the filled versions.
0 commit comments