Fixed docs formatting as docstrfmt v2.0.1 introduced some changes.

This commit is contained in:
Sebastian Mohr 2026-01-06 00:13:21 +01:00
parent 1bcbee600b
commit d82b1fa70f
3 changed files with 7 additions and 7 deletions

View file

@ -57,9 +57,9 @@ file. The available options mirror the command-line options:
- **delete**: Remove matched items from the library and from the disk. Default:
``no``
- **format**: A specific format with which to print every track or album. This
uses the same template syntax as beets' :doc:`path
formats</reference/pathformat>`. The usage is inspired by, and therefore
similar to, the :ref:`list <list-cmd>` command. Default: :ref:`format_item`
uses the same template syntax as beets' :doc:`path formats
</reference/pathformat>`. The usage is inspired by, and therefore similar to,
the :ref:`list <list-cmd>` command. Default: :ref:`format_item`
- **full**: List every track or album that has duplicates, not just the
duplicates themselves. Default: ``no``
- **keys**: Define in which track or album fields duplicates are to be searched.

View file

@ -29,10 +29,10 @@ searched in the playlist_dir and the ".m3u" extension is appended to the name:
$ beet ls playlist:anotherplaylist
A playlist query will use the paths found in the playlist file to match items in
the beets library. ``playlist:`` submits a regular beets :ref:`query<queries>`
similar to a :ref:`specific fields query<fieldsquery>`. If you want the list in
the beets library. ``playlist:`` submits a regular beets :ref:`query <queries>`
similar to a :ref:`specific fields query <fieldsquery>`. If you want the list in
any particular order, you can use the standard beets query syntax for
:ref:`sorting<query-sort>`:
:ref:`sorting <query-sort>`:
::

View file

@ -234,7 +234,7 @@ cmd = "ruff format"
[tool.poe.tasks.format-docs]
help = "Format the documentation"
cmd = "docstrfmt docs *.rst"
cmd = "docstrfmt docs *.rst -pA"
[tool.poe.tasks.lint]
help = "Check the code for linting issues. Accepts ruff options."