Skip to content

Commit 1ee9936

Browse files
fix doc grouping
1 parent c84738f commit 1ee9936

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/kernel/network.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export type UserspaceSocketEventListener = UserspaceClientSocketEventListener |
2020

2121
/**
2222
* The ready state of a socket, which can be used to determine whether the socket is open and can send/receive data.
23+
*
24+
* @group Userspace
25+
* @category Networking
2326
*/
2427
export enum SocketReadyState {
2528
CONNECTING,
@@ -30,6 +33,9 @@ export enum SocketReadyState {
3033

3134
/**
3235
* Error thrown when trying to listen on a port that is already in use.
36+
*
37+
* @group Userspace
38+
* @category Networking
3339
*/
3440
export class PortInUseError extends Error {
3541
constructor(port: number) {

typedoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"Windowing",
2626
"Sound",
2727
"Shells",
28+
"Networking",
2829

2930
"Completions",
3031
"Privileged-by-default Programs"

0 commit comments

Comments
 (0)