Skip to content

Commit e6bfe8c

Browse files
committed
Fix relative links
1 parent 53961f7 commit e6bfe8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cursorless-org-docs/docusaurus.config.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ function remarkPluginFixLinksToRepositoryArtifacts(): Transformer<Root> {
4545
const artifactRelative = relative(repoRoot, artifact).replace(/\\/g, "/");
4646

4747
// We host all files under docs, will resolve as a relative link
48-
if (artifactRelative.startsWith("docs/")) {
48+
if (
49+
artifactRelative.startsWith("packages/cursorless-org-docs/src/docs/")
50+
) {
4951
return;
5052
}
5153

0 commit comments

Comments
 (0)