Russole commented on code in PR #10044:
URL: https://github.com/apache/ozone/pull/10044#discussion_r3036263365


##########
dev-support/ci/xml_to_md.py:
##########


Review Comment:
   I noticed that some property names still contain trailing newlines in the 
generated markdown (e.g. wrapped to the next line).
   
   This seems unrelated to this change, but it might be worth normalizing 
`name` as well when parsing the XML, similar to how `description` is handled, 
for example:
   ```
   name = prop.findtext('name')
   name = ' '.join(name.split()).strip() if name else ''
   ```
   This would help prevent formatting issues in the generated table. For 
example, some entries are currently rendered like:
   ```
   | `hdds.container.ratis.ipc.random.port
   ` | false | `OZONE`, `DEBUG` | Allocates a random free port for ozone ratis 
port for the container. This is used only while running unit tests. |
   | `hdds.container.ratis.leader.pending.bytes.limit
   ` | 1GB | `OZONE`, `RATIS`, `PERFORMANCE` | Limit on the total bytes of 
pending requests after which leader starts rejecting requests from client. |
   | `hdds.container.ratis.log.appender.queue.byte-limit
   ` | 32MB | `OZONE`, `DEBUG`, `CONTAINER`, `RATIS` | Byte limit for ratis 
leader's log appender queue. |
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to