Skip to content

Commit

Permalink
Editing GitHub Page
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Dec 20, 2024
1 parent da14a5d commit cb7cbdb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .pages/docs/api-reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,17 @@ <h3>Properties</h3>
<tr>
<td>Version</td>
<td>byte</td>
<td>Gets the UUID version number</td>
<td>Gets the UUID version number (7 for UUIDv7)</td>
</tr>
<tr>
<td>Variant</td>
<td>byte</td>
<td>Gets the UUID variant number</td>
<td>Gets the UUID variant number (2 for RFC 4122)</td>
</tr>
<tr>
<td>Time</td>
<td>DateTimeOffset</td>
<td>Gets the timestamp embedded in the UUID (UUIDv7 only)</td>
</tr>
</table>
</div>
Expand Down
10 changes: 9 additions & 1 deletion .pages/docs/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,15 @@ <h2>Basic Usage</h2>
string str = id.ToString(); // "0123456789abcdef0123456789abcdef"

// Parse from string
UUID parsed = UUID.Parse("0123456789abcdef0123456789abcdef");</code></pre>
UUID parsed = UUID.Parse("0123456789abcdef0123456789abcdef");

// Check UUID version and variant
Console.WriteLine($"Version: {id.Version}"); // 7 (UUIDv7)
Console.WriteLine($"Variant: {id.Variant}"); // 2 (RFC 4122)

// Get timestamp from UUID
Console.WriteLine($"Time: {id.Time:yyyy-MM-dd HH:mm:ss.fff}");
</code></pre>
</div>
</section>

Expand Down
5 changes: 5 additions & 0 deletions .pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ <h3>Thread Safe</h3>
<h3>Memory Efficient</h3>
<p>Zero-allocation options for high-throughput scenarios</p>
</div>
<div class="feature-card">
<i class="fas fa-clock"></i>
<h3>UUIDv7 Support</h3>
<p>Time-ordered, monotonic UUIDs with enhanced uniqueness</p>
</div>
<div class="feature-card">
<i class="fas fa-rocket"></i>
<h3>Bulk UUID Generation</h3>
Expand Down

0 comments on commit cb7cbdb

Please sign in to comment.