You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: Break CI build on broken links, ommitted files
Mkdocs is able to detect broken links or files ommitted from the "nav"
configuration, etc. By default, it reports them at the "INFO" level.
Instead, we can have "mkdocs build" report them as warnings. To do so,
we follow the documentation's "recommended settings for most sites
(maximal strictness)" (see link).
Once "mkdocs build" emits warnings for these issues, we can use the
strict mode (-s|--strict) to have the build error out if anything looks
wrong. Let's use this in CI to detect broken links, for example.
Link: https://www.mkdocs.org/user-guide/configuration/#validation
Signed-off-by: Quentin Monnet <qmo@qmon.net>
0 commit comments