@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lexibase/create-rdx",
3
- "version": "1.2.3",
3
+ "version": "2.0.0",
4
4
  "description": "Create a new RDX documentation project.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -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>
@@ -9,7 +9,7 @@
9
9
  "start": "rdx start"
10
10
  },
11
11
  "dependencies": {
12
- "@lexibase/rdx": "1.2.2",
12
+ "@lexibase/rdx": "2.0.0",
13
13
  "next": "^16.4.2",
14
14
  "react": "19.3.1",
15
15
  "react-dom": "19.3.1"
@@ -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.