Skip to content

Commit 89fcc29

Browse files
milldrclaude
andcommitted
fix: use @site alias for AsciinemaWidget import
The relative import path broke when copying docs to versioned_docs/ because the path depth changed. Using @site alias ensures the import works from any location. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e49f08d commit 89fcc29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/legacy/tools.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Geodesic is our **Docker Based Toolbox**. It's a DevOps Linux Distro distributed
259259

260260
### Demo
261261

262-
import AsciinemaWidget from '../../../src/components/AsciinemaWidget';
262+
import AsciinemaWidget from '@site/src/components/AsciinemaWidget';
263263

264264
<AsciinemaWidget src="/assets/geodesic-demo.cast" rows={30} idleTimeLimit={3} preload={true} />
265265

versioned_docs/version-v1/resources/legacy/tools.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Geodesic is our **Docker Based Toolbox**. It's a DevOps Linux Distro distributed
259259

260260
### Demo
261261

262-
import AsciinemaWidget from '../../../src/components/AsciinemaWidget';
262+
import AsciinemaWidget from '@site/src/components/AsciinemaWidget';
263263

264264
<AsciinemaWidget src="/assets/geodesic-demo.cast" rows={30} idleTimeLimit={3} preload={true} />
265265

0 commit comments

Comments
 (0)