new feature: translate core doc references in generated binding docs
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
Línea de trabajo
Start with the shared parsers in dev/src/generate/options.rs, capability.rs, and metadata.rs, then inspect the per-binding generators under dev/src/generate/. Reuse the existing Java and .NET translation logic as the initial mapping and rendering cases. Done means generated Capability, Metadata, and options docs use binding-specific names and valid doc syntax without raw Rust paths or intra-doc links.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Drafted with AI assistance (Claude Code, Claude Opus 5.5); the author is accountable for it.
Feature Description
The generators in dev/src/generate/ copy core's doc comments into each binding's Capability, Metadata, and options docs, keeping Rust identifiers, paths, and intra-doc links the binding lacks. I propose a small shared doc post-processor that translates those references into each binding's names.
Problem and Solution
Examples:
writeCanCopyFromsays "Writer::copy_fromremains available…" in Node.js, Java, .NET, and C.write_with_checksumkeeps the raw intra-doc link[crate::WriteChecksum::Any]in every binding; OCaml escapes it as\[crate::WriteChecksum::Any\].- Options docs (#9320) say "requires
Capability::list_with_start_after" where Node.js exposeslistWithStartAfter, and point tocrate::layers::SimulateLayerand theauto-simulateCargo feature.
Today: the shared parsers return raw doc text, and the Capability and Metadata generators pass it through or only escape it. Java and .NET option docs already translate links, each with its own copy (option_javadoc_token, DocContext::path), but not for Capability or Metadata. The website generator drops every sentence containing ::.
Proposed direction: a post-processor next to the shared parsers that:
- Parses inline rustdoc markup once: intra-doc links, Markdown links, and code spans.
- Resolves known core identifiers (capability fields, metadata accessors, option structs and fields, operation names) through a per-binding naming function, which each binding renders in its own doc syntax (
{@link},<see cref>, code span). - Leaves unknown Rust paths as plain code spans, or drops them where a binding has no equivalent (layers, Cargo features).
The Java and .NET translators would become per-binding naming and rendering on top of the shared parser. Out of scope: rewriting prose; Rust-only sentences stay per-binding overrides, as the Node.js metadata notes do.
Additional Context
Related: #9320, #9122, #9129.
Are you willing to contribute to the development of this feature?
- Yes, I am willing to contribute to the development of this feature.
- Lenguaje dominante
- Rust
- Estrellas
- 5.5k
- Forks
- 869
- Merge medio
- 8 h 2 min
- PR fusionados (30 d)
- 862
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/opendal
-
bug(services/fs): deleting "/" removes the configured root directoryPosiblemente ocupada @xgbtxy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
apache/opendal#9635 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
core enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
apache/opendal#9572 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gapPosiblemente ocupada @rohan4naik la tomó hoy. Abiertobindings/nodejs bug
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
apache/opendal#9569 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()Posiblemente ocupada @Xuanwo la tomó hoy. Abiertobug core
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
apache/opendal#9567 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bindings/c bindings/dotnet bindings/go bindings/java bindings/python bindings/ruby core integrations/object_store release release-blocker services/azblob services/azdls services/dropbox services/gcs_grpc services/git services/hf3fs services/redis services/remotestorage services/s3 website
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
apache/opendal#9560 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/opendal
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
Los mantenedores suelen responder en 17 días
-
bug(c-sdk): boxlite_box_exec does not check runtime liveness before dispatching streaming execAbiertobug rust SDK & CLI & REST API
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
boxlite-ai/boxlite#3292 ·
Los mantenedores suelen responder en 1 día
-
Android bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
anefzaoui/misterdownloadmanager#2516 ·
Los mantenedores suelen responder en 1 día
-
editor ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
state:triage tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 89/100
agent8-cash/ethpayserver#731 ·
Los mantenedores suelen responder en 1 día