<div dir="ltr">I conform that it doesn't work without -I$(NDDIR)/Modules here. I get<br><br><br> $ NDDIR=/home/rpinson/nddir/ ./naturaldocs<br>Base class package "NaturalDocs::Languages::Simple" is empty.<br>
    (Perhaps you need to 'use' the module which defines that package first.)<br> at Modules/NaturalDocs/Languages/Augeas.pm line 19<br>BEGIN failed--compilation aborted at Modules/NaturalDocs/Languages/Augeas.pm line 19.<br>
Compilation failed in require.<br>BEGIN failed--compilation aborted.<br><br><br>For some reason, while NaturalDocs finds its modules in its local path, Augeas.pm won't find it there, so it needs to know about NaturalDocs's path, since it's not a standard Perl path.<br>
<br><br>That said, I could still pass the path to NaturalDocs and use basename on it, but I find that it's not as clean as passing the directory, and if the NaturalDocs package separates NaturalDocs from its modules, then it must put the modules in the standard Perl path. <br>
<br>Another way would be to ship Augeas.pm separately and have it installed in the ND path before calling NaturalDocs, but that gets a bit complicated imho.<br><br><br><br>Raphaël<br><br><br><br><br><div class="gmail_quote">
On Thu, Sep 11, 2008 at 8:23 AM, Raphaël Pinson <span dir="ltr"><<a href="mailto:raphink@gmail.com">raphink@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 dir="ltr"><br><br><div class="gmail_quote"><div class="Ih2E3d">On Thu, Sep 11, 2008 at 3:48 AM, David Lutterkort <span dir="ltr"><<a href="mailto:lutter@redhat.com" target="_blank">lutter@redhat.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>On Wed, 2008-09-10 at 18:45 -0700, David Lutterkort wrote:<br>
> On Wed, 2008-09-10 at 16:12 +0200, Raphael Pinson wrote:<br>
> > # HG changeset patch<br>
> > # User Raphael Pinson <<a href="mailto:raphink@gmail.com" target="_blank">raphink@gmail.com</a>><br>
> > # Date 1221055915 -7200<br>
> > # Node ID a2e54bd5c9fd56b804dc94f5690aa66e9f4ce046<br>
> > # Parent  f4e2629f1b5176c22341c0d84fb57cff4f2bf791<br>
> > Add naturaldocs to doc/<br>
> > Add Makefile.am to doc/ and doc/naturaldocs/<br>
> > Adapt Makefile.am and <a href="http://configure.ac" target="_blank">configure.ac</a> to build docs:<br>
> >   - add --with-naturaldocs=DIR<br>
> >   - add --with-pdfdocs<br>
<br>
</div>Two more things:<br>
<br>
(1) the menu in my browser is pretty jumbled, and it's hard for me to<br>
navigate through the docs ... the navi for the main site is mixed in<br>
between docs for Inifile and src/augeas.h</blockquote></div><div><br>That's the bit about reordering Menu.txt after the first ND launch. In short, ND does this:<br>- when first launched, it creates or modifies the Menu.txt. If it manages to parse files that were not present yet, it adds them (probably not where you would like them to be)<br>

- you modify Menu.txt to reorganize the files<br>- when you relaunch ND, it sees that the files it manages to parse are already all in Menu.txt, and doesn't modify the settings there, so you get the menu you specified.<div class="Ih2E3d">
<br>
 <br>(2) we should generate the docs for C code and for lenses completely<br></div></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

separately; that way, the website can link to them in different places.<br>
Generally, people will be interested in docs for the C code _or_ the<br>
lenses, but not both at the same time.<br>
<font color="#888888"></font></blockquote></div><div><br>Sure, that could be done easily, with two ND commands, although right now the C API and the lenses are already in two different menus on the doc page. Isn't that sufficient?<br>

<br><br>Raphael<br><br></div></div></div>
</blockquote></div><br></div>