Skip to content

Commit f7423bb

Browse files
bagasmehtejun
authored andcommitted
docs: cgroup-v1: move hierarchy of accounting caption
The caption for hierarchy of accounting figure is in the code block, which is quite odd. Move the caption into :caption: option of code-block:: directive instead. Signed-off-by: Bagas Sanjaya <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 71da431 commit f7423bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/admin-guide/cgroup-v1/memory.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ specific data structure (mem_cgroup) associated with it.
147147
2.2. Accounting
148148
---------------
149149

150-
::
150+
.. code-block::
151+
:caption: Figure 1: Hierarchy of Accounting
151152
152153
+--------------------+
153154
| mem_cgroup |
@@ -167,7 +168,6 @@ specific data structure (mem_cgroup) associated with it.
167168
| | | |
168169
+---------------+ +---------------+
169170
170-
(Figure 1: Hierarchy of Accounting)
171171
172172
173173
Figure 1 shows the important aspects of the controller

0 commit comments

Comments
 (0)