Skip to content

Commit

Permalink
Fix relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Oct 16, 2024
1 parent 53961f7 commit e6bfe8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cursorless-org-docs/docusaurus.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ function remarkPluginFixLinksToRepositoryArtifacts(): Transformer<Root> {
const artifactRelative = relative(repoRoot, artifact).replace(/\\/g, "/");

// We host all files under docs, will resolve as a relative link
if (artifactRelative.startsWith("docs/")) {
if (
artifactRelative.startsWith("packages/cursorless-org-docs/src/docs/")
) {
return;
}

Expand Down

0 comments on commit e6bfe8c

Please sign in to comment.