Skip to content

Conversation

@hugovk
Copy link
Member

@hugovkhugovk commented Nov 24, 2023

Same rationale as #112351.

Fix 166 Sphinx warnings:

SPHINXERRORHANDLING=-n PATH=./venv/bin:$PATH sphinx-build -b html -d build/doctrees -j auto -n . build/html whatsnew/2.3.rst 2>&1| grep 2.3.rst | tee >(wc -l)Doc/whatsnew/2.3.rst:43: WARNING: py:mod reference target not found: setsDoc/whatsnew/2.3.rst:43: WARNING: py:class reference target not found: ImmutableSetDoc/whatsnew/2.3.rst:43: WARNING: py:class reference target not found: ImmutableSetDoc/whatsnew/2.3.rst:66: WARNING: py:meth reference target not found: unionDoc/whatsnew/2.3.rst:66: WARNING: py:meth reference target not found: intersectionDoc/whatsnew/2.3.rst:66: WARNING: py:meth reference target not found: union_updateDoc/whatsnew/2.3.rst:66: WARNING: py:meth reference target not found: intersection_updateDoc/whatsnew/2.3.rst:86: WARNING: py:meth reference target not found: symmetric_difference_updateDoc/whatsnew/2.3.rst:100: WARNING: py:meth reference target not found: issubsetDoc/whatsnew/2.3.rst:100: WARNING: py:meth reference target not found: issupersetDoc/whatsnew/2.3.rst:169: WARNING: py:func reference target not found: generate_intsDoc/whatsnew/2.3.rst:230: WARNING: py:func reference target not found: findDoc/whatsnew/2.3.rst:344: WARNING: py:func reference target not found: os.getcwduDoc/whatsnew/2.3.rst:384: WARNING: py:meth reference target not found: readDoc/whatsnew/2.3.rst:391: WARNING: py:func reference target not found: execfileDoc/whatsnew/2.3.rst:453: WARNING: py:class reference target not found: LoggerDoc/whatsnew/2.3.rst:453: WARNING: py:class reference target not found: LoggerDoc/whatsnew/2.3.rst:453: WARNING: py:class reference target not found: LoggerDoc/whatsnew/2.3.rst:453: WARNING: py:class reference target not found: LoggerDoc/whatsnew/2.3.rst:453: WARNING: py:class reference target not found: LoggerDoc/whatsnew/2.3.rst:481: WARNING: py:meth reference target not found: setLevelDoc/whatsnew/2.3.rst:486: WARNING: py:func reference target not found: warningDoc/whatsnew/2.3.rst:490: WARNING: py:func reference target not found: exceptionDoc/whatsnew/2.3.rst:519: WARNING: py:class reference target not found: LoggerDoc/whatsnew/2.3.rst:519: WARNING: py:attr reference target not found: propagateDoc/whatsnew/2.3.rst:523: WARNING: py:class reference target not found: LoggerDoc/whatsnew/2.3.rst:523: WARNING: py:class reference target not found: LogRecordDoc/whatsnew/2.3.rst:523: WARNING: py:class reference target not found: HandlerDoc/whatsnew/2.3.rst:523: WARNING: py:class reference target not found: LogRecordDoc/whatsnew/2.3.rst:523: WARNING: py:class reference target not found: LogRecordDoc/whatsnew/2.3.rst:523: WARNING: py:class reference target not found: FormatterDoc/whatsnew/2.3.rst:552: WARNING: py:mod reference target not found: __builtin__Doc/whatsnew/2.3.rst:664: WARNING: py:func reference target not found: setupDoc/whatsnew/2.3.rst:705: WARNING: py:mod reference target not found: ihooksDoc/whatsnew/2.3.rst:705: WARNING: py:mod reference target not found: imputilDoc/whatsnew/2.3.rst:705: WARNING: py:mod reference target not found: iuDoc/whatsnew/2.3.rst:712: WARNING: py:mod reference target not found: iuDoc/whatsnew/2.3.rst:793: WARNING: py:func reference target not found: readerDoc/whatsnew/2.3.rst:817: WARNING: py:mod reference target not found: cPickleDoc/whatsnew/2.3.rst:830: WARNING: py:attr reference target not found: __safe_for_unpickling__Doc/whatsnew/2.3.rst:836: WARNING: py:meth reference target not found: __getstate__Doc/whatsnew/2.3.rst:836: WARNING: py:meth reference target not found: __setstate__Doc/whatsnew/2.3.rst:836: WARNING: py:meth reference target not found: __getnewargs__Doc/whatsnew/2.3.rst:939: WARNING: py:meth reference target not found: indicesDoc/whatsnew/2.3.rst:1044: WARNING: py:mod reference target not found: newDoc/whatsnew/2.3.rst:1072: WARNING: py:meth reference target not found: xreadlinesDoc/whatsnew/2.3.rst:1072: WARNING: py:meth reference target not found: xreadlinesDoc/whatsnew/2.3.rst:1072: WARNING: py:attr reference target not found: encodingDoc/whatsnew/2.3.rst:1093: WARNING: py:func reference target not found: sys.getcheckintervalDoc/whatsnew/2.3.rst:1101: WARNING: py:attr reference target not found: __class__Doc/whatsnew/2.3.rst:1140: WARNING: py:meth reference target not found: findDoc/whatsnew/2.3.rst:1143: WARNING: py:meth reference target not found: stripDoc/whatsnew/2.3.rst:1143: WARNING: py:meth reference target not found: lstripDoc/whatsnew/2.3.rst:1143: WARNING: py:meth reference target not found: rstripDoc/whatsnew/2.3.rst:1159: WARNING: py:meth reference target not found: startswithDoc/whatsnew/2.3.rst:1159: WARNING: py:meth reference target not found: endswithDoc/whatsnew/2.3.rst:1162: WARNING: py:meth reference target not found: zfillDoc/whatsnew/2.3.rst:1162: WARNING: py:meth reference target not found: zfillDoc/whatsnew/2.3.rst:1162: WARNING: py:meth reference target not found: zfillDoc/whatsnew/2.3.rst:1176: WARNING: py:class reference target not found: basestringDoc/whatsnew/2.3.rst:1176: WARNING: py:class reference target not found: basestringDoc/whatsnew/2.3.rst:1194: WARNING: py:meth reference target not found: sortDoc/whatsnew/2.3.rst:1206: WARNING: py:func reference target not found: xrangeDoc/whatsnew/2.3.rst:1233: WARNING: py:mod reference target not found: bsddbDoc/whatsnew/2.3.rst:1237: WARNING: py:mod reference target not found: bsddb185Doc/whatsnew/2.3.rst:1237: WARNING: py:mod reference target not found: bsddbDoc/whatsnew/2.3.rst:1237: WARNING: py:mod reference target not found: bsddb3Doc/whatsnew/2.3.rst:1237: WARNING: py:mod reference target not found: bsddbDoc/whatsnew/2.3.rst:1256: WARNING: py:class reference target not found: ExtensionDoc/whatsnew/2.3.rst:1256: WARNING: py:class reference target not found: ExtensionDoc/whatsnew/2.3.rst:1270: WARNING: 'envvar' reference target not found: CPPDoc/whatsnew/2.3.rst:1275: WARNING: py:func reference target not found: DocTestSuiteDoc/whatsnew/2.3.rst:1283: WARNING: py:func reference target not found: gnu_getoptDoc/whatsnew/2.3.rst:1314: WARNING: py:func reference target not found: heappushDoc/whatsnew/2.3.rst:1314: WARNING: py:func reference target not found: heappopDoc/whatsnew/2.3.rst:1343: WARNING: py:func reference target not found: predicateDoc/whatsnew/2.3.rst:1359: WARNING: py:func reference target not found: getpgidDoc/whatsnew/2.3.rst:1359: WARNING: py:func reference target not found: killpgDoc/whatsnew/2.3.rst:1359: WARNING: py:func reference target not found: lchownDoc/whatsnew/2.3.rst:1359: WARNING: py:func reference target not found: loadavgDoc/whatsnew/2.3.rst:1359: WARNING: py:func reference target not found: majorDoc/whatsnew/2.3.rst:1359: WARNING: py:func reference target not found: makedevDoc/whatsnew/2.3.rst:1359: WARNING: py:func reference target not found: minorDoc/whatsnew/2.3.rst:1359: WARNING: py:func reference target not found: mknodDoc/whatsnew/2.3.rst:1365: WARNING: py:func reference target not found: *statDoc/whatsnew/2.3.rst:1369: WARNING: py:class reference target not found: stat_resultDoc/whatsnew/2.3.rst:1369: WARNING: py:func reference target not found: os.stat_float_timesDoc/whatsnew/2.3.rst:1394: WARNING: py:mod reference target not found: linuxaudiodevDoc/whatsnew/2.3.rst:1405: WARNING: py:mod reference target not found: pyexpatDoc/whatsnew/2.3.rst:1405: WARNING: py:attr reference target not found: buffer_textDoc/whatsnew/2.3.rst:1410: WARNING: py:class reference target not found: xrangeDoc/whatsnew/2.3.rst:1410: WARNING: py:func reference target not found: sampleDoc/whatsnew/2.3.rst:1438: WARNING: py:func reference target not found: get_history_itemDoc/whatsnew/2.3.rst:1438: WARNING: py:func reference target not found: get_current_history_lengthDoc/whatsnew/2.3.rst:1438: WARNING: py:func reference target not found: redisplayDoc/whatsnew/2.3.rst:1442: WARNING: py:mod reference target not found: rexecDoc/whatsnew/2.3.rst:1442: WARNING: py:mod reference target not found: BastionDoc/whatsnew/2.3.rst:1442: WARNING: py:mod reference target not found: rexecDoc/whatsnew/2.3.rst:1442: WARNING: py:mod reference target not found: rexecDoc/whatsnew/2.3.rst:1448: WARNING: py:mod reference target not found: rexecDoc/whatsnew/2.3.rst:1448: WARNING: py:mod reference target not found: rexecDoc/whatsnew/2.3.rst:1452: WARNING: py:mod reference target not found: rotorDoc/whatsnew/2.3.rst:1477: WARNING: c:macro reference target not found: PYTHON_API_VERSIONDoc/whatsnew/2.3.rst:1477: WARNING: py:func reference target not found: sys.exc_clearDoc/whatsnew/2.3.rst:1484: WARNING: py:func reference target not found: fillDoc/whatsnew/2.3.rst:1484: WARNING: py:func reference target not found: wrapDoc/whatsnew/2.3.rst:1506: WARNING: py:class reference target not found: TextWrapperDoc/whatsnew/2.3.rst:1506: WARNING: py:class reference target not found: TextWrapperDoc/whatsnew/2.3.rst:1506: WARNING: py:func reference target not found: wrapDoc/whatsnew/2.3.rst:1506: WARNING: py:func reference target not found: fillDoc/whatsnew/2.3.rst:1512: WARNING: py:mod reference target not found: threadDoc/whatsnew/2.3.rst:1512: WARNING: py:mod reference target not found: dummy_threadDoc/whatsnew/2.3.rst:1512: WARNING: py:mod reference target not found: dummy_threadingDoc/whatsnew/2.3.rst:1512: WARNING: py:mod reference target not found: threadDoc/whatsnew/2.3.rst:1524: WARNING: py:mod reference target not found: _threadingDoc/whatsnew/2.3.rst:1524: WARNING: py:mod reference target not found: _threadingDoc/whatsnew/2.3.rst:1532: WARNING: py:func reference target not found: strptimeDoc/whatsnew/2.3.rst:1532: WARNING: py:func reference target not found: strptimeDoc/whatsnew/2.3.rst:1538: WARNING: py:class reference target not found: TimerDoc/whatsnew/2.3.rst:1538: WARNING: py:func reference target not found: unicodeDoc/whatsnew/2.3.rst:1561: WARNING: py:mod reference target not found: TkinterDoc/whatsnew/2.3.rst:1561: WARNING: py:mod reference target not found: TkinterDoc/whatsnew/2.3.rst:1561: WARNING: py:mod reference target not found: TkinterDoc/whatsnew/2.3.rst:1572: WARNING: py:mod reference target not found: _tkinterDoc/whatsnew/2.3.rst:1572: WARNING: py:class reference target not found: _tkinter.Tcl_ObjDoc/whatsnew/2.3.rst:1572: WARNING: py:meth reference target not found: wantobjectsDoc/whatsnew/2.3.rst:1572: WARNING: py:class reference target not found: tkappDoc/whatsnew/2.3.rst:1578: WARNING: py:mod reference target not found: _tkinterDoc/whatsnew/2.3.rst:1578: WARNING: py:mod reference target not found: TkinterDoc/whatsnew/2.3.rst:1583: WARNING: py:attr reference target not found: wantobjectsDoc/whatsnew/2.3.rst:1583: WARNING: py:mod reference target not found: TkinterDoc/whatsnew/2.3.rst:1583: WARNING: py:class reference target not found: tkappDoc/whatsnew/2.3.rst:1592: WARNING: py:mod reference target not found: UserDictDoc/whatsnew/2.3.rst:1592: WARNING: py:class reference target not found: DictMixinDoc/whatsnew/2.3.rst:1598: WARNING: py:meth reference target not found: __setitem__Doc/whatsnew/2.3.rst:1598: WARNING: py:meth reference target not found: __delitem__Doc/whatsnew/2.3.rst:1598: WARNING: py:meth reference target not found: keysDoc/whatsnew/2.3.rst:1641: WARNING: py:meth reference target not found: toxmlDoc/whatsnew/2.3.rst:1641: WARNING: py:meth reference target not found: toprettyxmlDoc/whatsnew/2.3.rst:1645: WARNING: py:mod reference target not found: xmlrpclibDoc/whatsnew/2.3.rst:1645: WARNING: py:class reference target not found: MarshallerDoc/whatsnew/2.3.rst:1651: WARNING: py:mod reference target not found: DocXMLRPCServerDoc/whatsnew/2.3.rst:1664: WARNING: py:mod reference target not found: httplibDoc/whatsnew/2.3.rst:1664: WARNING: py:mod reference target not found: httplibDoc/whatsnew/2.3.rst:1685: WARNING: py:class reference target not found: dateDoc/whatsnew/2.3.rst:1685: WARNING: py:class reference target not found: dateDoc/whatsnew/2.3.rst:1685: WARNING: py:class reference target not found: timedeltaDoc/whatsnew/2.3.rst:1685: WARNING: py:class reference target not found: tzinfoDoc/whatsnew/2.3.rst:1692: WARNING: py:class reference target not found: dateDoc/whatsnew/2.3.rst:1692: WARNING: py:meth reference target not found: date.todayDoc/whatsnew/2.3.rst:1710: WARNING: py:meth reference target not found: replaceDoc/whatsnew/2.3.rst:1710: WARNING: py:class reference target not found: dateDoc/whatsnew/2.3.rst:1720: WARNING: py:meth reference target not found: isoformatDoc/whatsnew/2.3.rst:1720: WARNING: py:class reference target not found: dateDoc/whatsnew/2.3.rst:1720: WARNING: py:class reference target not found: timedeltaDoc/whatsnew/2.3.rst:1720: WARNING: py:class reference target not found: dateDoc/whatsnew/2.3.rst:1742: WARNING: py:class reference target not found: OptionParserDoc/whatsnew/2.3.rst:1756: WARNING: py:meth reference target not found: parse_argsDoc/whatsnew/2.3.rst:1927: WARNING: py:attr reference target not found: __module__Doc/whatsnew/2.3.rst:1940: WARNING: py:func reference target not found: forkDoc/whatsnew/2.3.rst:2001: WARNING: py:attr reference target not found: f_linenoDoc/whatsnew/2.3.rst:2006: WARNING: py:attr reference target not found: f_linenoDoc/whatsnew/2.3.rst:2034: WARNING: py:mod reference target not found: _tkinterDoc/whatsnew/2.3.rst:2034: WARNING: py:class reference target not found: _tkinter.Tcl_ObjDoc/whatsnew/2.3.rst:2052: WARNING: py:func reference target not found: setupDoc/whatsnew/2.3.rst:2052: WARNING: py:func reference target not found: get_distutil_options 166

