Skip to content

docs: link @see targets with @ref and gate bare @see names - #403

Merged
sgerbino merged 1 commit into
cppalliance:developfrom
mvandeberg:pr/see-ref-gate
Oct 22, 2026
Merged

sgerbino merged 1 commit into
cppalliance:developfrom
mvandeberg:pr/see-ref-gate

Conversation

@mvandeberg

Copy link
Copy Markdown
Contributor

MrDocs treats the text after @see as an ordinary paragraph and does not auto-link names in it, so every "See Also" entry written as @see delay rendered as plain text. warn-broken-ref only checks @ref targets, so nothing reported it. Rewrite the 122 bare @see lines in the public headers as @see @ref name, moving prose out of the @see lines into the description, and qualify tcp_server inside tcp_server::worker_base, which resolved to the constructor. Drop socket_option's @see of native_socket_option: MrDocs does not extract that namespace, so no link to it can resolve, and the description already names it.

Port capy's style guide rule B6 and its doc-lint.mjs check, which flags any @see paragraph, including wrapped lines, holding anything but @ref items. B6 joins the blocking doc_lint gate spec, with selftest fixtures and header-relative locations in the gate report.

MrDocs treats the text after @see as an ordinary paragraph and does not
auto-link names in it, so every "See Also" entry written as `@see delay`
rendered as plain text. warn-broken-ref only checks @ref targets, so
nothing reported it. Rewrite the 122 bare @see lines in the public
headers as `@see @ref name`, moving prose out of the @see lines into the
description, and qualify tcp_server inside tcp_server::worker_base, which
resolved to the constructor. Drop socket_option's @see of
native_socket_option: MrDocs does not extract that namespace, so no link
to it can resolve, and the description already names it.

Port capy's style guide rule B6 and its doc-lint.mjs check, which flags
any @see paragraph, including wrapped lines, holding anything but @ref
items. B6 joins the blocking doc_lint gate spec, with selftest fixtures
and header-relative locations in the gate report.
@cppalliance-bot

Copy link
Copy Markdown

An automated preview of the documentation is available at https://403.corosio.prtest3.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-10-21 20:54:51 UTC

@cppalliance-bot

Copy link
Copy Markdown

GCOVR code coverage report https://403.corosio.prtest3.cppalliance.org/gcovr/index.html
LCOV code coverage report https://403.corosio.prtest3.cppalliance.org/genhtml/index.html
Coverage Diff Report https://403.corosio.prtest3.cppalliance.org/diff-report/index.html

Build time: 2026-10-21 21:14:45 UTC

@sgerbino
sgerbino merged commit 72977ff into cppalliance:develop Oct 22, 2026
80 of 87 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Beast2 Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants