diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 12349610..45fc4b4c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,7 @@ jobs: uses: extractions/setup-just@v2 - name: Build docs - run: just build + run: just build --strict - name: Deploy preview to Netlify uses: nwtgck/actions-netlify@v2 diff --git a/Justfile b/Justfile index fb0d8dbb..c4dc2648 100644 --- a/Justfile +++ b/Justfile @@ -14,7 +14,7 @@ _run +cmd: docker run -q --pull=always --rm -v $(pwd):/docs -p 8000:8000 {{image}} {{cmd}} # Build docs site (unversioned) -build: (_run "mkdocs build") +build *opts: (_run "mkdocs build" opts) # Clean generated docs site clean: diff --git a/mkdocs.yml b/mkdocs.yml index d509f9d1..38bdf292 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -133,6 +133,12 @@ markdown_extensions: emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:material.extensions.emoji.to_svg +validation: + omitted_files: warn + absolute_links: warn + unrecognized_links: warn + anchors: warn + watch: - includes - overrides