DOCS/man: use the correct directive type for "Warning" admonitions

Some places in the manpage uses `.. admonition:: Warning` instead of
the specific directive type  `.. warning::` for warning admonitions.
This causes the "Warning" text appearing in black color instead of red.
Correct them here.
This commit is contained in:
nanahi 2023-12-26 11:22:39 -05:00 committed by sfan5
parent 26df531b14
commit 3bf8564a4f
2 changed files with 9 additions and 9 deletions

View File

@ -655,7 +655,7 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_).
wasn't started in detached mode, even if ``playback_only`` is wasn't started in detached mode, even if ``playback_only`` is
false. false.
.. admonition:: Warning .. warning::
Don't forget to set the ``playback_only`` field to false if you want Don't forget to set the ``playback_only`` field to false if you want
the command to run while the player is in idle mode, or if you don't the command to run while the player is in idle mode, or if you don't

View File

@ -1961,7 +1961,7 @@ Audio
In earlier mpv versions you could use ``--ad`` to force the spdif wrapper. In earlier mpv versions you could use ``--ad`` to force the spdif wrapper.
This does not work anymore. This does not work anymore.
.. admonition:: Warning .. warning::
There is not much reason to use this. HDMI supports uncompressed There is not much reason to use this. HDMI supports uncompressed
multichannel PCM, and mpv supports lossless DTS-HD decoding via multichannel PCM, and mpv supports lossless DTS-HD decoding via
@ -1988,7 +1988,7 @@ Audio
``--ad=help`` ``--ad=help``
List all available decoders. List all available decoders.
.. admonition:: Warning .. warning::
Enabling compressed audio passthrough (AC3 and DTS via SPDIF/HDMI) with Enabling compressed audio passthrough (AC3 and DTS via SPDIF/HDMI) with
this option is not possible. Use ``--audio-spdif`` instead. this option is not possible. Use ``--audio-spdif`` instead.
@ -2080,7 +2080,7 @@ Audio
``--ad-spdif-dtshd=<yes|no>``, ``--dtshd``, ``--no-dtshd`` ``--ad-spdif-dtshd=<yes|no>``, ``--dtshd``, ``--no-dtshd``
If DTS is passed through, use DTS-HD. If DTS is passed through, use DTS-HD.
.. admonition:: Warning .. warning::
This and enabling passthrough via ``--ad`` are deprecated in favor of This and enabling passthrough via ``--ad`` are deprecated in favor of
using ``--audio-spdif=dts-hd``. using ``--audio-spdif=dts-hd``.
@ -2138,7 +2138,7 @@ Audio
work-around for this on some AOs is to use ``--audio-exclusive=yes`` to work-around for this on some AOs is to use ``--audio-exclusive=yes`` to
circumvent the system mixer entirely. circumvent the system mixer entirely.
.. admonition:: Warning .. warning::
Using ``auto`` can cause issues when using audio over HDMI. The OS will Using ``auto`` can cause issues when using audio over HDMI. The OS will
typically report all channel layouts that _can_ go over HDMI, even if typically report all channel layouts that _can_ go over HDMI, even if
@ -2284,7 +2284,7 @@ Audio
Not all AOs support this. Not all AOs support this.
.. admonition:: Warning .. warning::
This modifies certain subtle player behavior, like A/V-sync and underrun This modifies certain subtle player behavior, like A/V-sync and underrun
handling. Enabling this option is strongly discouraged. handling. Enabling this option is strongly discouraged.
@ -2406,7 +2406,7 @@ Subtitles
some margin between the bottom and the subtitle. Values above 100 move the some margin between the bottom and the subtitle. Values above 100 move the
subtitle further down. subtitle further down.
.. admonition:: Warning .. warning::
Text subtitles (as opposed to image subtitles) may be cut off if the Text subtitles (as opposed to image subtitles) may be cut off if the
value of the option is above 100. This is a libass restriction. value of the option is above 100. This is a libass restriction.
@ -2452,7 +2452,7 @@ Subtitles
:normal: FreeType autohinter, normal mode :normal: FreeType autohinter, normal mode
:native: font native hinter :native: font native hinter
.. admonition:: Warning .. warning::
Enabling hinting can lead to mispositioned text (in situations it's Enabling hinting can lead to mispositioned text (in situations it's
supposed to match up video background), or reduce the smoothness supposed to match up video background), or reduce the smoothness
@ -5842,7 +5842,7 @@ them.
and overwrites the internal list with it. The latter is a path list option and overwrites the internal list with it. The latter is a path list option
(see `List Options`_ for details). (see `List Options`_ for details).
.. admonition:: Warning .. warning::
The syntax is not stable yet and may change any time. The syntax is not stable yet and may change any time.