[racket] How to generate relative links in Scribble documentation that points to docs.racket-lang.org
2014-02-11 17:01 GMT+01:00 Matthew Flatt <mflatt at cs.utah.edu>:
> I think you're ending up with "file://..." URLs because you're
> rendering to a destination that is within a collection. That seems to
> trigger a special handling of paths that `--dest .` disables. I'll have
> to investigate more at some point, but it's probably a good idea to
> render to outside your package directory.
Check.
> Meanwhile, you only need to generate ".sxref" files if you're rendering
> multiple documents separately. It looks like you just have a single
> document here, so isn't
>
> scribble +m --redirect-main "http://docs.racket-lang.org" metapict.scrbl
>
> enough?
Just tried it (inside the collection) and it didn't work.
FWIW I am using running scribble from within a build dir.
~/racket-jan-30/racket/racket/bin/scribble ...
/Jens Axel