Skip to content

[docs] Replace dangling Sphinx cross-reference roles in embind docs with literals - #28515

Open
juj wants to merge 1 commit into
emscripten-core:mainfrom
juj:docs_embind_dangling_roles
Open

juj wants to merge 1 commit into
emscripten-core:mainfrom
juj:docs_embind_dangling_roles

Conversation

@juj

@juj juj commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

embind.rst referenced return_value_policy, register_optional, EMSCRIPTEN_DECLARE_VAL_TYPE, emscripten::register_type and the JS delete()/clone() handle methods via :cpp:/:js: roles, but none of these have reference entries in the API docs, so the roles never resolved to links. Render them as inline literals instead.

…ith literals

embind.rst referenced return_value_policy, register_optional,
EMSCRIPTEN_DECLARE_VAL_TYPE, emscripten::register_type and the JS
delete()/clone() handle methods via :cpp:/:js: roles, but none of these
have reference entries in the API docs, so the roles never resolved to
links. Render them as inline literals instead.
@juj
juj requested a review from brendandahl as a code owner December 2, 2026 00:38

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants