From d82b1fa70f9c876e9ab7af4da2bd8a07da1a93ca Mon Sep 17 00:00:00 2001 From: Sebastian Mohr Date: Tue, 6 Jan 2026 00:13:21 +0100 Subject: [PATCH] Fixed docs formatting as docstrfmt v2.0.1 introduced some changes. --- docs/plugins/duplicates.rst | 6 +++--- docs/plugins/playlist.rst | 6 +++--- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/plugins/duplicates.rst b/docs/plugins/duplicates.rst index 4580343de..ed94975e9 100644 --- a/docs/plugins/duplicates.rst +++ b/docs/plugins/duplicates.rst @@ -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`. The usage is inspired by, and therefore - similar to, the :ref:`list ` command. Default: :ref:`format_item` + uses the same template syntax as beets' :doc:`path formats + `. The usage is inspired by, and therefore similar to, + the :ref:`list ` 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. diff --git a/docs/plugins/playlist.rst b/docs/plugins/playlist.rst index e89c880ad..1c1275543 100644 --- a/docs/plugins/playlist.rst +++ b/docs/plugins/playlist.rst @@ -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` -similar to a :ref:`specific fields query`. If you want the list in +the beets library. ``playlist:`` submits a regular beets :ref:`query ` +similar to a :ref:`specific fields query `. If you want the list in any particular order, you can use the standard beets query syntax for -:ref:`sorting`: +:ref:`sorting `: :: diff --git a/pyproject.toml b/pyproject.toml index 453a5ff2f..ddf1738be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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."