Utilities/Sphinx: Add index entries for cross-references
Add a document transform to insert index and target nodes just before any CMake domain cross-reference node. This will make references to CMake domain objects appear in the index. Also add a comment explaining why it cannot be done in a result_nodes method of the CMakeXRefRole.
Showing with 47 additions and 3 deletions