ding-young commented on issue #14001:
URL: https://github.com/apache/datafusion/issues/14001#issuecomment-2579484224
I think we can make the parser to try both,
(1) try to find all these attributes (include, label, description)
```rust
#[user_doc(
doc_section(include=true, label = "String Functions", description: None),
description = "...",
syntax_example = "...",
...
)]
```
(2) if it fails look for single string like `doc_section = "String
Functions"`
```rust
#[user_doc(
doc_section = "String Functions",
description = "...",
syntax_example = "...",
...
)]
```
Thereby we can keep original syntax.
However, I'm curious whether we should replace (1) with (2), or make parser
try both.
--
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]