Skip to content

Commit 54fb28b

Browse files
committed
Documentation: Improve README and fix descriptions of some libraries
1 parent ca0fb7b commit 54fb28b

File tree

7 files changed

+51
-33
lines changed

7 files changed

+51
-33
lines changed

Documentation/Libraries/Algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@page library_algorithms Algorithms
22

3-
@brief 🟥 Placeholder library templated algorithms will be placed
3+
@brief 🟥 Placeholder library templated where algorithms will be placed
44

55
[TOC]
66

Documentation/Libraries/FileSystem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@page library_file_system File System
22

3-
@brief 🟩 File System operations { exists | copy | delete } for { files | directories }
3+
@brief 🟩 File System operations { exists, copy, delete } for { files and directories }
44

55
[TOC]
66

Documentation/Pages/Examples.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,16 @@
2525
| Debug (VS2022)| Open `_Build/_Projects/VisualStudio2022/SCExample.sln` and start Debugging (F5) |
2626

2727
https://github.com/Pagghiu/SaneCppLibraries/assets/5406873/4ad12058-6bc2-4316-90f8-4ba4c05e28de
28+
https://github.com/Pagghiu/SaneCppLibraries/assets/5406873/5c7d4036-6e0c-4262-ad57-9ef84c214717
2829

2930
\htmlonly
3031
<iframe width="700" height="400" src="https://github.com/Pagghiu/SaneCppLibraries/assets/5406873/4ad12058-6bc2-4316-90f8-4ba4c05e28de" frameborder="0" allowfullscreen>
3132
\endhtmlonly
3233
34+
\htmlonly
35+
<iframe width="700" height="400" src="https://github.com/Pagghiu/SaneCppLibraries/assets/5406873/5c7d4036-6e0c-4262-ad57-9ef84c214717" frameborder="0" allowfullscreen>
36+
\endhtmlonly
37+
3338
# Where can I find more examples?
3439
3540
- The test suite is the closest thing to additional examples you can find in this project.

Documentation/Pages/Platforms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@page page_platforms Platforms
22

33
Supported:
4-
✅ macOS (13.6 Ventura+ and iOS)
4+
✅ macOS 13.6+ (Ventura) and iOS 14.0+
55
✅ Windows (10+)
66
✅ Linux (Kernel 5.x+)
77

Libraries/Async/Async.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ namespace SC
282282
//! @{
283283

