dotnet / dotnet/docfx

Making the build fail if there is a warnings in the log

Open
#6,894 3 comments 0 reactions 0 assignees View on GitHub
fundamental
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 9m
Merged PRs (30d)
11

Description

**Operating System**: `Windows`

**DocFX Version Used**: `2.56.5.0`

**Template used**: custom template

**Steps to Reproduce**:

1. Run a build on any CI build server or in a script (e.g. .ps1 or .cmd) where either `docfx metadata`, `docfx build` or `docfx pdf` produces at least one warning (e.g. because a a link cannot be resolved).

**Expected Behavior**:
The CI build fails or the script fails or there should be means to make it fail in such a situation.

**Actual Behavior**:
The CI build does not fail and there are no means to make it fail in such a situation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.