@lexibase/create-rdx 1.2.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Keyboard shortcuts
|
|
3
|
+
description: Display keys and shortcut combinations with Kbd.
|
|
4
|
+
link_position: 8
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Single keys
|
|
8
|
+
|
|
9
|
+
Press <Kbd>Enter</Kbd> to confirm or <Kbd>Esc</Kbd> to close a dialog.
|
|
10
|
+
|
|
11
|
+
## Shortcut reference
|
|
12
|
+
|
|
13
|
+
Use `KbdGroup` to keep keys together when describing your application's shortcuts:
|
|
14
|
+
|
|
15
|
+
| Action | Shortcut |
|
|
16
|
+
| :----- | :------- |
|
|
17
|
+
| Search | <KbdGroup><Kbd>Ctrl</Kbd>+<Kbd>K</Kbd></KbdGroup> |
|
|
18
|
+
| Save | <KbdGroup><Kbd>Ctrl</Kbd>+<Kbd>S</Kbd></KbdGroup> |
|
|
19
|
+
| Close | <Kbd>Esc</Kbd> |
|
|
20
|
+
|
|
21
|
+
```mdx
|
|
22
|
+
<KbdGroup aria-label="Control plus K">
|
|
23
|
+
<Kbd>Ctrl</Kbd>+<Kbd>K</Kbd>
|
|
24
|
+
</KbdGroup>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
For a macOS shortcut:
|
|
28
|
+
|
|
29
|
+
<KbdGroup aria-label="Command plus K">
|
|
30
|
+
<Kbd aria-label="Command">⌘</Kbd>+<Kbd>K</Kbd>
|
|
31
|
+
</KbdGroup>
|
|
@@ -2,6 +2,8 @@ import { defineConfig } from '@lexibase/rdx'
|
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
4
|
description: 'Documentation built with RDX.',
|
|
5
|
+
// HTML and interface language: 'en' or 'pt-BR'. Your documents stay as written.
|
|
6
|
+
lang: 'en',
|
|
5
7
|
// Site identity, SEO and link previews. '/' paths refer to files in public/.
|
|
6
8
|
metadata: {
|
|
7
9
|
// The single site name: browser titles, social previews and default branding.
|