Skip to content

Commit

Permalink
Document the option to name the configuration file towncrier.toml
Browse files Browse the repository at this point in the history
Remove obsolete reference to towncrier.ini.
  • Loading branch information
tjanez committed Dec 19, 2019
1 parent fff788d commit aa84c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Install from PyPI::
It is usable by projects written in other languages, provided you give it the version of the project when invoking it.
For Python 2/3 compatible projects, the version can be discovered automatically.

In your project root, add a ``pyproject.toml`` file.
In your project root, add a ``towncrier.toml`` or a ``pyproject.toml`` file (if both files exist, the first will take precedence).
You can configure your project in two ways.
To configure it via an explicit directory, add:

Expand Down Expand Up @@ -84,7 +84,7 @@ To produce the news file for real, run::

towncrier build

This command will remove the news files (with ``git rm``) and append the built news to the filename specified in ``towncrier.ini``, and then stage the news file changes (with ``git add``).
This command will remove the news files (with ``git rm``) and append the built news to the filename specified by ``filename`` configuration option, and then stage the news file changes (with ``git add``).
It leaves committing the changes up to the user.

If you wish to have content at the top of the news file (for example, to say where you can find the tickets), put your text above a rST comment that says::
Expand Down

0 comments on commit aa84c64

Please sign in to comment.