[racket] planet question

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Mar 1 08:04:47 EST 2013

I think you need your info.rkt file to be in the top-level directory (and
then use a relative path to point to your scribble files).

Robby


On Fri, Mar 1, 2013 at 2:53 AM, Jos Koot <jos.koot at gmail.com> wrote:

> **
>  I finally made scribble doc for my planet-fmt package. However, when
> trying to build the package I receive a warning like:
>
>  Welcome to DrRacket, version 5.3.3.3--2013-02-18(1c2432e/a) [3m].
> Language: racket [custom]; memory limit: 2000 MB.
> (#<path:example.rkt> #<path:example.scrbl> #<path:info.rkt>)
> MzTarring .\...
>
>  WARNING:
> Package has no info.rkt file. This means it will not have a description or
> documentation on the PLaneT web site.
> #<path:c:\racket-jos\example\example.plt>
>
>  The following is a very stripped example that gives me this warning:
>
>  In directory example:
> file make-package.rkt
> subdirectory example
>
> In the subdirectory:
> file example.rkt
> file example.scrbl
> file info.rkt
>
>  make-package.rkt
> #lang racket
> (require planet/util)
> (force-package-building? #t)
> (build-scribble-docs? #t)
> (directory-list "example") ; gives correct list of files.
> (make-planet-archive (string->path "example"))
>
> example.rkt
> #lang racket
> (provide example)
> (define (example) 'example)
>
> example.scrbl
> #lang scribble/manual
> @(require "example.rkt" scribble/eval (for-label "example.rkt" racket))
> @title{A simple example}
> @author{Jacob J. A. Koot}
> @(defmodule "example.rkt")
> @section{Example}
> This is @code{example}.
> @defproc[(example) 'example]
>
>  info.rkt
> #lang setup/infotab
> (define scribblings (list (list "example.scrbl")))
> (define name "example")
> (define blurb (list "A simple example"))
> (define primary-file "example.rkt")
> (define categories (list 'misc))
>
>  I run make-package.rkt from DrRacket. File example.plt is prepared, but
> the warning appears. What do I wrong? Furthermore, when trying to updatemy planet-fmt package after logging in into planet, I get an error message,
> something like
>
> Oops, something went wrong ...
>
> No new version is installed.
>  Help please.
> Thanks, Jos
>
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130301/f239324a/attachment.html>

Posted on the users mailing list.