Re: [Repoze-dev] Problems with repoze.sphinx.autointerface
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
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Lotze wrote: > 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. I just released version 0.2, whicn now requires Sphinx >= 0.6.1. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKVRSq+gerLs4ltQ4RAqvlAKCXksx6I24MOdWT9dsNt5zjff42dQCggr5+ G+nerLRIEr2p01OGYuo3YiA= =eLUd -END PGP SIGNATURE- ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] Problems with repoze.sphinx.autointerface
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
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
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Lotze wrote: > 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... 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. 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(). but I haven't had a chance to figure that out yet, either. ]1] http://sphinx.pocoo.org/changes.html#release-0-6-mar-24-2009 Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKVKtV+gerLs4ltQ4RAi08AKCa1NCpTQOxmj2087HHdhGdicTghACfSccd G3gF3hn0eebYYREGyIzTqGY= =H3/R -END PGP SIGNATURE- ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] Problems with repoze.sphinx.autointerface
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