Skip to content

Commit 30f5324

Browse files
feat: update docs with new @guidepup/record package changes
1 parent 3dc0785 commit 30f5324

File tree

7 files changed

+1647
-749
lines changed

7 files changed

+1647
-749
lines changed

docs/api/class-guidepup-record.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: "Guidepup Record Library"
3+
---
4+
5+
# Guidepup Record Library
6+
7+
Guidepup Record provides tools for screen recording.
8+
9+
Here's a typical example:
10+
11+
```ts
12+
import { macOSRecord } from "@guidepup/record";
13+
14+
(async () => {
15+
// Start the screen recording.
16+
const stopRecording = macOSRecord("./recordings/screenRecording.mov");
17+
18+
// ... perform some commands.
19+
20+
// Stop the screen recording.
21+
stopRecording();
22+
})();
23+
```
24+
25+
**Contents:**
26+
27+
- [macOSRecord](./class-guidepup#guidepup-macos-record)
28+
- [windowsRecord](./class-guidepup#guidepup-windows-record)
29+
30+
## macOSRecord {#guidepup-macos-record}
31+
32+
**See:** [macOSRecord]
33+
34+
Start a screen recording on MacOS.
35+
36+
## windowsRecord {#guidepup-windows-record}
37+
38+
**See:** [windowsRecord]
39+
40+
Start a screen recording on Windows.
41+
42+
[macosrecord]: ./class-macos-record "macOSRecord"
43+
[windowsrecord]: ./class-windows-record "windowsRecord"

docs/api/class-guidepup.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ import { voiceOver } from "@guidepup/guidepup";
3737
- [MacOSKeyCodes](./class-guidepup#guidepup-macos-key-codes)
3838
- [MacOSModifiers](./class-guidepup#guidepup-macos-modifiers)
3939
- [macOSQuit](./class-guidepup#guidepup-macos-quit)
40-
- [macOSRecord](./class-guidepup#guidepup-macos-record)
4140
- [nvda](./class-guidepup#guidepup-nvda)
4241
- [nvdaKeyCodeCommands](./class-guidepup#guidepup-nvda-key-code-commands)
4342
- [voiceOver](./class-guidepup#guidepup-voiceover)
@@ -46,7 +45,6 @@ import { voiceOver } from "@guidepup/guidepup";
4645
- [windowsOSActivate](./class-guidepup#guidepup-windows-activate)
4746
- [WindowsKeyCodes](./class-guidepup#guidepup-windows-key-codes)
4847
- [WindowsModifiers](./class-guidepup#guidepup-windows-modifiers)
49-
- [windowsRecord](./class-guidepup#guidepup-windows-record)
5048
- [windowsQuit](./class-guidepup#guidepup-windows-quit)
5149

5250
## macOSActivate {#guidepup-macos-activate}
@@ -79,12 +77,6 @@ Modifier keys for MacOS.
7977

8078
Quits a MacOS application if running.
8179

82-
## macOSRecord {#guidepup-macos-record}
83-
84-
**See:** [macOSRecord]
85-
86-
Start a screen recording.
87-
8880
## nvda {#guidepup-nvda}
8981

9082
**Type:** [NVDA]
@@ -171,12 +163,6 @@ Key codes for Windows.
171163

172164
Modifier keys for Windows.
173165

174-
## windowsRecord {#guidepup-windows-record}
175-
176-
**See:** [windowsRecord]
177-
178-
Start a screen recording.
179-
180166
## windowsQuit {#guidepup-windows-quit}
181167

182168
**See:** [windowsQuit]
@@ -188,7 +174,6 @@ Quits a Windows application if running.
188174
[macoskeycodes]: ./class-macos-key-codes "MacOSKeyCodes"
189175
[macosmodifiers]: ./class-macos-modifiers "MacOSModifiers"
190176
[macosquit]: ./class-macos-quit "macOSQuit"
191-
[macosrecord]: ./class-macos-record "macOSRecord"
192177
[nvda]: ./class-nvda "NVDA"
193178
[nvdakeycodecommands]: ./class-nvda-key-code-commands "NVDAKeyCodeCommands"
194179
[voiceover]: ./class-voiceover "VoiceOver"
@@ -197,5 +182,4 @@ Quits a Windows application if running.
197182
[windowsactivate]: ./class-windows-activate "windowsActivate"
198183
[windowskeycodes]: ./class-windows-key-codes "WindowsKeyCodes"
199184
[windowsmodifiers]: ./class-windows-modifiers "WindowsModifiers"
200-
[windowsrecord]: ./class-windows-record "windowsRecord"
201185
[windowsquit]: ./class-windows-quit "windowsQuit"

docs/api/class-macos-record.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: "macOSRecord"
1111
Start a screen recording on MacOS.
1212

1313
```ts
14-
import { macOSRecord } from "@guidepup/guidepup";
14+
import { macOSRecord } from "@guidepup/record";
1515

1616
(async () => {
1717
// Start the screen recording.

docs/api/class-windows-record.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: "windowsRecord"
1111
Start a screen recording on Windows.
1212

1313
```ts
14-
import { windowsRecord } from "@guidepup/guidepup";
14+
import { windowsRecord } from "@guidepup/record";
1515

1616
(async () => {
1717
// Start the screen recording.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@
3131
"write-heading-ids": "docusaurus write-heading-ids"
3232
},
3333
"dependencies": {
34-
"@docusaurus/core": "3.1.1",
35-
"@docusaurus/preset-classic": "3.1.1",
34+
"@docusaurus/core": "3.5.2",
35+
"@docusaurus/preset-classic": "3.5.2",
3636
"@mdx-js/react": "^3.0.1",
3737
"clsx": "^2.1.0",
3838
"prism-react-renderer": "^2.3.1",
3939
"react": "^18.2.0",
4040
"react-dom": "^18.2.0"
4141
},
4242
"devDependencies": {
43-
"@docusaurus/types": "3.1.1",
44-
"@guidepup/guidepup": "^0.22.3",
45-
"@types/node": "^20.11.27"
43+
"@docusaurus/types": "3.5.2",
44+
"@guidepup/guidepup": "^0.24.0",
45+
"@types/node": "^22.5.5"
4646
}
4747
}

sidebars.js

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const sidebars = {
4747
{ type: "doc", id: "api/class-macos-keystroke-command" },
4848
{ type: "doc", id: "api/class-macos-modifiers" },
4949
{ type: "doc", id: "api/class-macos-quit" },
50-
{ type: "doc", id: "api/class-macos-record" },
5150
{ type: "doc", id: "api/class-nvda-key-code-commands" },
5251
{ type: "doc", id: "api/class-nvda" },
5352
{ type: "doc", id: "api/class-screenreader" },
@@ -59,12 +58,29 @@ const sidebars = {
5958
{ type: "doc", id: "api/class-windows-key-codes" },
6059
{ type: "doc", id: "api/class-windows-keystroke-command" },
6160
{ type: "doc", id: "api/class-windows-modifiers" },
62-
{ type: "doc", id: "api/class-windows-record" },
6361
{ type: "doc", id: "api/class-windows-quit" },
6462
],
6563
},
6664
],
6765
},
66+
{
67+
type: "category",
68+
label: "Guidepup Record API Reference",
69+
items: [
70+
{
71+
type: "doc",
72+
id: "api/class-guidepup-record",
73+
},
74+
{
75+
type: "category",
76+
label: "Classes",
77+
items: [
78+
{ type: "doc", id: "api/class-macos-record" },
79+
{ type: "doc", id: "api/class-windows-record" },
80+
],
81+
},
82+
],
83+
},
6884
{
6985
type: "category",
7086
label: "Virtual Screen Reader API Reference",

0 commit comments

Comments
 (0)