[sphinx-dev] Re: why does sphinx eat traceback lines?

2009-11-12 Thread Chris Withers
Guenter Milde wrote: > But it should work if you put the example in an indented literal block: Nothing to do with it :-S > All of the following block should show up in the output:: > >>>> from testfixtures import compare >>>> compare(1, >... 2) >Traceback (most recent ca

[sphinx-dev] Re: documenting instance attributes

2009-11-12 Thread Joshua Bronson
Of course, I should have figured that out! Works now, thanks :) On Wed, Nov 11, 2009 at 4:35 AM, Christophe de VIENNE wrote: > My mistake, it's : > > .. attribute:: bar > your doc > > 2009/11/11 Joshua Bronson > > >> Thanks for the replies. I'll be following >> http://bitbucket.org/birkenfel

[sphinx-dev] Re: why does sphinx eat traceback lines?

2009-11-12 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers schrieb: > Guenter Milde wrote: >> But it should work if you put the example in an indented literal block: > > Nothing to do with it :-S > >> All of the following block should show up in the output:: >> >>>>> from testfixtures imp

[sphinx-dev] Re: Using higher level director in sys.path.append and os.abspath

2009-11-12 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nickmalcolm schrieb: > Hi, > I'm trying to specify a folder for the autodoc extension to scan for > modules. The file structure is like this > > C:\ > +Project > +Docs > - All the Sphinx stuff > +src > - Modules > > > I'

[sphinx-dev] Re: Django attribute documentation

2009-11-12 Thread David De Sousa
Hi! I managed to make sphinx's autoattribute to work with Django attributes, is there a way to collaborate? here's the diff between the original autodoc.py and my autodoc.py: (just in case, it's on http://pastebin.com/f6cece68e) 322c322,328 < obj = self.get_attr(obj, part) --- >

[sphinx-dev] Re: documenting instance attributes

2009-11-12 Thread Edward Z . Yang
Excerpts from Joshua Bronson's message of Tue Nov 10 19:34:32 -0500 2009: > I'd prefer Christophe's method to Edward's because it doesn't require > changing (obscuring?) your code to add your documentation, but I > couldn't get Christophe's method to work. No warnings generated or > anything, just

[sphinx-dev] faster sphinx-to-gihtub script

2009-11-12 Thread Ondrej Certik
Hi, I rewrote the sphinx-to-github script into python, now it is about 100x faster on larger projects. Code is here: http://github.com/certik/sphinx-to-github the original sphinx-to-github is here: http://github.com/michaeljones/sphinx-to-github I asked the original author (michaeljones) to p