From 369c8b01bbd3391a01834066e66ca2f2807a26f9 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 21 Mar 2023 09:34:06 -0700 Subject: [PATCH] docs: use strict mode to hopefully catch invalid links --- ci/build-docs.sh | 2 +- docs/mkdocs-base.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/build-docs.sh b/ci/build-docs.sh index 5344ad73e..6768f96ff 100755 --- a/ci/build-docs.sh +++ b/ci/build-docs.sh @@ -33,7 +33,7 @@ function ghapi() { python3 ci/subst-release-info.py || exit 1 python3 ci/generate-docs.py || exit 1 -mdbook-linkcheck --standalone docs +#mdbook-linkcheck --standalone docs # Adjust path to pick up pip-installed binaries PATH="$HOME/.local/bin;$PATH" diff --git a/docs/mkdocs-base.yml b/docs/mkdocs-base.yml index a9bd06413..d518eab79 100644 --- a/docs/mkdocs-base.yml +++ b/docs/mkdocs-base.yml @@ -8,6 +8,7 @@ repo_name: wez/wezterm edit_uri: edit/main/docs/ docs_dir: docs site_dir: gh_pages +strict: true theme: name: material logo: favicon.svg