From: vsr Date: Wed, 24 Feb 2016 10:28:14 +0000 (+0300) Subject: Use "default" theme for Sphinx < 1.3 X-Git-Tag: V7_8_0a2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=053caa3e8d8875c983dd85ac4ef0310c89a8f51d;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()