From 8f4bd3bf7ec0671c4edf85feb701d55850bbbf2c Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Tue, 7 Feb 2023 23:23:47 +0400 Subject: ci: Check for broken links when build HTML manual --- .gitlab/ci/configure_sphinx.cmake | 3 +++ 1 file changed, 3 insertions(+) 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() -- cgit v0.12