Fix broken rebind_executor doc by adding a reference to Executor concept

Summary: related to T13767

Reviewers: ivica

Reviewed By: ivica

Subscribers: iljazovic, miljen

Differential Revision: https://repo.mireo.local/D30864
This commit is contained in:
Korina Šimičević
2024-08-09 09:11:15 +02:00
parent 40b1f7e00c
commit f477a02f89
2 changed files with 7 additions and 2 deletions

View File

@ -39,6 +39,7 @@
[def __OPENSSL__ [@https://www.openssl.org/ OpenSSL]]
[def __CompletionToken__ [@boost:/doc/html/boost_asio/reference/asynchronous_operations.html#boost_asio.reference.asynchronous_operations.completion_tokens_and_handlers CompletionToken]]
[def __Executor__ [@boost:/doc/html/boost_asio/reference/Executor1.html Executor]]
[def __ExecutionContext__ [reflink ExecutionContext]]
[def __StreamType__ [reflink StreamType]]
[def __TlsContext__ [reflink TlsContext]]

View File

@ -1465,6 +1465,7 @@
<xsl:variable name="template-type">
<xsl:choose>
<xsl:when test="contains($qualified-name, 'CompletionToken')">CompletionToken</xsl:when>
<xsl:when test="contains($qualified-name, 'Executor')">Executor</xsl:when>
<xsl:when test="contains($qualified-name, 'ExecutionContext')">ExecutionContext</xsl:when>
<xsl:when test="contains($qualified-name, 'StreamType')">StreamType</xsl:when>
<xsl:when test="contains($qualified-name, 'TlsContext')">TlsContext</xsl:when>
@ -1518,8 +1519,11 @@
</xsl:if>
</xsl:when>
<!-- unfortunately, there is no better way to differentiate between template types and non-documented types -->
<xsl:when test="contains(type, 'CompletionToken') or contains(type, 'ExecutionContext')
or contains(type, 'TlsContext') or contains(type, 'StreamType')
<xsl:when test="contains(type, 'CompletionToken')
or contains(type, 'Executor')
or contains(type, 'ExecutionContext')
or contains(type, 'TlsContext')
or contains(type, 'StreamType')
or contains(type, 'is_authenticator')">
<xsl:call-template name="mqtt-template">
<xsl:with-param name="qualified-name" select="$type"/>