Skip to content

Commit

Permalink
fix ci_test_build_documentation check
Browse files Browse the repository at this point in the history
Signed-off-by: Harinath Nampally <harinath922@gmail.com>
  • Loading branch information
hnampally committed Jan 18, 2025
1 parent b3af659 commit 5c22738
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/mkdocs/docs/api/macros/json_diagnostic_positions.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ When the macro is not defined, the library will define it to its default value.
```
--8<-- "examples/diagnostic_positions.output"
```

The output shows the start/end positions of all the objects and fields in the JSON string.

??? example "Example 2: using only diagnostic positions in exceptions"
Expand All @@ -90,7 +91,8 @@ When the macro is not defined, the library will define it to its default value.

```
--8<-- "examples/diagnostic_positions_exception.output"
```
```

The output shows the exception with start/end positions only.

??? example "Example 3: using extended diagnostics with positions enabled in exceptions"
Expand All @@ -104,6 +106,7 @@ When the macro is not defined, the library will define it to its default value.
```
--8<-- "examples/diagnostics_extended_positions.output"
```

The output shows the exception with diagnostic path info and start/end positions.
## Version history

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ int main()
std::cout << e.what() << '\n';
}
}

0 comments on commit 5c22738

Please sign in to comment.