#3991·mkdocs

详细标志覆盖 --strict 标志。

作者: damar261创建于 2025年5月27日更新于 2026年5月5日
标签Bug

当我使用 mkdocs build --strict 构建文档时,由于警告而出现错误: Aborted with 5 warnings in strict mode! 但是在 verbose 打开的情况下(mkdocs build -v --strict),构建完成了: INFO - Documentation built in 10.17 seconds 输出值(bash 终端中的 $?)具有相同的行为: mkdocs build --strict 返回 1,而 mkdocs build -v --strict 返回 0