Browse Source

Merge topic 'feature/sphinx-linkcheck'

6789af36bf Help: Fix broken links found by `linkcheck`
8f4bd3bf7e ci: Check for broken links when build HTML manual

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8177
Brad King 2 years ago
parent
commit
61f271f6ed
2 changed files with 5 additions and 2 deletions
  1. 3 0
      .gitlab/ci/configure_sphinx.cmake
  2. 2 2
      Help/cpack_gen/nuget.rst

+ 3 - 0
.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()

+ 2 - 2
Help/cpack_gen/nuget.rst

@@ -258,7 +258,7 @@ List of CPack NuGet generator specific variables:
 
 .. _nuget.org: https://www.nuget.org
 .. _version specification: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning#version-ranges
-.. _SPDX license identifier: https://spdx.github.io/spdx-spec/SPDX-license-list
-.. _SPDX specification: https://spdx.github.io/spdx-spec/SPDX-license-expressions
+.. _SPDX license identifier: https://spdx.org/licenses
+.. _SPDX specification: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions
 
 .. NuGet spec docs https://docs.microsoft.com/en-us/nuget/reference/nuspec