Skip to content

Commit f69842f

Browse files
committed
fix: use current version url segment
1 parent 6d9f79c commit f69842f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Web/Documentation/SymlinkDocumentationCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(
2121
public function __invoke(string $path = '../tempest-framework'): ExitCode
2222
{
2323
$from = root_path($path, '/docs');
24-
$to = root_path('src/Web/Documentation/content/1.x');
24+
$to = root_path('src/Web/Documentation/content/', Version::default()->getUrlSegment());
2525

2626
$this->console->header('Symlinking documentation');
2727

0 commit comments

Comments
 (0)