diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-05-22 16:02:43 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-05-22 16:03:33 +0900 |
| commit | 1856ee638b08e39b568f9e983696d4302b48066d (patch) | |
| tree | d814caf43d623dbafab10ee21b32c08284fac9c0 /doc/usage | |
| parent | 21df068fb966d2e5a61f0e52d21a79aa9f84fcac (diff) | |
| download | sphinx-git-1856ee638b08e39b568f9e983696d4302b48066d.tar.gz | |
Close #10461: doc: Add an explanation for :class: option of code-block directive
Diffstat (limited to 'doc/usage')
| -rw-r--r-- | doc/usage/restructuredtext/directives.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/usage/restructuredtext/directives.rst b/doc/usage/restructuredtext/directives.rst index 847f0372b..4029b04e6 100644 --- a/doc/usage/restructuredtext/directives.rst +++ b/doc/usage/restructuredtext/directives.rst @@ -592,6 +592,13 @@ __ https://pygments.org/docs/lexers .. versionadded:: 1.3 + .. rst:directive:option:: class: class names + :type: a list of class names separated by spaces + + The class name of the graph. + + .. versionadded:: 1.4 + .. rst:directive:option:: dedent: number :type: number or no value @@ -758,6 +765,9 @@ __ https://pygments.org/docs/lexers Added the ``diff``, ``lineno-match``, ``caption``, ``name``, and ``dedent`` options. + .. versionchanged:: 1.4 + Added the ``class`` option. + .. versionchanged:: 1.5 Added the ``start-at``, and ``end-at`` options. |
