From: vsr Date: Wed, 24 Feb 2016 10:28:14 +0000 (+0300) Subject: Use "default" theme for Sphinx < 1.3 X-Git-Tag: V8_0_0rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2f9a949c54204478e4e6f2907e802e33ee34455a;p=tools%2Fdocumentation.git Use "default" theme for Sphinx < 1.3 --- diff --git a/CMakeModules/FindSphinx.cmake b/CMakeModules/FindSphinx.cmake index 648d170..7c9b0bf 100644 --- a/CMakeModules/FindSphinx.cmake +++ b/CMakeModules/FindSphinx.cmake @@ -48,7 +48,7 @@ IF(SPHINX_EXECUTABLE) STRING(REGEX REPLACE ".* ([0-9.]+)$" "\\1" SPHINX_VERSION "${SPHINX_VERSION}" ) MESSAGE(STATUS "Sphinx version is ${SPHINX_VERSION}") IF(SPHINX_VERSION VERSION_LESS "1.3") - SET(SPHINX_THEME "basic") + SET(SPHINX_THEME "default") ELSE() SET(SPHINX_THEME "classic") ENDIF()