frog icon indicating copy to clipboard operation
frog copied to clipboard

In Scribble non-post, @racket links to local docs

Open wilbowma opened this issue 8 years ago • 0 comments

When I build a Scribble non-post file, the @racket links go to my local docs rather than to doc.racket-lang.org. I know this wasn't the case before, and I can't figure out why it's happening now---frog calls Scribble with --redirect-main, so I would expect the links to be correct.

To reproduce:

DIR=`mktemp -d`
cd $DIR
raco frog --init
cd _src
wget https://raw.githubusercontent.com/greghendershott/frog/master/example/_src/A-Non-Post-Scribble-Page.scrbl
cd ..
raco frog -b

Observe the links to Racket forms in the generated A-Non-Post-Scribble-Page.html have href=../../../$HOME/.racket .... rather than href=http://doc.racket-lang.org/.... as expected.

System versions and things

  • Frog 0.25
  • Racket v6.4.0.14
  • racket-doc package installed

wilbowma avatar Apr 21 '16 20:04 wilbowma