Skip to content

Commit

Permalink
docs: --fail-if-warn and --check-links
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder committed Oct 19, 2023
1 parent 2ab13a2 commit 8a430cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@ correspond to a git tag. For example, this changelog entry with the title
If there's no detectable version number in the header, or there isn't a git
tag with the same number, then the entry can't be created as a GitHub release.

The ``--fail-if-warn`` option will end the command if a format conversion
generates a warning, usually because of a missing reference. The
``--check-links`` option will find the URLs in the release description, and
check if they are valid. Warnings are displayed for invalid URLs, but the
command still creates the release.

This command is independent of the other commands. It can be used with a
hand-edited changelog file that wasn't created with scriv.

Expand Down

0 comments on commit 8a430cc

Please sign in to comment.