-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It was written for the Debian GNU/Linux system but may be used by others.
- Loading branch information
Sergio de Almeida Cipriano Junior
committed
Mar 12, 2021
1 parent
4eb4b24
commit e9df750
Showing
1 changed file
with
161 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
.ds command towncrier | ||
.ds COMMAND TOWNCRIER | ||
|
||
.TH "\*[COMMAND]" 1 "2021-03-10" "Debian" | ||
|
||
.SH NAME | ||
.B \*[command] | ||
\- Compiler for project news file | ||
|
||
.SH SYNOPSIS | ||
|
||
.SY \*[command] | ||
.OP build | ||
.OP check | ||
.OP create " FRAGMENTFILE" | ||
.YS | ||
|
||
.SY \*[command] | ||
.OP \-\-config | ||
.YS | ||
|
||
.SY \*[command] | ||
.OP \-\-date " PROJECT_DATE" | ||
.YS | ||
|
||
.SY \*[command] | ||
.OP \-\-dir | ||
.YS | ||
|
||
.SY \*[command] | ||
.OP \-h | ||
.YS | ||
|
||
.SY \*[command] | ||
.OP \-\-name " PROJECT_NAME" | ||
.YS | ||
|
||
.SY \*[command] | ||
.OP \-\-version " PROJECT_VERSION" | ||
.YS | ||
|
||
.SY \*[command] | ||
.OP \-v | ||
.YS | ||
|
||
.SH DESCRIPTION | ||
|
||
.P | ||
Towncrier is a utility to produce useful, summarised news files for your project. | ||
Rather than reading the Git history as some newer tools to produce it, or having | ||
one single file which developers all write to, towncrier reads "news fragments" | ||
which contain information useful to end users. | ||
|
||
.P | ||
Towncrier delivers the news which is convenient to those that hear it, not those | ||
that write it. | ||
|
||
.P | ||
That is, a “news fragment” (a small file containing just enough information to | ||
be useful to end users) can be written that summarises what has changed from the | ||
“developer log” (which may contain complex information about the original issue, | ||
how it was fixed, who authored the fix, and who reviewed the fix). By compiling | ||
a collection of these fragments, towncrier can produce a digest of the changes | ||
which is valuable to those who may wish to use the software. | ||
|
||
.SH COMMAND LINE OPTIONS | ||
|
||
.TP | ||
.B build | ||
Build a combined news file from news fragment. With the option | ||
.B \-\-draft, | ||
render the news fragments, don't write to files, don't check versions. | ||
|
||
.TP | ||
.BI check | ||
Check for new fragments on a branch. | ||
|
||
.TP | ||
.BI create " FRAGMENTFILE" | ||
.RS | ||
.P | ||
Create a new news fragment called \f[I]FRAGMENTFILE\f[]. Towncrier has a few standard | ||
types of news fragments, signified by the file extension. These are: | ||
.RS | ||
.TP | ||
".feature": a new feature, | ||
.TP | ||
".bugfix": a bug fix, | ||
.TP | ||
".doc": a documentation improvement, | ||
.TP | ||
".removal": a deprecation or removal of public API, | ||
.TP | ||
".misc": a ticket has been closed, but it is not of interest to users, | ||
.RE | ||
.RE | ||
|
||
.TP | ||
.BI \-\-config " CONFIGFILE" | ||
Configuration file name. (Default: towncrier will look for towncrier.toml or | ||
pyproject.toml file, if both files exist, the first will take precedence as | ||
\f[I]CONFIGFILE\f[]). | ||
|
||
.TP | ||
.BI \-\-date " PROJECT_DATE" | ||
Specify the \f[I]PROJECT_DATE\f[] following the format \f[B]YYYY-MM-DD\f[] | ||
(Default: current date in the system). | ||
|
||
.TP | ||
.BI \-\-dir " DIRECTORY" | ||
Create the fragment in directory \f[I]DIRECTORY\f[] (Default: \f[I]$PWD\f[]). | ||
|
||
.TP | ||
.B \-h | ||
Display usage commands (not every command line option will be printed). | ||
|
||
.TP | ||
.BI \-\-name " PROJECT_NAME" | ||
Define project name \f[I]PROJECT_NAME\f[] (Default: python package title). | ||
|
||
.TP | ||
.BI \-\-version " PROJECT_VERSION" | ||
Render the news fragments using given version " PROJECT_VERSION" (Default: | ||
python package version). | ||
|
||
.TP | ||
.B \-v | ||
Display towncrier version information. | ||
|
||
.SH REPORTING BUGS | ||
|
||
.P | ||
Please report any bugs using | ||
.UR https://github.com/twisted/towncrier/issues/new | ||
the GitHub issue tracker | ||
.UE . | ||
|
||
.SH SEE ALSO | ||
|
||
.P | ||
For more information, you may visit the | ||
.UR https://github.com/twisted/towncrier | ||
source code | ||
.UE . | ||
|
||
.SH AUTHOR | ||
\fBTowncrier\fR is copyright (c) 2015-2016, Amber Brown, meejah. | ||
|
||
.P | ||
This manual page was written by | ||
.UR [email protected] | ||
Sérgio de Almeida Cipriano Junior | ||
.UE . | ||
It was written for the Debian GNU/Linux system but may be used by others. | ||
|
||
.P | ||
Both towncrier and this documentation are released under the terms of the | ||
MIT License. You may view the license on the | ||
.UR https://github.com/twisted/towncrier/blob/master/LICENSE | ||
upstream repository | ||
.UE . |