← Back to team overview

launchpad-dev team mailing list archive

Re: Try Launchpad's apidoc!

 

On Thu, Jul 29, 2010 at 1:27 PM, Gary Poster <gary.poster@xxxxxxxxxxxxx> wrote:
>
> On Jul 29, 2010, at 7:05 AM, Jonathan Lange wrote:
...
>>
>> I can't help but notice that there's some stuff there that's not
>> relevant to Launchpad dev, ZODB for example. Is it possible to hide
>> that?
>
> Possible, of course.  Worth the effort, questionable.
>
> To get it hidden statically only, we can do some massaging of the generated HTML at one stage or another.
>
> I'm not sure how to get it hidden dynamically.  apidoc itself registers those docs (http://svn.zope.org/zope.app.apidoc/trunk/src/zope/app/apidoc/bookmodule/book.zcml?view=auto at the bottom, FWIW).  I don't think overrides will work for this, but maybe.  I'll give it a whirl some evening, maybe.

That would be very much appreciated. I imagine that the docs would
become even more fun to use if they had less clutter.

...
>> If I wanted to make this understand epytext, where would I start?
>
> You'd start with the zope.app.apidoc source (there's a project for the code on LP, https://bugs.edge.launchpad.net/zope.app.apidoc, but no import yet; the source is svn://svn.zope.org/repos/main/zope.app.apidoc/trunk/).
>
> Digging around in there briefly, it seemed like you might follow this path:
>

Thanks for the pointer.

jml



References