📚 Documentation preview 📚: https://cpython-previews--112373.org.readthedocs.build/

@hugovkhugovk merged commit 961f104 into python:mainDec 14, 2023
@hugovkhugovk deleted the docs-fix-sphinx-warnings-whatsnew-2.3 branch December 14, 2023 20:48
@miss-islington-app
Copy link

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @hugovk, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 961f1043a022ddeff314f63480a232335a598d6a 3.12 

@miss-islington-app
Copy link

Sorry, @hugovk, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 961f1043a022ddeff314f63480a232335a598d6a 3.11 

@bedevere-app
Copy link

GH-113142 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12 only security fixes label Dec 14, 2023
hugovk added a commit to hugovk/cpython that referenced this pull request Dec 14, 2023
…thonGH-112373) (cherry picked from commit 961f104) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@bedevere-app
Copy link

GH-113143 is a backport of this pull request to the 3.11 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.11 only security fixes label Dec 14, 2023
hugovk added a commit to hugovk/cpython that referenced this pull request Dec 14, 2023
…thonGH-112373) (cherry picked from commit 961f104) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
hugovk added a commit that referenced this pull request Dec 14, 2023
… (#113142) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
corona10 pushed a commit to corona10/cpython that referenced this pull request Dec 15, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@hugovk@willingc