dnskr opened a new pull request, #7857:
URL: https://github.com/apache/kyuubi/pull/7857
### Why are the changes needed?
The changes allows to generate correct and more clear documentation page.
Specific changes:
- Change the `ConfigEntry.UNDEFINED` value from `<undefined>` to `(none)`.
This avoids replacing `<>` symbols with their HTML entity codes, making the
Markdown file clearer and aligning the undefined value representation with the
[Apache
Spark](https://github.com/apache/spark/blob/dc0022b60a0dc9488dbb962a6d855633a7acbd7c/docs/configuration.md?plain=1#L416)
and the [Apache
Ozone](https://github.com/apache/ozone-site/blob/5cc01b799cd2fa40d7a2d5b5f2710bbc76c430f4/docs/05-administrator-guide/02-configuration/01-basic/02-environment-variables.md?plain=1#L17)
documentation.
- Normalize the `Default` and `Meaning` columns using the newly added
`normalizeTableCell()` method:
- Escape `|` symbols.For example, this fixes the currently broken
`Meaning` column for `kyuubi.authentication.ldap.customLDAPQuery`.
- Replace empty strings with a single space to avoid collapsed Markdown
cells (see
[example](https://github.com/apache/kyuubi/blob/8234780486a5fbdcae7981e0cafec9fd912730f4/docs/configuration/settings.md?plain=1#L52)).
- Highlight defined default values.
### How was this patch tested?
Generating `settings.md` and documentation.
```shell
dev/gen/gen_all_config_docs.sh
```
Generating documentation:
```shell
cd docs
make clean html
```
Result
<img width="1407" height="867" alt="image"
src="https://github.com/user-attachments/assets/7b219cc7-2358-4161-8aaa-5fe0ff7dc224"
/>
### Was this patch assisted by generative AI tooling?
Assisted-by: Qwen Coder
--
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]