From 35c0b3e54ce99716bf2a6bb6bdbd346f3e6d398b Mon Sep 17 00:00:00 2001 From: Vyacheslav Zhdanovskiy Date: Mon, 2 Oct 2023 14:09:53 +0300 Subject: [PATCH] Fix source highlighting in user defined type macros docs (#4169) --- .../docs/api/macros/nlohmann_define_type_intrusive.md | 8 ++++---- .../docs/api/macros/nlohmann_define_type_non_intrusive.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/mkdocs/docs/api/macros/nlohmann_define_type_intrusive.md b/docs/mkdocs/docs/api/macros/nlohmann_define_type_intrusive.md index afd09c6db3..88df1d185f 100644 --- a/docs/mkdocs/docs/api/macros/nlohmann_define_type_intrusive.md +++ b/docs/mkdocs/docs/api/macros/nlohmann_define_type_intrusive.md @@ -59,7 +59,7 @@ See examples below for the concrete generated code. Consider the following complete example: - ```cpp hl_lines="21" + ```cpp hl_lines="22" --8<-- "examples/nlohmann_define_type_intrusive_macro.cpp" ``` @@ -80,7 +80,7 @@ See examples below for the concrete generated code. The macro is equivalent to: - ```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33" + ```cpp hl_lines="22 23 24 25 26 27 28 29 30 31 32 33 34" --8<-- "examples/nlohmann_define_type_intrusive_explicit.cpp" ``` @@ -88,7 +88,7 @@ See examples below for the concrete generated code. Consider the following complete example: - ```cpp hl_lines="21" + ```cpp hl_lines="22" --8<-- "examples/nlohmann_define_type_intrusive_with_default_macro.cpp" ``` @@ -108,7 +108,7 @@ See examples below for the concrete generated code. The macro is equivalent to: - ```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33 34" + ```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33 34 35" --8<-- "examples/nlohmann_define_type_intrusive_with_default_explicit.cpp" ``` diff --git a/docs/mkdocs/docs/api/macros/nlohmann_define_type_non_intrusive.md b/docs/mkdocs/docs/api/macros/nlohmann_define_type_non_intrusive.md index 70cf934fcc..e1f1991b49 100644 --- a/docs/mkdocs/docs/api/macros/nlohmann_define_type_non_intrusive.md +++ b/docs/mkdocs/docs/api/macros/nlohmann_define_type_non_intrusive.md @@ -60,7 +60,7 @@ See examples below for the concrete generated code. Consider the following complete example: - ```cpp hl_lines="15" + ```cpp hl_lines="16" --8<-- "examples/nlohmann_define_type_non_intrusive_macro.cpp" ``` @@ -80,7 +80,7 @@ See examples below for the concrete generated code. The macro is equivalent to: - ```cpp hl_lines="15 16 17 18 19 20 21 22 23 24 25 26 27" + ```cpp hl_lines="16 17 18 19 20 21 22 23 24 25 26 27 28" --8<-- "examples/nlohmann_define_type_non_intrusive_explicit.cpp" ``` @@ -88,7 +88,7 @@ See examples below for the concrete generated code. Consider the following complete example: - ```cpp hl_lines="20" + ```cpp hl_lines="21" --8<-- "examples/nlohmann_define_type_non_intrusive_with_default_macro.cpp" ``` @@ -109,7 +109,7 @@ See examples below for the concrete generated code. The macro is equivalent to: - ```cpp hl_lines="20 21 22 23 24 25 26 27 28 29 30 31 32 33" + ```cpp hl_lines="21 22 23 24 25 26 27 28 29 30 31 32 33 34" --8<-- "examples/nlohmann_define_type_non_intrusive_with_default_explicit.cpp" ```