[cmake-developers] CMake variable documentation containing <>

Brad King brad.king at kitware.com
Tue Nov 12 09:23:44 EST 2013


On 11/10/2013 03:29 PM, Nils Gladitz wrote:
> After adding documentation for new variables I noticed that for e.g.:
>      CPACK_WIX_<TOOL>_EXTENSIONS
> only CPACK_WIX__EXTENSIONS  shows up in the search results.
> 
> Same seems to be the case for existing documentation for variables like 
> CMAKE_<LANG>_FLAGS:
>      http://www.cmake.org/cmake/help/git-master/search.html?q=_FLAGS
> 
> Is there something that can/should be done about that?

It looks like only the page rendering of the search results that is
incorrect.  The generated html code has correct links but the text
of the link is generated as

 variable:CMAKE_<lang>_FLAGS</lang>

instead of

 variable:CMAKE_<LANG>_FLAGS

It is likely a bug in Shpinx, perhaps in "searchtools.js".

-Brad



More information about the cmake-developers mailing list