Merge topic 'doc-sphinx-cmake-fixup'
5cda2205
Utilities/Sphinx: Add missing call to note_explicit_target
This commit is contained in:
commit
397c762da4
|
@ -203,6 +203,7 @@ class CMakeTransform(Transform):
|
||||||
# Insert the object link target.
|
# Insert the object link target.
|
||||||
targetid = '%s:%s' % (objtype, title)
|
targetid = '%s:%s' % (objtype, title)
|
||||||
targetnode = nodes.target('', '', ids=[targetid])
|
targetnode = nodes.target('', '', ids=[targetid])
|
||||||
|
self.document.note_explicit_target(targetnode)
|
||||||
self.document.insert(0, targetnode)
|
self.document.insert(0, targetnode)
|
||||||
# Insert the object index entry.
|
# Insert the object index entry.
|
||||||
indexnode = addnodes.index()
|
indexnode = addnodes.index()
|
||||||
|
|
Loading…
Reference in New Issue