Skip to content

Commit ed4ac40

Browse files
committed
Fix newline and unbalanced inline literals issues
1 parent 1362412 commit ed4ac40

File tree

8 files changed

+19
-13
lines changed

8 files changed

+19
-13
lines changed

docs/_templates/autosummary/base.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{{ fullname | escape | underline}}
22
.. currentmodule:: {{ module }}
3-
.. auto{{ objtype }}:: {{ objname }}
3+
.. auto{{ objtype }}:: {{ objname }}

docs/_templates/autosummary/module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
{%- endfor %}
1010
{% endif %}
11-
{% endblock %}
11+
{% endblock %}

docs/api/database.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ Queries
4444

4545
Query
4646
FieldQuery
47-
AndQuery
47+
AndQuery

docs/changelog.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4839,7 +4839,7 @@ below, for a plethora of new features.
48394839
* **Queries can now contain whitespace.** Spaces passed as shell arguments are
48404840
now preserved, so you can use your shell's escaping syntax (quotes or
48414841
backslashes, for instance) to include spaces in queries. For example,
4842-
typing``beet ls "the knife"`` or ``beet ls the\ knife``. Read more in
4842+
``beet ls "the knife"`` or ``beet ls the\ knife``. Read more in
48434843
:doc:`/reference/query`.
48444844

48454845
* Queries can **match items from the library by directory**. A ``path:`` prefix
@@ -5122,7 +5122,7 @@ issue involves correct ordering of autotagged albums.
51225122
* Fixed a Unicode encoding error when entering special characters into the
51235123
"manual search" prompt.
51245124

5125-
* Added `` beet version`` command that just shows the current release version.
5125+
* Added ``beet version`` command that just shows the current release version.
51265126

51275127
.. _upstream bug: https://github.com/quodlibet/mutagen/issues/7
51285128
.. _Bluelet: https://github.com/sampsyo/bluelet
@@ -5331,7 +5331,7 @@ BPD). To "upgrade" an old database, you can use the included ``albumify`` plugin
53315331
* Fixed some bugs with encoding paths on Windows. Also, ``:`` is now replaced
53325332
with ``-`` in path names (instead of ``_``) for readability.
53335333

5334-
* ``MediaFile``s now have a ``format`` attribute, so you can use ``$format`` in
5334+
* ``MediaFile`` now has a ``format`` attribute, so you can use ``$format`` in
53355335
your library path format strings like ``$artist - $album ($format)`` to get
53365336
directories with names like ``Paul Simon - Graceland (FLAC)``.
53375337

docs/plugins/limit.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,23 @@ Examples
4242

4343
First 10 tracks
4444

45-
$ beet ls | head -n 10
46-
$ beet lslimit --head 10
47-
$ beet ls '<10'
45+
.. code-block:: sh
46+
47+
$ beet ls | head -n 10
48+
$ beet lslimit --head 10
49+
$ beet ls '<10'
4850
4951
Last 10 tracks
5052

53+
.. code-block:: sh
54+
5155
$ beet ls | tail -n 10
5256
$ beet lslimit --tail 10
5357
5458
100 mostly recently released tracks
5559

60+
.. code-block:: sh
61+
5662
$ beet lslimit --head 100 year- month- day-
5763
$ beet ls year- month- day- '<100'
5864
$ beet lslimit --tail 100 year+ month+ day+

docs/plugins/substitute.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ replacement string. For example, you might use:
2121
The replacement can be an expression utilising the matched regex, allowing us
2222
to create more general rules. Say for example, we want to sort all albums by
2323
multiple artists into the directory of the first artist. We can thus capture
24-
everything before the first ``,``, `` &`` or `` and``, and use this capture
24+
everything before the first ``,``, ``\ &`` or ``\ and``, and use this capture
2525
group in the output, discarding the rest of the string.
2626

2727
.. code-block:: yaml

docs/reference/cli.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Optional command flags:
9595
normal autotagger mode would ask for confirmation, the quiet mode
9696
performs a fallback action that can be configured using the
9797
``quiet_fallback`` configuration or ``--quiet-fallback`` CLI option.
98-
By default it pessimistically ``skip``s the file.
98+
By default it pessimistically skips the file.
9999
Alternatively, it can be used as is, by configuring ``asis``.
100100

101101
* Speaking of resuming interrupted imports, the tagger will prompt you if it

docs/reference/query.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ shell).
181181
Numeric Range Queries
182182
---------------------
183183

184-
For numeric fields, such as year, bitrate, and track, you can query using one-
185-
or two-sided intervals. That is, you can find music that falls within a
184+
For numeric fields, such as year, bitrate, and track, you can query using
185+
one-or two-sided intervals. That is, you can find music that falls within a
186186
*range* of values. To use ranges, write a query that has two dots (``..``) at
187187
the beginning, middle, or end of a string of numbers. Dots in the beginning
188188
let you specify a maximum (e.g., ``..7``); dots at the end mean a minimum

0 commit comments

Comments
 (0)