On Friday, April 17, 2015 at 6:18:20 PM UTC+8, Alex Knauth wrote:
>
>
> On Apr 17, 2015, at 5:17 AM, Thomas Lynch <
> [email protected] <javascript:>> wrote: 
>
> >>> 2. when trying to build the docs standalone .. so how can one do this? 
>
>
> > §lambda1:/home/deep/liquid-doc/liquid> scribble --htmls liquid.scrbl 
> > liquid.scrbl:5:21: collection not found 
> >   for module path: liquid/db-lib 
> >   collection: "liquid" 
> >   in collection directories: 
> >    /home/lynch/.racket/6.1/collects 
> >    /usr/share/racket/collects 
> >    ... [146 additional linked and package directories] 
> >   context...: 
> >    show-collection-err 
> >    standard-module-name-resolver 
> >    standard-module-name-resolver 
> >    /usr/share/racket/pkgs/scribble-lib/scribble/run.rkt:143:24 
> >    /usr/share/racket/pkgs/scribble-lib/scribble/run.rkt: [running body] 
>
> Did you install liquid-lib first?  Does the liquid directory in the 
> liquid-lib package include a file called db-lib.rkt? 
>
>

Yes, db-lib.rkt is there in the liquid-lib/liquid directory .. as is 
db-lib.scribl is here in the liquid-doc/liquid dir.   Here are the details:

raco setup: error: during making for <pkgs>/liquid-doc/liquid
raco setup:   liquid/liquid.scrbl:14:17: include-section: not a module path
raco setup:     at: "\"db-lib.scrbl\""
raco setup:     in: (include-section "\"db-lib.scrbl\"")
raco setup:     context...:
raco setup:      /usr/share/racket/pkgs/scribble-lib/scribble/base.rkt:118:0
raco setup:      try-next
raco setup:      /usr/share/racket/collects/syntax/wrap-modbeg.rkt:46:4
raco setup:      /usr/share/racket/collects/compiler/cm.rkt:309:0: 
compile-zo*
raco setup:      /usr/share/racket/collects/compiler/cm.rkt:519:26
raco setup:      /usr/share/racket/collects/compiler/cm.rkt:512:42
raco setup:      /usr/share/racket/collects/compiler/cm.rkt:477:0: 
maybe-compile-zo
raco setup:      /usr/share/racket/collects/compiler/cm.rkt:588:2: do-check
raco setup:      /usr/share/racket/collects/compiler/cm.rkt:670:4
raco setup:      /usr/share/racket/collects/setup/parallel-do.rkt:420:20: 
loop

§lambda1:/home/deep/liquid-doc> ls liquid
compiled      doc         info.rkt      query-parser.scrbl  tokens.scrbl
db-lib.scrbl  http-server.scrbl  liquid.scrbl  realtime.scrbl

And this is db-lib.scribl:

§lambda1:/home/deep> cat liquid-doc/liquid/db-lib.scrbl 
#lang scribble/base
@title{db-lib}
@section{Introduction}
   db-lib is the cure for world wide mouse cookie shortages...

If I comment out the include section for db-lib, then the next include 
gives me the same error.  The file is also in that same directory.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/480f90a0-d63a-4047-8b7f-34fe4d33143e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to