Thread (13 messages) 13 messages, 4 authors, 2023-03-29

Re: [PATCH net-next v5 6/7] docs: netlink: document struct support for genetlink-legacy

From: Akira Yokosawa <akiyks@gmail.com>
Date: 2023-03-27 14:40:06
Also in: linux-doc

On Date: Mon, 27 Mar 2023 19:44:59 +0700, Bagas Sanjaya wrote:
On Mon, Mar 27, 2023 at 09:31:37AM +0100, Donald Hunter wrote:
[...]
quoted
+
+Here is the struct definition from above, declared in YAML:
+
+.. code-block:: yaml
+
+  definitions:
+    -
+      name: message-header
+      type: struct
+      members:
+        -
+          name: a
+          type: u8
+        -
+          name: b
+          type: u16
+        -
+          name: c
+          type: u8
+
Nit: The indentation for code-block codes should be relative to
code-block:: declaration (e.g. if it starts from column 4, the first
column of code is also at 4).
Hey Bagas,

I don't believe there is any such restriction. :-\
Where did you find it ?

        Thanks, Akira
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help