documentation fixes

This commit is contained in:
Mark Gillard 2021-05-06 15:56:36 +03:00
parent 0fcbfbe655
commit 479a550ba7
13 changed files with 14 additions and 25 deletions

View File

@ -9,6 +9,7 @@ favicon = 'images/favicon.ico'
navbar = [ 'namespaces', 'annotated' ]
sources = [ 'pages' ]
recursive_sources = [ '../include' ]
source_patterns = [ '*.h', '*.dox' ]
strip_paths = [ '../include' ]
extra_files = [
'images/banner_small.png',

View File

@ -2,7 +2,6 @@
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
/// \cond
#pragma once
//# {{
@ -357,5 +356,3 @@ TOML_NAMESPACE_START
}
}
TOML_NAMESPACE_END;
/// \endcond

View File

@ -57,6 +57,8 @@ TOML_NAMESPACE_START
class TOML_API default_formatter final : impl::formatter<Char>
{
private:
/// \cond
using base = impl::formatter<Char>;
std::vector<std::string> key_path;
bool pending_table_separator_ = false;
@ -326,6 +328,8 @@ TOML_NAMESPACE_START
}
}
/// \endcond
public:
/// \brief The default flags for a default_formatter.

View File

@ -2,7 +2,6 @@
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
/// \cond
#pragma once
//# {{
@ -266,5 +265,3 @@ TOML_IMPL_NAMESPACE_END;
#endif // TOML_WINDOWS_COMPAT
TOML_POP_WARNINGS; // TOML_DISABLE_SWITCH_WARNINGS, TOML_DISABLE_ARITHMETIC_WARNINGS
/// \endcond

View File

@ -2,7 +2,6 @@
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
/// \cond
#pragma once
//# {{
@ -154,5 +153,3 @@ TOML_NAMESPACE_START
#endif // TOML_PARSER
}
TOML_NAMESPACE_END;
/// \endcond

View File

@ -5,6 +5,8 @@
#pragma once
#include "toml_formatter.h"
#include "toml_table.h"
#include "toml_array.h"
TOML_PUSH_WARNINGS;
TOML_DISABLE_SWITCH_WARNINGS;
@ -47,6 +49,8 @@ TOML_NAMESPACE_START
class TOML_API json_formatter final : impl::formatter<Char>
{
private:
/// \cond
using base = impl::formatter<Char>;
void print(const toml::table& tbl);
@ -106,6 +110,8 @@ TOML_NAMESPACE_START
}
}
/// \endcond
public:
/// \brief The default flags for a json_formatter.

View File

@ -2,7 +2,6 @@
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
/// \cond
#pragma once
//# {{
@ -62,5 +61,3 @@ TOML_NAMESPACE_START
TOML_NAMESPACE_END;
TOML_POP_WARNINGS; // TOML_DISABLE_SWITCH_WARNINGS
/// \endcond

View File

@ -2,7 +2,6 @@
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
/// \cond
#pragma once
//# {{
@ -101,5 +100,3 @@ TOML_NAMESPACE_START
}
}
TOML_NAMESPACE_END;
/// \endcond

View File

@ -2,7 +2,6 @@
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
/// \cond
#pragma once
//# {{
@ -3128,5 +3127,3 @@ TOML_NAMESPACE_START
TOML_NAMESPACE_END;
TOML_POP_WARNINGS; // TOML_DISABLE_SPAM_WARNINGS, TOML_DISABLE_SWITCH_WARNINGS
/// \endcond

View File

@ -2,7 +2,6 @@
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
/// \cond
#pragma once
//# {{
@ -354,5 +353,3 @@ TOML_NAMESPACE_START
}
}
TOML_NAMESPACE_END;
/// \endcond

View File

@ -2,7 +2,6 @@
//# Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
//# See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
// SPDX-License-Identifier: MIT
/// \cond
#pragma once
//# {{
@ -109,5 +108,3 @@ TOML_IMPL_NAMESPACE_END;
#undef TOML_ERROR_CHECK
#undef TOML_ERROR
/// \endcond

View File

@ -7282,6 +7282,7 @@ TOML_NAMESPACE_START
class TOML_API default_formatter final : impl::formatter<Char>
{
private:
using base = impl::formatter<Char>;
std::vector<std::string> key_path;
bool pending_table_separator_ = false;
@ -7653,6 +7654,7 @@ TOML_NAMESPACE_START
class TOML_API json_formatter final : impl::formatter<Char>
{
private:
using base = impl::formatter<Char>;
void print(const toml::table& tbl);

View File

@ -1,4 +1,4 @@
misk>=0.4.0
poxy>=0.1.2
poxy>=0.2.0
pyyaml
python-dateutil