Skip to content

AI-native design editor. Open-source Figma alternative.

Separate User Guide sidebar scope, remove redundant shortcut notes

Anton A S5eb1b3039019
diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts
index 07cd4f7d7..50f4d75c2 100644
--- a/docs/.vitepress/config.ts
+++ b/docs/.vitepress/config.ts
@@ -21,60 +21,79 @@ export default defineConfig({
nav: [
{ text: 'User Guide', link: '/user-guide/' },
- { text: 'Guide', link: '/guide/getting-started' },
{ text: 'Reference', link: '/reference/keyboard-shortcuts' },
- { text: 'Development', link: '/development/contributing' },
+ { text: 'Development', link: '/guide/getting-started' },
],
- sidebar: [
- {
- text: 'User Guide',
- items: [
- { text: 'Overview', link: '/user-guide/' },
- { text: 'Canvas Navigation', link: '/user-guide/canvas-navigation' },
- { text: 'Selection & Manipulation', link: '/user-guide/selection-and-manipulation' },
- { text: 'Drawing Shapes', link: '/user-guide/drawing-shapes' },
- { text: 'Text Editing', link: '/user-guide/text-editing' },
- { text: 'Pen Tool', link: '/user-guide/pen-tool' },
- { text: 'Layers & Pages', link: '/user-guide/layers-and-pages' },
- { text: 'Context Menu', link: '/user-guide/context-menu' },
- { text: 'Exporting', link: '/user-guide/exporting' },
- { text: 'Auto Layout', link: '/user-guide/auto-layout' },
- { text: 'Components', link: '/user-guide/components' },
- { text: 'Variables', link: '/user-guide/variables' },
- ],
- },
- {
- text: 'Guide',
- items: [
- { text: 'Getting Started', link: '/guide/getting-started' },
- { text: 'Features', link: '/guide/features' },
- { text: 'Architecture', link: '/guide/architecture' },
- { text: 'Tech Stack', link: '/guide/tech-stack' },
- { text: 'Comparison', link: '/guide/comparison' },
- { text: 'Figma Feature Matrix', link: '/guide/figma-comparison' },
- ],
- },
- {
- text: 'Reference',
- items: [
- { text: 'Keyboard Shortcuts', link: '/reference/keyboard-shortcuts' },
- { text: 'Node Types', link: '/reference/node-types' },
- { text: 'MCP Tools', link: '/reference/mcp-tools' },
- { text: 'Scene Graph', link: '/reference/scene-graph' },
- { text: 'File Format', link: '/reference/file-format' },
- ],
- },
- {
- text: 'Development',
- items: [
- { text: 'Contributing', link: '/development/contributing' },
- { text: 'Testing', link: '/development/testing' },
- { text: 'OpenSpec Workflow', link: '/development/openspec' },
- { text: 'Roadmap', link: '/development/roadmap' },
- ],
- },
- ],
+ sidebar: {
+ '/user-guide/': [
+ {
+ text: 'Getting Around',
+ items: [
+ { text: 'Canvas Navigation', link: '/user-guide/canvas-navigation' },
+ { text: 'Selection & Manipulation', link: '/user-guide/selection-and-manipulation' },
+ ],
+ },
+ {
+ text: 'Creating Content',
+ items: [
+ { text: 'Drawing Shapes', link: '/user-guide/drawing-shapes' },
+ { text: 'Text Editing', link: '/user-guide/text-editing' },
+ { text: 'Pen Tool', link: '/user-guide/pen-tool' },
+ ],
+ },
+ {
+ text: 'Organizing & Managing',
+ items: [
+ { text: 'Layers & Pages', link: '/user-guide/layers-and-pages' },
+ { text: 'Context Menu', link: '/user-guide/context-menu' },
+ { text: 'Exporting', link: '/user-guide/exporting' },
+ ],
+ },
+ {
+ text: 'Advanced Features',
+ items: [
+ { text: 'Auto Layout', link: '/user-guide/auto-layout' },
+ { text: 'Components', link: '/user-guide/components' },
+ { text: 'Variables', link: '/user-guide/variables' },
+ ],
+ },
+ ],
+ '/reference/': [
+ {
+ text: 'Reference',
+ items: [
+ { text: 'Keyboard Shortcuts', link: '/reference/keyboard-shortcuts' },
+ { text: 'Node Types', link: '/reference/node-types' },
+ { text: 'MCP Tools', link: '/reference/mcp-tools' },
+ { text: 'Scene Graph', link: '/reference/scene-graph' },
+ { text: 'File Format', link: '/reference/file-format' },
+ ],
+ },
+ ],
+ '/': [
+ {
+ text: 'Guide',
+ items: [
+ { text: 'Getting Started', link: '/guide/getting-started' },
+ { text: 'Features', link: '/guide/features' },
+ { text: 'Architecture', link: '/guide/architecture' },
+ { text: 'Tech Stack', link: '/guide/tech-stack' },
+ { text: 'Comparison', link: '/guide/comparison' },
+ { text: 'Figma Feature Matrix', link: '/guide/figma-comparison' },
+ ],
+ },
+ {
+ text: 'Development',
+ items: [
+ { text: 'Contributing', link: '/development/contributing' },
+ { text: 'Testing', link: '/development/testing' },
+ { text: 'OpenSpec Workflow', link: '/development/openspec' },
+ { text: 'Roadmap', link: '/development/roadmap' },
+ ],
+ },
+ ],
+ },
socialLinks: [
{ icon: 'github', link: 'https://github.com/dannote/open-pencil' },
diff --git a/docs/user-guide/auto-layout.md b/docs/user-guide/auto-layout.md
index 4e195d14d..d7c153115 100644
--- a/docs/user-guide/auto-layout.md
+++ b/docs/user-guide/auto-layout.md
@@ -6,11 +6,6 @@ description: Flexbox-based auto layout in OpenPencil — direction, gap, padding
# Auto Layout
Auto layout uses Yoga (flexbox engine) to position children automatically within a frame. It handles direction, spacing, alignment, and responsive sizing.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Enabling Auto Layout
- Select a frame and press **⇧ A** (Shift + A) to toggle auto layout on or off
diff --git a/docs/user-guide/canvas-navigation.md b/docs/user-guide/canvas-navigation.md
index 12bbefbc8..8b5e37061 100644
--- a/docs/user-guide/canvas-navigation.md
+++ b/docs/user-guide/canvas-navigation.md
@@ -6,11 +6,6 @@ description: Panning, zooming, and the hand tool in OpenPencil.
# Canvas Navigation
The canvas is your infinite workspace. You can pan and zoom freely to navigate your design.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Panning
Move the visible area of the canvas without affecting any objects.
diff --git a/docs/user-guide/components.md b/docs/user-guide/components.md
index 5abde1c6e..bf5cf568b 100644
--- a/docs/user-guide/components.md
+++ b/docs/user-guide/components.md
@@ -6,11 +6,6 @@ description: Creating reusable components, instances, component sets, overrides,
# Components
Components are reusable design elements. Edit the main component and all its instances update automatically.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Creating a Component
Select a frame or group and press **⌥ ⌘ K** (Ctrl + Alt + K). The node converts to a COMPONENT type in place.
diff --git a/docs/user-guide/context-menu.md b/docs/user-guide/context-menu.md
index 7afc548f7..72ac696e0 100644
--- a/docs/user-guide/context-menu.md
+++ b/docs/user-guide/context-menu.md
@@ -6,11 +6,6 @@ description: Right-click context menu actions in OpenPencil — clipboard, z-ord
# Context Menu
Right-click on the canvas to open the context menu. If you right-click on a node, it is selected first. Right-clicking on empty canvas clears the selection.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Clipboard Actions
| Action | Shortcut (Mac) | Shortcut (Win/Linux) |
diff --git a/docs/user-guide/drawing-shapes.md b/docs/user-guide/drawing-shapes.md
index 2a50397a5..461d44f5d 100644
--- a/docs/user-guide/drawing-shapes.md
+++ b/docs/user-guide/drawing-shapes.md
@@ -6,11 +6,6 @@ description: Creating rectangles, ellipses, lines, frames, sections, polygons, a
# Drawing Shapes
The bottom toolbar provides tools for creating shapes, frames, and sections. Select a tool, then click and drag on the canvas to draw.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Toolbar Tools
| Tool | Shortcut | Description |
diff --git a/docs/user-guide/exporting.md b/docs/user-guide/exporting.md
index 78a4d7c2b..b8b42cd21 100644
--- a/docs/user-guide/exporting.md
+++ b/docs/user-guide/exporting.md
@@ -6,11 +6,6 @@ description: Exporting images (PNG, JPG, WEBP) and saving/opening .fig files in
# Exporting
Export individual nodes as images, or save and open entire documents as .fig files.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Image Export
Select a node and use the Export section in the properties panel.
diff --git a/docs/user-guide/layers-and-pages.md b/docs/user-guide/layers-and-pages.md
index cf0dab5ed..d3fddfe27 100644
--- a/docs/user-guide/layers-and-pages.md
+++ b/docs/user-guide/layers-and-pages.md
@@ -6,11 +6,6 @@ description: Managing layers, pages, and the properties panel in OpenPencil.
# Layers & Pages
The editor interface has three main panels: layers (left), canvas (center), and properties (right). All panels are resizable by dragging the dividers.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Layers Panel
The layers panel on the left displays the document hierarchy as a tree.
diff --git a/docs/user-guide/pen-tool.md b/docs/user-guide/pen-tool.md
index aba3ef8fe..cc6f9adda 100644
--- a/docs/user-guide/pen-tool.md
+++ b/docs/user-guide/pen-tool.md
@@ -6,11 +6,6 @@ description: Drawing vector paths with bezier curves using the pen tool in OpenP
# Pen Tool
The pen tool creates vector paths using a vector network data model, compatible with Figma's .fig format.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Activating
Press **P** to activate the pen tool.
diff --git a/docs/user-guide/selection-and-manipulation.md b/docs/user-guide/selection-and-manipulation.md
index 42740999f..4081c0ea8 100644
--- a/docs/user-guide/selection-and-manipulation.md
+++ b/docs/user-guide/selection-and-manipulation.md
@@ -6,11 +6,6 @@ description: Selecting, moving, resizing, rotating, duplicating, and organizing
# Selection & Manipulation
Select objects to move, resize, rotate, duplicate, and organize them on the canvas.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Selecting
- **Click** a node to select it (deselects everything else)
diff --git a/docs/user-guide/text-editing.md b/docs/user-guide/text-editing.md
index 56f16bf81..048aa6916 100644
--- a/docs/user-guide/text-editing.md
+++ b/docs/user-guide/text-editing.md
@@ -6,11 +6,6 @@ description: Creating and editing text with rich formatting, fonts, and inline e
# Text Editing
Create text nodes and edit them directly on the canvas with full rich text support.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Creating Text
Press **T** to activate the text tool, then click on the canvas. An empty text node appears with a blinking cursor — start typing immediately.
diff --git a/docs/user-guide/variables.md b/docs/user-guide/variables.md
index be914bc4a..f1aa5b5c0 100644
--- a/docs/user-guide/variables.md
+++ b/docs/user-guide/variables.md
@@ -6,11 +6,6 @@ description: Design variables, collections, modes, and fill bindings in OpenPenc
# Variables
Variables store reusable design tokens — colors, spacing values, and other properties — that can be bound to nodes. Change a variable's value and every node using it updates.
-
-::: tip Cross-platform shortcuts
-⌘ = Ctrl, ⌥ = Alt on Windows and Linux.
-:::
-
## Opening the Variables Dialog
With no nodes selected, the Design tab shows page-level properties including a Variables section with collection and variable counts. Click the settings icon to open the variables dialog.
@@ -52,10 +47,6 @@ In the Fill section of the properties panel, use the variable picker to bind a c
When the variable's value changes (or when switching modes), all bound fills update automatically.
-## Keyboard Shortcuts
-
-Variables are managed through the dialog UI — there are no dedicated keyboard shortcuts. Open the dialog via the settings icon in the page-level Variables section.
-
## Tips
- Use collections to group related tokens (e.g., "Primitives" for raw colors, "Semantic" for role-based aliases, "Spacing" for layout values).