Merge topic 'doc-sphinx-cmake-fixup'

5cda2205 Utilities/Sphinx: Add missing call to note_explicit_target
This commit is contained in:
Brad King 2014-11-18 09:12:25 -05:00 committed by CMake Topic Stage
commit 397c762da4
1 changed files with 1 additions and 0 deletions

View File

@ -203,6 +203,7 @@ class CMakeTransform(Transform):
# Insert the object link target.
targetid = '%s:%s' % (objtype, title)
targetnode = nodes.target('', '', ids=[targetid])
self.document.note_explicit_target(targetnode)
self.document.insert(0, targetnode)
# Insert the object index entry.
indexnode = addnodes.index()