[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [LDoc Q] How to combine documentation for a class implemented in multiple files?
- From: "Gary V. Vaughan" <gary@...>
- Date: Wed, 2 Oct 2013 20:35:09 +0800
Hi Steve,
Thanks for the response :)
On Oct 2, 2013, at 8:26 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Tue, Oct 1, 2013 at 4:29 PM, Gary V. Vaughan <gary@vaughan.pe> wrote:
>> Now that I'm converting the docu-comments to LDoc format, I'd like to be able to:
>> i) document the functions in base.lua near their definitions in that file;
>> ii) have the list method documentation from base.lua show up list.html, table methods in table.html and tree methods in tree.html.
>
> Hi Gary, sorry about the delay.
No apologies necessary.
> Basically you have a kind of
> inheritance situation where you would like to see the functions from
> the base module brought into the list module, etc. That strikes me as
> an interesting challenge - the @submodule idea is worth extending
> here. Perhaps base.lua could contain special sections that would be
> merged into the appropriate module?
That would be perfect!
> Does base.lua have any independent need to be documented - is it a
> user-facing module?
Not at all. It exists purely as an implementation detail, that the user
shouldn't be aware of ideally.
> steve d.
Cheers,
--
Gary V. Vaughan (gary AT vaughan DOT pe)
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail