Fix broken links

fix #2333
This commit is contained in:
alandefreitas
2022-06-17 22:55:24 -03:00
parent 3272dc0aeb
commit eaa51201bd
10 changed files with 22 additions and 3 deletions

View File

@ -22,7 +22,7 @@ if ! [ type.registered IPP ]
docca.reference reference.qbk
:
xsl/custom-overrides.xsl
[ glob-tree-ex ../include/boost/beast : *.hpp *.ipp : detail impl ]
[ glob-tree-ex ../include/boost/beast : *.hpp *.ipp : detail impl unit_test ]
:
<doxygen:param>PROJECT_NAME=Beast
<doxygen:param>PROJECT_BRIEF="C++ Networking Library"

View File

@ -160,7 +160,7 @@ meet the requirements, or use the ones that come with the library:
[link beast.ref.boost__beast__http__span_body `span_body`]
][
A body whose `value_type` is a
[link beast.ref.boost__beast__span `span`],
[@boost:/libs/core/doc/html/core/span.html `span`],
a non-owning reference to a single linear buffer of bytes.
Messages with this body type may be serialized and parsed.
]]

View File

@ -41,7 +41,6 @@
<entry valign="top">
<bridgehead renderas="sect3">Classes&nbsp;<emphasis role="normal">(2 of 2)</emphasis></bridgehead>
<simplelist type="vert" columns="1">
<member><link linkend="beast.ref.boost__beast__span">span</link></member>
<member><link linkend="beast.ref.boost__beast__static_string">static_string</link></member>
<member><link linkend="beast.ref.boost__beast__stable_async_base">stable_async_base</link></member>
<member><link linkend="beast.ref.boost__beast__string_view">string_view</link></member>

View File

@ -222,7 +222,9 @@ private:
subrange<false>
make_subrange(std::size_t pos, std::size_t n) const;
#ifndef BOOST_BEAST_DOXYGEN
friend struct buffers_adaptor_test_hook;
#endif
};

View File

@ -41,8 +41,10 @@ namespace beast {
class rate_policy_access
{
private:
#ifndef BOOST_BEAST_DOXYGEN
template<class, class, class>
friend class basic_stream;
#endif
template<class Policy>
static
@ -101,7 +103,9 @@ private:
*/
class unlimited_rate_policy
{
#ifndef BOOST_BEAST_DOXYGEN
friend class rate_policy_access;
#endif
static std::size_t constexpr all =
(std::numeric_limits<std::size_t>::max)();
@ -149,7 +153,9 @@ class unlimited_rate_policy
*/
class simple_rate_policy
{
#ifndef BOOST_BEAST_DOXYGEN
friend class rate_policy_access;
#endif
static std::size_t constexpr all =
(std::numeric_limits<std::size_t>::max)();

View File

@ -85,9 +85,11 @@ class basic_file_body<File>::value_type
// This body container holds a handle to the file
// when it is open, and also caches the size when set.
#ifndef BOOST_BEAST_DOXYGEN
friend class reader;
friend class writer;
friend struct basic_file_body;
#endif
// This represents the open file
File file_;

View File

@ -130,7 +130,9 @@ class basic_parser
template<bool OtherIsRequest>
friend class basic_parser;
#ifndef BOOST_BEAST_DOXYGEN
friend class basic_parser_test;
#endif
protected:
/// Default constructor

View File

@ -59,7 +59,9 @@ class basic_fields
std::allocator_traits<Allocator>::pointer>::value,
"Allocator must use regular pointers");
#ifndef BOOST_BEAST_DOXYGEN
friend class fields_test; // for `header`
#endif
struct element;
@ -72,7 +74,9 @@ public:
/// The type of element used to represent a field
class value_type
{
#ifndef BOOST_BEAST_DOXYGEN
friend class basic_fields;
#endif
off_t off_;
off_t len_;

View File

@ -139,6 +139,7 @@ class stream
using control_cb_type =
std::function<void(frame_type, string_view)>;
#ifndef BOOST_BEAST_DOXYGEN
friend class close_test;
friend class frame_test;
friend class ping_test;
@ -153,6 +154,7 @@ class stream
*/
static std::size_t constexpr max_control_frame_size = 2 + 8 + 4 + 125;
static std::size_t constexpr tcp_frame_size = 1536;
#endif
static time_point never() noexcept
{

View File

@ -54,8 +54,10 @@ struct stream_base
{
detail::decorator d_;
#ifndef BOOST_BEAST_DOXYGEN
template<class, bool>
friend class stream;
#endif
public:
// Move Constructor