Skip to content

Commit 30b8e0c

Browse files
Add links between (chat) commands and nut.chat/nut.command
1 parent 30f88c9 commit 30b8e0c

49 files changed

Lines changed: 8617 additions & 998 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/developer/commands/Chat.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ NutScript Chat Command Documentation.
55

66
Built-in and bundled-plugin chat commands registered through `nut.chat.register`.
77
Commands are executed server-side by a player and receive the issuing player plus parsed command arguments.
8+
9+
See also: [Chat library](../../libraries/nut.chat)
810
## Talking chat commands
911

1012
??? realm-shared "<a id=ic></a>ic (message)"

‎docs/developer/commands/Commands.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ NutScript Command Documentation.
55

66
Built-in and bundled-plugin commands registered through `nut.command.add`.
77
Commands are executed server-side by a player and receive the issuing player plus parsed command arguments.
8+
9+
See also: [Command library](../../libraries/nut.command)
810
## Roleplay commands
911

1012
??? realm-shared "<a id=roll></a>roll (maximum)"

‎docs/developer/libraries/nut.chat.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Extended Chatbox Module.
33

44

55
The NutScript chatbox is a custom implementation, rather than using the default GMOD chatbox. This allows the chatbox to contain additional features, such as multiple different chat types and categories.
6+
7+
See also: [List of Chat Commands](../../commands/Chat)
68
## Functions
79
??? realm-shared "<a id=nut.chat.timestamp></a>nut.chat.timestamp (ooc)"
810
##### sh_nut.chat.timestamp {#nut.chat.timestamp}

‎docs/developer/libraries/nut.command.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Chat Command module.
33

44
Handles registration, parsing, and execution of chat and console commands.
5+
6+
See also: [List of Commands](../../commands/Commands)
57
## Functions
68
??? realm-shared "<a id=nut.command.add></a>nut.command.add (command, data)"
79
##### sh_nut.command.add {#nut.command.add}

‎site/404.html‎

Lines changed: 112 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428

429429

430430
<span class="md-ellipsis">
431-
Globals
431+
Commands
432432

433433
</span>
434434

@@ -439,7 +439,7 @@
439439
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_2_label" aria-expanded="false">
440440
<label class="md-nav__title" for="__nav_2_2">
441441
<span class="md-nav__icon md-icon"></span>
442-
Globals
442+
Commands
443443
</label>
444444
<ul class="md-nav__list" data-md-scrollfix>
445445

@@ -450,12 +450,35 @@
450450

451451

452452
<li class="md-nav__item">
453-
<a href="/developer/globals/Globals/" class="md-nav__link">
453+
<a href="/developer/commands/Chat/" class="md-nav__link">
454454

455455

456456

457457
<span class="md-ellipsis">
458-
Globals
458+
Chat
459+
460+
</span>
461+
462+
463+
</a>
464+
</li>
465+
466+
467+
468+
469+
470+
471+
472+
473+
474+
475+
<li class="md-nav__item">
476+
<a href="/developer/commands/Commands/" class="md-nav__link">
477+
478+
479+
480+
<span class="md-ellipsis">
481+
Commands
459482

460483
</span>
461484

@@ -500,7 +523,7 @@
500523

501524

502525
<span class="md-ellipsis">
503-
Libraries
526+
Globals
504527

505528
</span>
506529

@@ -510,6 +533,78 @@
510533

511534
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_3_label" aria-expanded="false">
512535
<label class="md-nav__title" for="__nav_2_3">
536+
<span class="md-nav__icon md-icon"></span>
537+
Globals
538+
</label>
539+
<ul class="md-nav__list" data-md-scrollfix>
540+
541+
542+
543+
544+
545+
546+
547+
<li class="md-nav__item">
548+
<a href="/developer/globals/Globals/" class="md-nav__link">
549+
550+
551+
552+
<span class="md-ellipsis">
553+
Globals
554+
555+
</span>
556+
557+
558+
</a>
559+
</li>
560+
561+
562+
563+
564+
</ul>
565+
</nav>
566+
567+
</li>
568+
569+
570+
571+
572+
573+
574+
575+
576+
577+
578+
579+
580+
581+
582+
583+
584+
585+
586+
<li class="md-nav__item md-nav__item--nested">
587+
588+
589+
590+
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_4" >
591+
592+
593+
<label class="md-nav__link" for="__nav_2_4" id="__nav_2_4_label" tabindex="0">
594+
595+
596+
597+
<span class="md-ellipsis">
598+
Libraries
599+
600+
</span>
601+
602+
603+
<span class="md-nav__icon md-icon"></span>
604+
</label>
605+
606+
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_4_label" aria-expanded="false">
607+
<label class="md-nav__title" for="__nav_2_4">
513608
<span class="md-nav__icon md-icon"></span>
514609
Libraries
515610
</label>
@@ -978,10 +1073,10 @@
9781073

9791074

9801075

981-
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_4" >
1076+
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_5" >
9821077

9831078

984-
<label class="md-nav__link" for="__nav_2_4" id="__nav_2_4_label" tabindex="0">
1079+
<label class="md-nav__link" for="__nav_2_5" id="__nav_2_5_label" tabindex="0">
9851080

9861081

9871082

@@ -994,8 +1089,8 @@
9941089
<span class="md-nav__icon md-icon"></span>
9951090
</label>
9961091

997-
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_4_label" aria-expanded="false">
998-
<label class="md-nav__title" for="__nav_2_4">
1092+
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_5_label" aria-expanded="false">
1093+
<label class="md-nav__title" for="__nav_2_5">
9991094
<span class="md-nav__icon md-icon"></span>
10001095
Classes
10011096
</label>
@@ -1142,10 +1237,10 @@
11421237

11431238

11441239

1145-
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_5" >
1240+
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_6" >
11461241

11471242

1148-
<label class="md-nav__link" for="__nav_2_5" id="__nav_2_5_label" tabindex="0">
1243+
<label class="md-nav__link" for="__nav_2_6" id="__nav_2_6_label" tabindex="0">
11491244

11501245

11511246

@@ -1158,8 +1253,8 @@
11581253
<span class="md-nav__icon md-icon"></span>
11591254
</label>
11601255

1161-
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_5_label" aria-expanded="false">
1162-
<label class="md-nav__title" for="__nav_2_5">
1256+
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_6_label" aria-expanded="false">
1257+
<label class="md-nav__title" for="__nav_2_6">
11631258
<span class="md-nav__icon md-icon"></span>
11641259
Hooks
11651260
</label>
@@ -1214,10 +1309,10 @@
12141309

12151310

12161311

1217-
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_6" >
1312+
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_7" >
12181313

12191314

1220-
<label class="md-nav__link" for="__nav_2_6" id="__nav_2_6_label" tabindex="0">
1315+
<label class="md-nav__link" for="__nav_2_7" id="__nav_2_7_label" tabindex="0">
12211316

12221317

12231318

@@ -1230,8 +1325,8 @@
12301325
<span class="md-nav__icon md-icon"></span>
12311326
</label>
12321327

1233-
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_6_label" aria-expanded="false">
1234-
<label class="md-nav__title" for="__nav_2_6">
1328+
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_7_label" aria-expanded="false">
1329+
<label class="md-nav__title" for="__nav_2_7">
12351330
<span class="md-nav__icon md-icon"></span>
12361331
Plugins
12371332
</label>

0 commit comments

Comments
 (0)