Skip to content

Commit 9f7ecee

Browse files
authored
more doxygen fixes (#1514)
1 parent c1476c1 commit 9f7ecee

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

docs/source/conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,7 @@
7373

7474
breathe_default_project = "stdexec"
7575

76-
def setup(app):
77-
app.add_css_file("params.css")
76+
highlight_language = "cpp"
77+
78+
# def setup(app):
79+
# app.add_css_file("params.css")

docs/source/reference/index.rst

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ Sender Factories
2323

2424
.. doxygenvariable:: stdexec::read_env
2525

26+
.. doxygenstruct:: exec::just_from_t
27+
28+
.. doxygenvariable:: exec::just_from
29+
2630
Sender Adaptors
2731
---------------
2832

include/exec/just_from.hpp

+7-6
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,6 @@ namespace exec {
167167
//!
168168
//! @param fn The callable to be invoked when the sender is started.
169169
//!
170-
//! @par Example:
171-
//! @code
172-
//! // The following sender is equivalent to just(42, 3.14):
173-
//! auto sndr = exec::just_from([](auto sink) { return sink(42, 3.14); });
174-
//! @endcode
175-
//!
176170
//! @par
177171
//! The function passed to `just_from` must return an instance of a specialization of
178172
//! `stdexec::completion_signatures<>` that describes the ways the sink function might be
@@ -182,6 +176,13 @@ namespace exec {
182176
//!
183177
//! @par Example:
184178
//! @code
179+
//! // The following sender is equivalent to just(42, 3.14):
180+
//! auto sndr = exec::just_from([](auto sink) { return sink(42, 3.14); });
181+
//! @endcode
182+
//!
183+
//! @par Example:
184+
//! @code
185+
//! // A just_from sender can have multiple completion signatures:
185186
//! auto sndr = exec::just_from(
186187
//! [](auto sink) {
187188
//! if (some-condition) {

0 commit comments

Comments
 (0)