Is there a way to have WARNING
flags on mkdocs build
(or serve
) raise an error code?
#6532
-
In my GitHub Actions suite, I run |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @Andrew-S-Rosen, |
Beta Was this translation helpful? Give feedback.
Hello @Andrew-S-Rosen,
What do you mean by
WARNING
flags?The
--strict
(-s
) flag should stop execution on any warning that is logged in MkDocs.mkdocs build --strict
You can also look at https://www.mkdocs.org/user-guide/configuration/#validation to specify the logging level for different issues with url lookup and use it together with the above.