We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 604ef37 commit 80ff2adCopy full SHA for 80ff2ad
2 files changed
Doc/tools/sphinxext/pyspecific.py
@@ -145,10 +145,10 @@ def write(self, *ignored):
145
for label in self.status_iterator(pydoc_topic_labels,
146
'building topics... ',
147
length=len(pydoc_topic_labels)):
148
- if label not in self.env.labels:
+ if label not in self.env.domaindata['std']['labels']:
149
self.warn('label %r not in documentation' % label)
150
continue
151
- docname, labelid, sectname = self.env.labels[label]
+ docname, labelid, sectname = self.env.domaindata['std']['labels'][label]
152
doctree = self.env.get_and_resolve_doctree(docname, self)
153
document = new_document('<section node>')
154
document.append(doctree.ids[labelid])
0 commit comments