Skip to content

Commit 80499a5

Browse files
committed
fix: use require() for static assets in docs to respect baseUrl
Assets were using absolute paths like /img/... which don't work when the site is hosted at /perry/ subdirectory on GitHub Pages.
1 parent ca31426 commit 80499a5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/docs/workflows/claude-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ This flow is terminal-first. You connect to the workspace, launch the agent, and
1212

1313
## Demo
1414

15-
<video controls src="/video/claude-perry.mov" width="100%"></video>
15+
<video controls src={require('@site/static/video/claude-perry.mov').default} width="100%"></video>
1616

1717
Claude Code is available directly in the workspace terminal (via Perry Web UI or SSH clients like Termius):
1818

19-
<img src="/img/claude-mobile.png" alt="Claude Code on mobile terminal" width="360" />
19+
<img src={require('@site/static/img/claude-mobile.png').default} alt="Claude Code on mobile terminal" width="360" />
2020

2121
## 1) Configure credentials
2222

docs/docs/workflows/opencode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ OpenCode runs as a server inside each workspace. This lets you connect from the
88

99
## Demo
1010

11-
<video controls src="/video/opencode-perry.mov" width="100%"></video>
11+
<video controls src={require('@site/static/video/opencode-perry.mov').default} width="100%"></video>
1212

1313
OpenCode is directly accessible via the web on mobile:
1414

15-
<img src="/img/opencode-mobile.png" alt="OpenCode mobile client" width="360" />
15+
<img src={require('@site/static/img/opencode-mobile.png').default} alt="OpenCode mobile client" width="360" />
1616

1717
## 1) Configure OpenCode
1818

0 commit comments

Comments
 (0)