File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ Dependencies
7
7
Incompatible changes
8
8
--------------------
9
9
10
+ * #2068: :confval:`intersphinx_disabled_reftypes` has changed default value
11
+ from an empty list to ``['std:doc']`` as avoid too surprising silent
12
+ intersphinx resolutions.
13
+ To migrate: either add an explicit inventory name to the references
14
+ intersphinx should resolve, or explicitly set the value of this configuration
15
+ variable to an empty list.
16
+
10
17
Deprecated
11
18
----------
12
19
Original file line number Diff line number Diff line change @@ -152,6 +152,10 @@ linking:
152
152
153
153
.. versionadded :: 4.3
154
154
155
+ .. versionchanged :: 5.0
156
+
157
+ Changed default value from an empty list to ``['std:doc'] ``.
158
+
155
159
A list of strings being either:
156
160
157
161
- the name of a specific reference type in a domain,
@@ -160,7 +164,7 @@ linking:
160
164
``std:* ``, ``py:* ``, or ``cpp:* ``, or
161
165
- simply a wildcard ``* ``.
162
166
163
- The default value is an empty list .
167
+ The default value is `` ['std:doc'] `` .
164
168
165
169
When a cross-reference without an explicit inventory specification is being
166
170
resolved by intersphinx, skip resolution if it matches one of the
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ def setup(app: Sphinx) -> Dict[str, Any]:
494
494
app .add_config_value ('intersphinx_mapping' , {}, True )
495
495
app .add_config_value ('intersphinx_cache_limit' , 5 , False )
496
496
app .add_config_value ('intersphinx_timeout' , None , False )
497
- app .add_config_value ('intersphinx_disabled_reftypes' , [], True )
497
+ app .add_config_value ('intersphinx_disabled_reftypes' , ['std:doc' ], True )
498
498
app .connect ('config-inited' , normalize_intersphinx_mapping , priority = 800 )
499
499
app .connect ('builder-inited' , load_mappings )
500
500
app .connect ('missing-reference' , missing_reference )
You can’t perform that action at this time.
0 commit comments