Re: [Repoze-dev] Problems with repoze.sphinx.autointerface

2009-07-08 Thread Thomas Lotze
Tres Seaver wrote:

> I just released version 0.2, whicn now requires Sphinx >= 0.6.1.

Wow, that was fast. Thank you very much.

-- 
Thomas



___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] Problems with repoze.sphinx.autointerface

2009-07-08 Thread Thomas Lotze
Tres Seaver wrote:

> I haven't had a chance to look at it, and likely won't have for a bit. I
> would be glad to apply a patch and release a new version, if that would
> help.

Actually, the immediate reason for the registration of the directive to
break seems to have been fixed on the trunk back in May. Therefore, just
cutting a bug-fix release would be very helpful.

> I do know that newer versions of Sphinx are supposed to provide some
> additional support for plugins like autointerface:  the release notes for
> 0.6[1] say:
> 
>  Autodoc now has a reusable Python API, which can be used to create custom
>  types of objects to auto-document (e.g. Zope interfaces). See also
>  Sphinx.add_autodocumenter().

OK, I've taken a glance at this, and it looks rather like a rewrite of the
whole thing. I think I'd like to have that, so I might find some time for
it at some point, but certainly not right away. Thank you for the pointer,
anyway.

-- 
Thomas



___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] Problems with repoze.sphinx.autointerface

2009-07-08 Thread Thomas Lotze
Tres Seaver wrote:

> I haven't had a chance to look at it, and likely won't have for a bit. I
> would be glad to apply a patch and release a new version, if that would
> help.

OK, I'll try to come up with one.

-- 
Thomas



___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev


Re: [Repoze-dev] Problems with repoze.sphinx.autointerface

2009-07-07 Thread Thomas Lotze
Alec Munro wrote:

> Seems this depends on docutils 0.5, as when used with docutils 0.4, it
> tries to import Directive from docutils.parsers.rst. Which isn't there.
> 
> Upon updating docutils, it seems like it may not like sphinx 0.6.1. On
> line 112, it calls:
> 
> app.add_directive('autointerface', AutoInterfaceDirective,
>   0, (1, 0, 1) )
> 
> Which results in sphinx complaining:
> 
> "when adding directive classes, no additional arguments may be given"
[...]

What has become of this? The same issue is biting me as well...

-- 
Thomas



___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev