It works now! That was the problem.<br><br>For those who could have the same error, here is now my header:<br>---------------<br>#lang scribble/manual<br>@(require (planet cce/scheme:6:0/scribble)<br> (for-label scheme<br>
(this-package-in common)))<br><br>@(defmodule/this-package common)<br>---------------<br><br>Thanks all,<br>
Laurent<br><br><br><div class="gmail_quote">On Mon, Oct 19, 2009 at 18:09, Carl Eastlund <span dir="ltr"><<a href="mailto:carl.eastlund@gmail.com">carl.eastlund@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Oct 19, 2009 at 12:02 PM, Laurent <<a href="mailto:laurent.orseau@gmail.com">laurent.orseau@gmail.com</a>> wrote:<br>
> The package and the .ss files (btw, .scm files cannot be used in packages??)<br>
> are in the "..../lazy-doc" directory,<br>
> and the scrbl files are in "..../lazy-doc/reference".<br>
><br>
> Here is common.scrbl header:<br>
> ---------------<br>
> #lang scribble/manual<br>
><br>
> @(require (for-label scheme<br>
> "../common.ss"))<br>
><br>
> @defmodule[(planet orseau/lazy-doc:1:0/common)]<br>
> ---------------<br>
><br>
> There is no warning when I use "planet create ...." and all the<br>
> documentation looks fine except for the red links.<br>
> I also set a hard link with "add-hard-link" and when I test my package with<br>
> (require (planet orseau/lazy-doc:1:0/common))<br>
> in another file in another directory all is fine.<br>
><br>
> I did not use directly setup-plt or any install command. Should I have?<br>
><br>
> Thanks,<br>
> Laurent<br>
<br>
</div>Ah ha. I see the problem. You have required "../common.ss"<br>
for-label, but you have declared your documentation to describe<br>
(planet orseau/lazy-doc:1:0/common). Scribble is not smart enough to<br>
know those are the same thing. You want to use a planet path for both<br>
positions.<br>
<br>
I also recommend you replace the require spec with (this-packagin-in<br>
common), and the defmodule with (defmodule/this-package common). Both<br>
bindings are available from (planet cce/scheme), and you can find the<br>
online documentation here:<br>
<br>
<a href="http://planet.plt-scheme.org/package-source/cce/scheme.plt/6/0/planet-docs/manual/Modules.html#%28part._planet%29" target="_blank">http://planet.plt-scheme.org/package-source/cce/scheme.plt/6/0/planet-docs/manual/Modules.html#(part._planet)</a><br>
<a href="http://planet.plt-scheme.org/package-source/cce/scheme.plt/6/0/planet-docs/manual/scribble.html" target="_blank">http://planet.plt-scheme.org/package-source/cce/scheme.plt/6/0/planet-docs/manual/scribble.html</a><br>
<br>
(It only occurs to me now that I should have those documented in the<br>
same section for just this reason... oops.)<br>
<br>
If you use them, your code will continue to work even when you release<br>
1.1, 1.2, 2.0, etc., without having to update the version numbers.<br>
<font color="#888888"><br>
--Carl<br>
</font></blockquote></div><br>