Skip to content

Commit ba0f41e

Browse files
Collapse long blocks in readme
1 parent f37f039 commit ba0f41e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ target_link_libraries(yourlib PUBLIC beman::any_view)
8282

8383
## Reference
8484

85-
Synopsis:
85+
<details>
86+
<summary>Synopsis</summary>
8687

8788
```cpp
8889
namespace beman::any_view {
@@ -158,6 +159,8 @@ inline constexpr bool std::ranges::enable_borrowed_range<
158159
bool(OptsV & beman::any_view::any_view_options::borrowed);
159160
```
160161
162+
</details>
163+
161164
## Building
162165
163166
There are workflows available in CMake presets such as `gcc-debug`:
@@ -168,6 +171,9 @@ cmake --workflow --preset gcc-debug
168171

169172
Alternatively you can manually configure, build, and test with CMake and CTest:
170173

174+
<details>
175+
<summary>Example output</summary>
176+
171177
```bash
172178
cmake -B build
173179
cmake --build build
@@ -261,6 +267,8 @@ Test project /home/patrick/projects/any_view/build/gcc-debug
261267
Total Test time (real) = 0.15 sec
262268
```
263269

270+
</details>
271+
264272
## Contributing
265273

266274
Please do! Issues and pull requests are appreciated.

0 commit comments

Comments
 (0)