Skip to content

Commit 2f7f27e

Browse files
donaldhNipaLocal
authored andcommitted
tools/net/ynl-gen-rst: Remove bold from attribute-set headings
The generated .rst for attribute-sets currently uses a sub-sub-heading for each attribute, with the attribute name in bold. This makes attributes stand out more than the attribute-set sub-headings they are part of. Remove the bold markup from attribute sub-sub-headings. Signed-off-by: Donald Hunter <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent af3a75a commit 2f7f27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/net/ynl/ynl-gen-rst.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def parse_attr_sets(entries: List[Dict[str, Any]]) -> str:
240240
lines.append(rst_section(entry["name"]))
241241
for attr in entry["attributes"]:
242242
type_ = attr.get("type")
243-
attr_line = bold(attr["name"])
243+
attr_line = attr["name"]
244244
if type_:
245245
# Add the attribute type in the same line
246246
attr_line += f" ({inline(type_)})"

0 commit comments

Comments
 (0)