[racket] How to generate relative links in Scribble documentation that points to docs.racket-lang.org

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Mon Feb 10 18:03:06 EST 2014

Hi All,

I am attempting to generate documentation for MetaPict using Scribble.

First cross reference information is collected:

    scribble --info-out all.sxref *scrbl

Then the documentation is built with references to
docs.racket-lang.org like this:

    scribble --html ++info-in all.sxref ++xref-in setup/xref
load-collections-xref --redirect-main "http://docs.racket-lang.org"
metapict.scrbl

The problem is that links internally all end up referring to
/Users/soegard/... rather than
being relative.

What am I missing?

The docs:
http://soegaard.github.io/docs/metapict/metapict.html
The scribble source:
https://github.com/soegaard/metapict/blob/master/metapict/scribblings/metapict.scrbl

--
Jens Axel Søgaard


Posted on the users mailing list.