Skip to content

Commit a400dca

Browse files
committed
fix(docs): Link grid cards to tool anchors, not just area pages
Switch grid-item-card directives from :link-type: doc (resolves to area page without anchor) to :link-type: ref (resolves via StandardDomain labels to area/#tool-name). All 27 cards now deep-link to their specific tool section.
1 parent e12def5 commit a400dca

1 file changed

Lines changed: 54 additions & 54 deletions

File tree

docs/tools/index.md

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -32,62 +32,62 @@ Read tmux state without changing anything.
3232
:gutter: 2 2 3 3
3333

3434
:::{grid-item-card} list_sessions
35-
:link: sessions
36-
:link-type: doc
35+
:link: list-sessions
36+
:link-type: ref
3737
List all active sessions.
3838
:::
3939

4040
:::{grid-item-card} list_windows
41-
:link: windows
42-
:link-type: doc
41+
:link: list-windows
42+
:link-type: ref
4343
List windows in a session.
4444
:::
4545

4646
:::{grid-item-card} list_panes
47-
:link: windows
48-
:link-type: doc
47+
:link: list-panes
48+
:link-type: ref
4949
List panes in a window.
5050
:::
5151

5252
:::{grid-item-card} capture_pane
53-
:link: panes
54-
:link-type: doc
53+
:link: capture-pane
54+
:link-type: ref
5555
Read visible content of a pane.
5656
:::
5757

5858
:::{grid-item-card} get_pane_info
59-
:link: panes
60-
:link-type: doc
59+
:link: get-pane-info
60+
:link-type: ref
6161
Get detailed pane metadata.
6262
:::
6363

6464
:::{grid-item-card} search_panes
65-
:link: panes
66-
:link-type: doc
65+
:link: search-panes
66+
:link-type: ref
6767
Search text across panes.
6868
:::
6969

7070
:::{grid-item-card} wait_for_text
71-
:link: panes
72-
:link-type: doc
71+
:link: wait-for-text
72+
:link-type: ref
7373
Wait for text to appear in a pane.
7474
:::
7575

7676
:::{grid-item-card} get_server_info
77-
:link: sessions
78-
:link-type: doc
77+
:link: get-server-info
78+
:link-type: ref
7979
Get tmux server info.
8080
:::
8181

8282
:::{grid-item-card} show_option
83-
:link: options
84-
:link-type: doc
83+
:link: show-option
84+
:link-type: ref
8585
Query a tmux option value.
8686
:::
8787

8888
:::{grid-item-card} show_environment
89-
:link: options
90-
:link-type: doc
89+
:link: show-environment
90+
:link-type: ref
9191
Show tmux environment variables.
9292
:::
9393

@@ -101,80 +101,80 @@ Create or modify tmux objects.
101101
:gutter: 2 2 3 3
102102

103103
:::{grid-item-card} create_session
104-
:link: sessions
105-
:link-type: doc
104+
:link: create-session
105+
:link-type: ref
106106
Start a new tmux session.
107107
:::
108108

109109
:::{grid-item-card} create_window
110-
:link: windows
111-
:link-type: doc
110+
:link: create-window
111+
:link-type: ref
112112
Add a window to a session.
113113
:::
114114

115115
:::{grid-item-card} split_window
116-
:link: windows
117-
:link-type: doc
116+
:link: split-window
117+
:link-type: ref
118118
Split a window into panes.
119119
:::
120120

121121
:::{grid-item-card} send_keys
122-
:link: panes
123-
:link-type: doc
122+
:link: send-keys
123+
:link-type: ref
124124
Send commands or keystrokes to a pane.
125125
:::
126126

127127
:::{grid-item-card} rename_session
128-
:link: sessions
129-
:link-type: doc
128+
:link: rename-session
129+
:link-type: ref
130130
Rename a session.
131131
:::
132132

133133
:::{grid-item-card} rename_window
134-
:link: windows
135-
:link-type: doc
134+
:link: rename-window
135+
:link-type: ref
136136
Rename a window.
137137
:::
138138

139139
:::{grid-item-card} resize_pane
140-
:link: panes
141-
:link-type: doc
140+
:link: resize-pane
141+
:link-type: ref
142142
Adjust pane dimensions.
143143
:::
144144

145145
:::{grid-item-card} resize_window
146-
:link: windows
147-
:link-type: doc
146+
:link: resize-window
147+
:link-type: ref
148148
Adjust window dimensions.
149149
:::
150150

151151
:::{grid-item-card} select_layout
152-
:link: windows
153-
:link-type: doc
152+
:link: select-layout
153+
:link-type: ref
154154
Set window layout.
155155
:::
156156

157157
:::{grid-item-card} set_pane_title
158-
:link: panes
159-
:link-type: doc
158+
:link: set-pane-title
159+
:link-type: ref
160160
Set pane title.
161161
:::
162162

163163
:::{grid-item-card} clear_pane
164-
:link: panes
165-
:link-type: doc
164+
:link: clear-pane
165+
:link-type: ref
166166
Clear pane content.
167167
:::
168168

169169
:::{grid-item-card} set_option
170-
:link: options
171-
:link-type: doc
170+
:link: set-option
171+
:link-type: ref
172172
Set a tmux option.
173173
:::
174174

175175
:::{grid-item-card} set_environment
176-
:link: options
177-
:link-type: doc
176+
:link: set-environment
177+
:link-type: ref
178178
Set a tmux environment variable.
179179
:::
180180

@@ -188,26 +188,26 @@ Tear down tmux objects. Not reversible.
188188
:gutter: 2 2 3 3
189189

190190
:::{grid-item-card} kill_session
191-
:link: sessions
192-
:link-type: doc
191+
:link: kill-session
192+
:link-type: ref
193193
Destroy a session and all its windows.
194194
:::
195195

196196
:::{grid-item-card} kill_window
197-
:link: windows
198-
:link-type: doc
197+
:link: kill-window
198+
:link-type: ref
199199
Destroy a window and all its panes.
200200
:::
201201

202202
:::{grid-item-card} kill_pane
203-
:link: panes
204-
:link-type: doc
203+
:link: kill-pane
204+
:link-type: ref
205205
Destroy a pane.
206206
:::
207207

208208
:::{grid-item-card} kill_server
209-
:link: sessions
210-
:link-type: doc
209+
:link: kill-server
210+
:link-type: ref
211211
Kill the entire tmux server.
212212
:::
213213

0 commit comments

Comments
 (0)