[racket] planet question

From: Jos Koot (jos.koot at gmail.com)
Date: Fri Mar 1 13:14:56 EST 2013

Thanks for attention to my question. I tried your advice and some variations
on this theme, but without luck.
Jos

  _____  

From: Robby Findler [mailto:robby at eecs.northwestern.edu] 
Sent: viernes, 01 de marzo de 2013 14:05
To: Jos Koot
Cc: Racket mailing list
Subject: Re: [racket] planet question


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 update my
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/6f01500c/attachment.html>

Posted on the users mailing list.