Skip to content

Commit

Permalink
LaTeX docs missing updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbu committed Jul 29, 2024
1 parent bf34ac6 commit 07adb47
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions doc/latex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1817,25 +1817,31 @@ Environments

.. versionadded:: 6.1.0
.. versionchanged:: 6.2.0

Colon made part of the mark-up rather than being inserted by the
environment for coherence with how admonitions are handled generally.

- Environment for the :rst:dir:`todo` directive: ``sphinxtodo``.
It takes one argument which will be the localized string ``Todo``
followed with a colon.
It takes one argument which will is the localized string ``Todo``
(with a colon at the end; the default rendering will remove that
colon and put the localized string in its own colored title-row).

.. versionadded:: 7.4.0
- The contents_ directive (with ``:local:`` option) and the
:dudir:`topic` directive are implemented by environment ``sphinxShadowBox``.
- The :dudir:`topic`, contents_ and :dudir:`sidebar` directives
are associated with respectively ``sphinxtopic``, ``sphinxcontents``,
and ``sphinxsidebar`` environments.

.. versionadded:: 1.4.2
Former code refactored into an environment allowing page breaks.

.. versionchanged:: 1.5
Options ``shadowsep``, ``shadowsize``, ``shadowrule``.

- The literal blocks (via ``::`` or :rst:dir:`code-block`), are
.. versionadded:: 8.1.0
Separate environments (all three wrappers around ``sphinxShadowBox``)
and separate customizability.

- The literal blocks (via ``::`` or :rst:dir:`code-block`), and literal
includes (:rst:dir:`literalinclude`) are
implemented using ``sphinxVerbatim`` environment which is a wrapper of
``Verbatim`` environment from package ``fancyvrb.sty``. It adds the handling
of the top caption and the wrapping of long lines, and a frame which allows
Expand Down

0 comments on commit 07adb47

Please sign in to comment.