Commit 33d27c27 authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

fix: declare exclusion in configuration file

This is simpler to review, document and avoid potential interpretation of regex characters (like '$') by Gitlab CI/CD processing. 
parent df5a7c72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ include:
variables:
  MKD_SITE_DIR: "public"
  MKD_LYCHEE_ENABLED: "true"
  MKD_LYCHEE_ARGS: "--exclude http://127.0.0.1 --exclude https://my-nonprod-k8s.domain --exclude '/static/intro$' --exclude-path SECURITY.md --exclude-path docs/ref/templates-stages-body.part.html --exclude-path docs/secu/ *.md docs/ static/"
  MKD_LYCHEE_ARGS: "*.md docs/ static/"

  # deploy: landing page (static/), mkdocs build (public/), Angular build (kicker/dist/) and aggregated kicker (kicker-aggregated/)
  S3_DEPLOY_FILES: "static/ public/ kicker-aggregated.json"

lychee.toml

0 → 100644
+11 −0
Original line number Diff line number Diff line
#############################  Exclusions  ##########################

exclude = [ 'https://my-nonprod-k8s.domain', '/static/intro$' ]

# Exclude these filesystem paths from getting checked.
exclude_path = [ "SECURITY.md", "docs/ref/templates-stages-body.part.html", "docs/secu/" ]

# Exclude all private IPs from checking.
# Equivalent to setting `exclude_private`, `exclude_link_local`, and
# `exclude_loopback` to true.
exclude_all_private = true
 No newline at end of file