chitralverma commented on issue #9334:
URL: https://github.com/apache/opendal/issues/9334#issuecomment-7251053000

   (AI-generated reply) Agreed that most core doc comments are written for 
Rust. The issue is narrower than translating prose: the binding generators 
already copy core's field docs (Capability, Metadata, and now the ListOptions 
PRs), and those copies name Rust items that don't exist in the binding, so 
readers are pointed at something they can't call.
   
   The ListOptions reviews hit this per binding: #9333 needed `startAfter` and 
`Capability.listWithStartAfter` instead of `start_after` and 
`Capability::list_with_start_after`, and #9332 needed 
`opendal.exceptions.Unsupported` and `op.capability().list_with_recursive` 
instead of `crate::ErrorKind::Unsupported` and the `SimulateLayer` note. Each 
generator now carries its own version of that rewrite, and the Capability and 
Metadata docs on `main` still pass raw rustdoc links through.
   
   The proposal is only to share that step: rewrite intra-doc links, and map 
the core names each binding already exposes (capability fields, metadata 
accessors, option fields, error kinds) to the binding's spelling, leaving prose 
alone. If you'd rather bindings stop copying core docs and keep hand-written 
ones instead, that would also resolve it, and I'm happy to close this in that 
direction.
   


-- 
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]

Reply via email to