Add the reference example for io_context::service - #379
Merged
Merged
Conversation
Recent MrDocs develop-release builds list inherited members, so io_context now carries capy's execution_context::service docstring, whose example marker expects a snippet file in this repository. Without it the reference-snippets extension fails the whole docs build.
|
An automated preview of the documentation is available at https://379.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-02 19:20:14 UTC |
sgerbino
marked this pull request as ready for review
October 2, 2026 19:24
|
GCOVR code coverage report https://379.corosio.prtest3.cppalliance.org/gcovr/index.html Build time: 2026-10-02 19:32:08 UTC |
mvandeberg
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recent MrDocs
develop-releasebuilds extract inherited members, soio_contextnow listsservice— inherited fromcapy::execution_context— whose docstring carries an@par !examplemarker. The reference-snippets extension then requirestest/doc/reference/io_context__service.record.cpp, which did not exist, failing every fresh docs build (develop's last green run predates the MrDocs change; nothing in this repo changed).This adds the snippet, adapted from capy's
execution_context::serviceexample to corosio idiom (io_context+use_service). Compiles in theboost_corosio_doc_teststarget.Worth considering separately: pinning MrDocs to a release tag instead of the floating
develop-releaseasset, so fresh CI runs stop changing behavior without a commit.(Supersedes #378, which was opened from a branch on the main repository by mistake.)