# Using @other-doc to link to main docs.racket-lang.org package doc

**URL:** https://racket.discourse.group/t/using-other-doc-to-link-to-main-docs-racket-lang-org-package-doc/4099
**Category:** Questions & Answers
**Created:** [February 3, 2026, 9:33pm UTC](https://racket.discourse.group/t/using-other-doc-to-link-to-main-docs-racket-lang-org-package-doc/4099 "2026-02-03T21:33:42Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wilbowma](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@wilbowma](https://racket.discourse.group/u/wilbowma)
#### Post date: [February 3, 2026, 9:33pm UTC](https://racket.discourse.group/t/using-other-doc-to-link-to-main-docs-racket-lang-org-package-doc/4099/1 "2026-02-03T21:33:42Z")

</div>

I'm having trouble with a Scribble project that tries to link to the `graph-lib` documentation via `@other-doc['(lib "graph/scribblings/graph.scrbl")]`, but the generated link is to the local version of this documentation, not the [docs.racket-lang.org](http://docs.racket-lang.org) version.

My scribble build command is `scribble --dest-name build --htmls --redirect-main https://docs.racket-lang.org/ +m ++style assignment/custom.css index.scrbl`, and all documentation from `racket` seems to correctly link to [docs.racket-lang.org](http://docs.racket-lang.org).

Am I missing something obvious?

---

<div class="post-metadata">

### Author: ![mflatt](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/mflatt/32/6_2.png) [@mflatt](https://racket.discourse.group/u/mflatt)
#### Post date: [February 4, 2026, 1:23am UTC](https://racket.discourse.group/t/using-other-doc-to-link-to-main-docs-racket-lang-org-package-doc/4099/2 "2026-02-04T01:23:10Z")

</div>

Do you have `graph-lib` installed in user scope instead of installation scope? The "main" part of `--redirect-main` refers to documentation in installation scope.

---

<div class="post-metadata">

### Author: ![wilbowma](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@wilbowma](https://racket.discourse.group/u/wilbowma)
#### Post date: [February 4, 2026, 2:00am UTC](https://racket.discourse.group/t/using-other-doc-to-link-to-main-docs-racket-lang-org-package-doc/4099/3 "2026-02-04T02:00:39Z")

</div>

Ah. Probably. Is there no way to redirect user scope stuff?

---

<div class="post-metadata">

### Author: ![mflatt](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/mflatt/32/6_2.png) [@mflatt](https://racket.discourse.group/u/mflatt)
#### Post date: [February 4, 2026, 12:13pm UTC](https://racket.discourse.group/t/using-other-doc-to-link-to-main-docs-racket-lang-org-package-doc/4099/4 "2026-02-04T12:13:54Z")

</div>

No, not currently. The current implementation approach needs the local paths to have the same shape at the remote paths, just with a different prefix. User-scope package documentation ends up more scattered in the filesystem.

---

<div class="post-metadata">

### Author: ![wilbowma](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@wilbowma](https://racket.discourse.group/u/wilbowma)
#### Post date: [February 4, 2026, 7:20pm UTC](https://racket.discourse.group/t/using-other-doc-to-link-to-main-docs-racket-lang-org-package-doc/4099/5 "2026-02-04T19:20:16Z")

</div>

Okay, thanks!
