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

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 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.

Am I missing something obvious?

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.

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

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.

Okay, thanks!