Skip to content

Commit 8830b9d

Browse files
committed
Fix CI failures: add skip markers for type signatures and partial snippets
- Add skip markers to Python type signature definitions (hooks) - Add skip markers to C# partial config snippets (mcp/debugging.md) - Add skip markers to Python snippets using undefined variables
1 parent e9b9775 commit 8830b9d

File tree

8 files changed

+10
-0
lines changed

8 files changed

+10
-0
lines changed

docs/auth/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ const client = new CopilotClient({
253253
<details>
254254
<summary><strong>Python</strong></summary>
255255

256+
<!-- docs-validate: skip -->
256257
```python
257258
client = CopilotClient({
258259
"use_logged_in_user": False, # Only use explicit tokens

docs/getting-started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ unsubscribeIdle();
426426
<details>
427427
<summary><strong>Python</strong></summary>
428428

429+
<!-- docs-validate: skip -->
429430
```python
430431
# Subscribe to all events
431432
unsubscribe = session.on(lambda event: print(f"Event: {event.type}"))

docs/hooks/error-handling.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ type ErrorOccurredHandler = (
2424
<details>
2525
<summary><strong>Python</strong></summary>
2626

27+
<!-- docs-validate: skip -->
2728
```python
2829
ErrorOccurredHandler = Callable[
2930
[ErrorOccurredHookInput, HookInvocation],

docs/hooks/post-tool-use.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ type PostToolUseHandler = (
2424
<details>
2525
<summary><strong>Python</strong></summary>
2626

27+
<!-- docs-validate: skip -->
2728
```python
2829
PostToolUseHandler = Callable[
2930
[PostToolUseHookInput, HookInvocation],

docs/hooks/pre-tool-use.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ type PreToolUseHandler = (
2424
<details>
2525
<summary><strong>Python</strong></summary>
2626

27+
<!-- docs-validate: skip -->
2728
```python
2829
PreToolUseHandler = Callable[
2930
[PreToolUseHookInput, HookInvocation],

docs/hooks/session-lifecycle.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ type SessionStartHandler = (
2828
<details>
2929
<summary><strong>Python</strong></summary>
3030

31+
<!-- docs-validate: skip -->
3132
```python
3233
SessionStartHandler = Callable[
3334
[SessionStartHookInput, HookInvocation],
@@ -205,6 +206,7 @@ type SessionEndHandler = (
205206
<details>
206207
<summary><strong>Python</strong></summary>
207208

209+
<!-- docs-validate: skip -->
208210
```python
209211
SessionEndHandler = Callable[
210212
[SessionEndHookInput, HookInvocation],

docs/hooks/user-prompt-submitted.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ type UserPromptSubmittedHandler = (
2424
<details>
2525
<summary><strong>Python</strong></summary>
2626

27+
<!-- docs-validate: skip -->
2728
```python
2829
UserPromptSubmittedHandler = Callable[
2930
[UserPromptSubmittedHookInput, HookInvocation],

docs/mcp/debugging.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ cd /expected/working/dir
242242

243243
#### .NET Console Apps / Tools
244244

245+
<!-- docs-validate: skip -->
245246
```csharp
246247
// Correct configuration for .NET exe
247248
["my-dotnet-server"] = new McpLocalServerConfig
@@ -266,6 +267,7 @@ cd /expected/working/dir
266267

267268
#### NPX Commands
268269

270+
<!-- docs-validate: skip -->
269271
```csharp
270272
// Windows needs cmd /c for npx
271273
["filesystem"] = new McpLocalServerConfig

0 commit comments

Comments
 (0)