Skip to content

docs: add a reference overview that groups the API by purpose - #417

Open
TheLingeringWill wants to merge 4 commits into
cppalliance:developfrom
TheLingeringWill:pr/reference-index-by-kind
Open

TheLingeringWill wants to merge 4 commits into
cppalliance:developfrom
TheLingeringWill:pr/reference-index-by-kind

Conversation

@TheLingeringWill

@TheLingeringWill TheLingeringWill commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Part of cppalliance/capy#416.

The Boost review asked that the reference break the API into sections by purpose,
"similar for Corosio". cppalliance/capy#484 did this for Capy. This does the same for
Corosio, using only what MrDocs already produces: its tagfile and the cpp: macro. The
generated index is unchanged, and is now named "Index by Kind", as in Capy.

Changes

  • doc/modules/ROOT/pages/reference-overview.adoc (new): fifteen sections:

    • I/O Context and I/O Backends
    • I/O Objects and Streams
    • TCP
    • Addresses and Endpoints
    • Name Resolution
    • UDP
    • Unix Domain Sockets
    • Socket Options
    • Delays and Timeouts
    • Signals
    • Files
    • Native Descriptors and Handles
    • TLS
    • Errors
    • Native Types

    Each section has a short intro that links the guide pages teaching it, and a
    Kind | Names table. The tables list every symbol on the generated boost::corosio
    and socket_option index pages once (114 names), except namespaces and operators, as
    cpp: links.

  • nav.adoc: "Reference" now opens the overview, with one child per section and an
    "Index by Kind" child for the generated index.

  • glossary.adoc: the See Also section links both pages.

  • STYLE_GUIDE.md E3: records the page, and that an API change must update it in the
    same pull request.

The test tools in boost::corosio::test are not in the generated reference, because MrDocs
parses only <boost/corosio.hpp> and native/native.hpp. The overview says so and links
the Testing section instead.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 4

  • doc/STYLE_GUIDE.md is excluded by !**/doc/**
  • doc/modules/ROOT/nav.adoc is excluded by !**/doc/**
  • doc/modules/ROOT/pages/glossary.adoc is excluded by !**/doc/**
  • doc/modules/ROOT/pages/reference-overview.adoc is excluded by !**/doc/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@TheLingeringWill
TheLingeringWill marked this pull request as draft November 12, 2026 20:00
@greptile-apps

greptile-apps Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Adds a reference overview with fifteen sections that group the API by purpose.

  • Corosio’s reference page groups API names by purpose.

No actionable issues were found. Review checks were source-based; no documentation build or visual check was run.

Reviews (2) · Last reviewed commit: "docs: tighten three reference overview s..." · Reviewed by Greptile

@cppalliance-bot

cppalliance-bot commented Nov 12, 2026 •

Copy link
Copy Markdown

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

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

2026-11-13 14:33:35 UTC

@cppalliance-bot

cppalliance-bot commented Nov 12, 2026 •

Copy link
Copy Markdown

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

Build time: 2026-11-13 14:52:07 UTC

@TheLingeringWill TheLingeringWill changed the title docs: rename the generated reference index to "Index by Kind" docs: add a reference overview that groups the API by purpose Nov 12, 2026
Move TCP after Name Resolution, since its prose names the resolver.
Fix claims that did not match the headers: error lists only Corosio's
own codes, file_base's seek origins apply to stream_file only, and
connect_pair uses a temporary path on Windows. Note the io_uring
backend, the native socket options, and the OpenSSL system category.
@TheLingeringWill
TheLingeringWill marked this pull request as ready for review November 13, 2026 18:03

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

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants