Doxygen config improvements (#459)
authorAlpar Juttner <alpar@cs.elte.hu>
Mon, 05 Aug 2013 14:21:58 +0200
changeset 1251218171dc022d
parent 1250 97d978243703
child 1252 38c432e01489
child 1254 c5cd8960df74
Doxygen config improvements (#459)

- remove an erroneous line from DoxygenLayout.xml
- libstdc++ doxygen tagfile version is configurable
- use fixed gcc doc version (4.7.3) instead of the latest one
doc/CMakeLists.txt
doc/Doxyfile.in
doc/DoxygenLayout.xml
     1.1 --- a/doc/CMakeLists.txt	Mon Aug 05 14:03:29 2013 +0200
     1.2 +++ b/doc/CMakeLists.txt	Mon Aug 05 14:21:58 2013 +0200
     1.3 @@ -7,6 +7,11 @@
     1.4  SET(LEMON_DOC_USE_MATHJAX "NO" CACHE STRING "Use MathJax to display math formulae (YES/NO).")
     1.5  SET(LEMON_DOC_MATHJAX_RELPATH "http://www.mathjax.org/mathjax" CACHE STRING "MathJax library location.")
     1.6  
     1.7 +SET(LEMON_DOC_LIBSTDC++_URL
     1.8 +  "http://gcc.gnu.org/onlinedocs/gcc-4.7.3/libstdc++/api"
     1.9 +  CACHE STRING "GCC libstdc++ doxygen doc url.")
    1.10 +
    1.11 +
    1.12  CONFIGURE_FILE(
    1.13    ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
    1.14    ${PROJECT_BINARY_DIR}/doc/Doxyfile
    1.15 @@ -75,7 +80,7 @@
    1.16  
    1.17  IF(WGET_FOUND)
    1.18  ADD_CUSTOM_TARGET(update-external-tags
    1.19 -  COMMAND ${WGET_EXECUTABLE} -N http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag
    1.20 +  COMMAND ${WGET_EXECUTABLE} -N ${LEMON_DOC_LIBSTDC++_URL}/libstdc++.tag
    1.21    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    1.22    )
    1.23  ENDIF()
     2.1 --- a/doc/Doxyfile.in	Mon Aug 05 14:03:29 2013 +0200
     2.2 +++ b/doc/Doxyfile.in	Mon Aug 05 14:21:58 2013 +0200
     2.3 @@ -253,7 +253,7 @@
     2.4  #---------------------------------------------------------------------------
     2.5  # Configuration::additions related to external references
     2.6  #---------------------------------------------------------------------------
     2.7 -TAGFILES               = "@abs_top_builddir@/doc/libstdc++.tag = http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/  "
     2.8 +TAGFILES               = "@abs_top_builddir@/doc/libstdc++.tag = @LEMON_DOC_LIBSTDC++_URL@"
     2.9  GENERATE_TAGFILE       = html/lemon.tag
    2.10  ALLEXTERNALS           = NO
    2.11  EXTERNAL_GROUPS        = NO
     3.1 --- a/doc/DoxygenLayout.xml	Mon Aug 05 14:03:29 2013 +0200
     3.2 +++ b/doc/DoxygenLayout.xml	Mon Aug 05 14:21:58 2013 +0200
     3.3 @@ -17,7 +17,6 @@
     3.4        <tab type="files" visible="yes" title="" intro=""/>
     3.5        <tab type="globals" visible="yes" title="" intro=""/>
     3.6      </tab>
     3.7 -    <tab type="dirs" visible="yes" title="" intro=""/>
     3.8      <tab type="examples" visible="yes" title="" intro=""/>
     3.9      <tab type="pages" visible="yes" title="" intro=""/>
    3.10    </navindex>