summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2023-02-07 19:23:47 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2023-02-07 19:32:48 (GMT)
commit8f4bd3bf7ec0671c4edf85feb701d55850bbbf2c (patch)
tree3afedc448b31a2dfa725d82759841599ae443c53 /.gitlab/ci
parent8c61f15cdc0cfb706391ee354482555f1bc08232 (diff)
downloadCMake-8f4bd3bf7ec0671c4edf85feb701d55850bbbf2c.zip
CMake-8f4bd3bf7ec0671c4edf85feb701d55850bbbf2c.tar.gz
CMake-8f4bd3bf7ec0671c4edf85feb701d55850bbbf2c.tar.bz2
ci: Check for broken links when build HTML manual
Diffstat (limited to '.gitlab/ci')
-rw-r--r--.gitlab/ci/configure_sphinx.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_sphinx.cmake b/.gitlab/ci/configure_sphinx.cmake
index 3750309..9f3f0be 100644
--- a/.gitlab/ci/configure_sphinx.cmake
+++ b/.gitlab/ci/configure_sphinx.cmake
@@ -4,3 +4,6 @@ set(SPHINX_HTML ON CACHE BOOL "")
set(SPHINX_SINGLEHTML ON CACHE BOOL "")
set(SPHINX_QTHELP ON CACHE BOOL "")
set(SPHINX_TEXT ON CACHE BOOL "")
+if(NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "")
+ set(SPHINX_LINKCHECK ON CACHE BOOL "")
+endif()