Sfoglia il codice sorgente

Merge topic 'doc-sphinx-cmake-fixup'

5cda2205 Utilities/Sphinx: Add missing call to note_explicit_target
Brad King 11 anni fa
parent
commit
397c762da4
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Utilities/Sphinx/cmake.py

+ 1 - 0
Utilities/Sphinx/cmake.py

@@ -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()