284284
/// @brief Starts a Timeout that is invoked only once after expiration (relative) time has passed.
285-
/// @note For a peridic timeout, call AsyncLoopTimeout::Result::reactivateRequest(true) in the completion callback
285+
/// @note For a periodic timeout, call AsyncLoopTimeout::Result::reactivateRequest(true) in the completion callback
286+
///
286287
/// \snippet Libraries/Async/Tests/AsyncTest.cpp AsyncLoopTimeoutSnippet
287288
struct AsyncLoopTimeout : public AsyncRequest
288289
{

Libraries/FileSystem/FileSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct StringConverter;
1717
//! @addtogroup group_file_system
1818
//! @{
1919

20-
/// @brief Execute fs operations { exists | copy | delete } for { files | directories }.
20+
/// @brief Execute fs operations { exists, copy, delete } for { files and directories }.
2121
/// It will scope all operations on relative paths to the `initialWorkingDirectory` passed in SC::FileSystem::init.
2222
/// All methods can always return failure due to access or disk I/O errors, and they will be omitted in the return
2323
/// clauses for each method. Only the specific returned result behaviour of the given method will be described.

README.md

Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ Visit the [documentation website](https://pagghiu.github.io/SaneCppLibraries/ind
2828

2929
Library | Description
3030
:-------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------
31-
[Algorithms](https://pagghiu.github.io/SaneCppLibraries/library_algorithms.html) | 🟥 Placeholder library templated algorithms will be placed
31+
[Algorithms](https://pagghiu.github.io/SaneCppLibraries/library_algorithms.html) | 🟥 Placeholder library where templated algorithms will be placed
3232
[Async](https://pagghiu.github.io/SaneCppLibraries/library_async.html) | 🟨 Async I/O (files, sockets, timers, processes, fs events, threads wake-up)
3333
[Build](https://pagghiu.github.io/SaneCppLibraries/library_build.html) | 🟨 Minimal build system where builds are described in C++
3434
[Containers](https://pagghiu.github.io/SaneCppLibraries/library_containers.html) | 🟨 Generic containers (SC::Vector, SC::SmallVector, SC::Array etc.)
3535
[File](https://pagghiu.github.io/SaneCppLibraries/library_file.html) | 🟩 Synchronous Disk File I/O
36-
[File System](https://pagghiu.github.io/SaneCppLibraries/library_file_system.html) | 🟩 File System operations { exists | copy | delete } for { files | directories }
36+
[File System](https://pagghiu.github.io/SaneCppLibraries/library_file_system.html) | 🟩 File System operations { exists, copy, delete } for { files and directories }
3737
[File System Iterator](https://pagghiu.github.io/SaneCppLibraries/library_file_system_iterator.html) | 🟩 Enumerates files and directories inside a given path
3838
[File System Watcher](https://pagghiu.github.io/SaneCppLibraries/library_file_system_watcher.html) | 🟩 Notifications {add, remove, rename, modified} for files and directories
3939
[Foundation](https://pagghiu.github.io/SaneCppLibraries/library_foundation.html) | 🟩 Primitive types, asserts, limits, Function, Span, Result, Tagged Union
@@ -90,8 +90,12 @@ Shortly:
9090

9191
Check the [Examples](https://pagghiu.github.io/SaneCppLibraries/page_examples.html) page.
9292

93+
## macOS
9394
https://github.com/Pagghiu/SaneCppLibraries/assets/5406873/4ad12058-6bc2-4316-90f8-4ba4c05e28de
9495

96+
## iOS
97+
https://github.com/Pagghiu/SaneCppLibraries/assets/5406873/5c7d4036-6e0c-4262-ad57-9ef84c214717
98+
9599
# Tests
96100

97101
Tests are built with the self-hosted [SC::Build](https://pagghiu.github.io/SaneCppLibraries/library_build.html) project generator, describing the builds in C++.
@@ -112,33 +116,41 @@ Alternatively I am also reading the following discords too:
112116
# Videos
113117

114118
Blog posts:
115-
- [June 2024 Update](https://pagghiu.github.io/site/blog/2024-06-30-SaneCppLibrariesUpdate.html)
116-
- [May 2024 Update](https://pagghiu.github.io/site/blog/2024-05-31-SaneCppLibrariesUpdate.html)
117-
- [April 2024 Update](https://pagghiu.github.io/site/blog/2024-04-27-SaneCppLibrariesUpdate.html)
118-
- [March 2024 Update](https://pagghiu.github.io/site/blog/2024-03-27-SaneCppLibrariesUpdate.html)
119-
- [February 2024 Update](https://pagghiu.github.io/site/blog/2024-02-23-SaneCppLibrariesUpdate.html)
119+
120+
You can find some [YouTube Videos](https://www.youtube.com/@Pagghiu) and [Blog posts](https://pagghiu.github.io) describing some bits of the development process:
121+
122+
- [Ep.01 - Public Release](https://pagghiu.github.io/site/blog/2023-12-23-SaneCppLibrariesRelease.html)
123+
- [Ep.02 - Creating a Makefile](https://www.youtube.com/watch?v=2ccW8TBAWWE)
124+
- [Ep.03 - Add Makefile backend to SC::Build](https://www.youtube.com/watch?v=wYmT3xAzMxU)
125+
- [Ep.04 - Start Linux Porting](https://www.youtube.com/watch?v=DUZeu6VDGL8)
126+
- [Ep.05 - Build Everything on Linux](https://www.youtube.com/watch?v=gu3x3Y1zZLI)
127+
- [Ep.06 - Posix fork](https://www.youtube.com/watch?v=-OiVELMxL6Q)
128+
- [Ep.07 - SC::Async Linux epoll 1/2](https://www.youtube.com/watch?v=4rC4aKCD0V8)
129+
- [Ep.08 - SC::Async Linux epoll 2/2](https://www.youtube.com/watch?v=uCsGpJcF2oc)
130+
- [Ep.09 - SC::FileSystemWatcher Linux inotify implementation](https://www.youtube.com/watch?v=92saVDCRnCI)
120131
- [January 2024 Update](https://pagghiu.github.io/site/blog/2024-01-23-SaneCppLibrariesUpdate.html)
121-
- [Public Release blog post](https://pagghiu.github.io/site/blog/2023-12-23-SaneCppLibrariesRelease.html)
122-
123-
On the [Youtube Channel](https://www.youtube.com/@Pagghiu) you can find some videos showing some bits of the development process:
124-
- [Creating a Makefile](https://www.youtube.com/watch?v=2ccW8TBAWWE)
125-
- [Add Makefile backend to SC::Build](https://www.youtube.com/watch?v=wYmT3xAzMxU)
126-
- [Start Linux Porting](https://www.youtube.com/watch?v=DUZeu6VDGL8)
127-
- [Build Everything on Linux](https://www.youtube.com/watch?v=gu3x3Y1zZLI)
128-
- [Posix fork](https://www.youtube.com/watch?v=-OiVELMxL6Q)
129-
- [SC::Async Linux epoll 1/2](https://www.youtube.com/watch?v=4rC4aKCD0V8)
130-
- [SC::Async Linux epoll 2/2](https://www.youtube.com/watch?v=uCsGpJcF2oc)
131-
- [SC::FileSystemWatcher Linux inotify implementation](https://www.youtube.com/watch?v=92saVDCRnCI)
132-
- [A Tour of SC::Async](https://www.youtube.com/watch?v=pIGosb2D2Ro)
133-
- [Linux Async I/O using io_uring (1 of 2)](https://www.youtube.com/watch?v=YR935rorb3E)
134-
- [Linux Async I/O using io_uring (2 of 2)](https://www.youtube.com/watch?v=CgYE0YrpHt0)
135-
- [Simple ThreadPool](https://www.youtube.com/watch?v=e48ruImESxI)
136-
- [Async file read and writes using Thread Pool](https://www.youtube.com/watch?v=WF9beKyEA_E)
137-
- [Implement SC::AsyncLoopWork](https://www.youtube.com/watch?v=huavEjzflHQ)
138-
- [BREAK SC::Async IO Event Loop](https://www.youtube.com/watch?v=3lbyx11qDxM)
139-
- [Pause Immediate Mode UI - Save CPU Time](https://www.youtube.com/watch?v=4acqdGcUQnE)
140-
- [Add Async IO to Immediate Mode GUI](https://www.youtube.com/watch?v=z7QaTa7drFo)
141-
- [Hot-Reload dear imgui](https://www.youtube.com/watch?v=BXybEWvSpGU)
132+
133+
- [Ep.10 - A Tour of SC::Async](https://www.youtube.com/watch?v=pIGosb2D2Ro)
134+
- [Ep.11 - Linux Async I/O using io_uring (1 of 2)](https://www.youtube.com/watch?v=YR935rorb3E)
135+
- [Ep.12 - Linux Async I/O using io_uring (2 of 2)](https://www.youtube.com/watch?v=CgYE0YrpHt0)
136+
- [Ep.13 - Simple ThreadPool](https://www.youtube.com/watch?v=e48ruImESxI)
137+
- [February 2024 Update](https://pagghiu.github.io/site/blog/2024-02-23-SaneCppLibrariesUpdate.html)
138+
139+
- [Ep.14 - Async file read and writes using Thread Pool](https://www.youtube.com/watch?v=WF9beKyEA_E)
140+
- [March 2024 Update](https://pagghiu.github.io/site/blog/2024-03-27-SaneCppLibrariesUpdate.html)
141+
142+
- [Ep.16 - Implement SC::AsyncLoopWork](https://www.youtube.com/watch?v=huavEjzflHQ)
143+
- [April 2024 Update](https://pagghiu.github.io/site/blog/2024-04-27-SaneCppLibrariesUpdate.html)
144+
145+
- [Ep.18 - BREAK SC::Async IO Event Loop](https://www.youtube.com/watch?v=3lbyx11qDxM)
146+
- [May 2024 Update](https://pagghiu.github.io/site/blog/2024-05-31-SaneCppLibrariesUpdate.html)
147+
148+
- [Ep.20 - Pause Immediate Mode UI - Save CPU Time](https://www.youtube.com/watch?v=4acqdGcUQnE)
149+
- [Ep.21 - Add Async IO to Immediate Mode GUI](https://www.youtube.com/watch?v=z7QaTa7drFo)
150+
- [Ep.22 - Hot-Reload dear imgui](https://www.youtube.com/watch?v=BXybEWvSpGU)
151+
- [June 2024 Update](https://pagghiu.github.io/site/blog/2024-06-30-SaneCppLibrariesUpdate.html)
152+
153+
- [Ep.24 - Hot-Reload C++ on iOS](https://www.youtube.com/watch?v=6DfykfYCQdY)
142154

143155

144156
# Contributing

0 commit comments

Comments
 (0)