Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 177d055

Browse files
committed
Discourage references in section headings.
This mostly affects what's new/API changes, so put the suggestion there.
1 parent 0a83b9c commit 177d055

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

doc/api/next_api_changes/README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ author's initials. Typically, each change will get its own file, but you may
2222
also amend existing files when suitable. The overall goal is a comprehensible
2323
documentation of the changes.
2424

25-
A typical entry could look like this::
25+
Please avoid using references in section titles, as it causes links to be
26+
confusing in the table of contents. Instead, ensure that a reference is
27+
included in the descriptive text. A typical entry could look like this::
2628

2729
Locators
2830
~~~~~~~~

doc/users/next_whats_new/README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ When adding an entry please look at the currently existing files to
99
see if you can extend any of them. If you create a file, name it
1010
something like :file:`cool_new_feature.rst` if you have added a brand new
1111
feature or something like :file:`updated_feature.rst` for extensions of
12-
existing features. Include contents of the form: ::
12+
existing features.
13+
14+
Please avoid using references in section titles, as it causes links to be
15+
confusing in the table of contents. Instead, ensure that a reference is
16+
included in the descriptive text. Include contents of the form: ::
1317

1418
Section Title for Feature
1519
-------------------------

0 commit comments

Comments
 (0)