Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
8a7031c7 by Cédric Krier at 2023-01-11T13:44:38+01:00
Check documentation links only when CHECK_LINK is set
- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -56,7 +56,10 @@
   script:
     - cd "${PACKAGE}"
     - python -m sphinx -T -E -W -n -b html ${DOC_DIR} _build/html
-    - python -m sphinx -T -E -W -n -b linkcheck ${DOC_DIR} _build
+    - |
+      if [ "${CHECK_LINK}" ]; then
+      python -m sphinx -T -E -W -n -b linkcheck ${DOC_DIR} _build;
+      fi
   rules:
     - changes:
         - ${PACKAGE}/${DOC_DIR}/**/*



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/8a7031c7e3f8d0117d2f57fbf43b0da5c231c738

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/8a7031c7e3f8d0117d2f57fbf43b0da5c231c738
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to