Re: what happen to sphinx-web? or which way could we provide web editing of sphinx files?

2008-12-15 Thread Jorge Vargas
On Mon, Dec 15, 2008 at 2:06 PM, Gael Varoquaux wrote: > > On Mon, Dec 15, 2008 at 11:20:10AM -0800, Roger Binns wrote: > >> Jorge Vargas wrote: >> > anyone has done something like this? > >> It sounds like you want a wiki that uses rst syntax with some sort of >> hook so you can Sphinx over all

Re: Auto generating C++ docs

2008-12-15 Thread Dmitriy Morozov
I'd like to help out. In particular, I'm curous how you are approaching this. Do you intend to go with Doxygen, or something else (there are some nice tools out there like pygccxml and synopsis)? It would be nice to do this in a decoupled fashion: if the directives for C++ could be decoupled from

name 'HtmlFormatter' is not defined

2008-12-15 Thread Luc Saffre
It seems that the working version is currently broken. I get the following error when I try to make html: Traceback (most recent call last): File "l:\snapshot\sphinx\sphinx\cmdline.py", line 150, in main confoverrides, status, warning, freshenv) File "l:\snapshot\sphinx\sphinx\application

Re: what happen to sphinx-web? or which way could we provide web editing of sphinx files?

2008-12-15 Thread Jorge Vargas
On Mon, Dec 15, 2008 at 1:20 PM, Roger Binns wrote: > > Jorge Vargas wrote: >> anyone has done something like this? > > It sounds like you want a wiki that uses rst syntax with some sort of > hook so you can Sphinx over all the files. Trac can have the documents > in rst format and has a hooking

Re: Wrong indentation before reference

2008-12-15 Thread Jan-Philip Gehrcke
Hmm... what would be the solution to indent _everything_ between two reference labels by _two_ levels (e.g. to get the same level as an external (from this "label frame") paragraph)? example: ==begin== level_0 bla bla level_1 bla bla level_2 bla bla .. _label1: everything he

Customizing the "Show Source" source link

2008-12-15 Thread Luc Saffre
Hello, I suggest to wrap the "Show Source" link in layout.html into a block/endblock so that users can customize this part of the sidebar. Sorry I didn't manage to write a Mercurial changeset, but here is a manual patch: FILE: sphinx/templates/layout.html (line 54ff) BEFORE: {%- if

Re: Auto generating C++ docs

2008-12-15 Thread Michael Jones
I'm giving this a whirl, I'll keep this thread updated with progress. Might not be anything of interest before the new year though. Give us a shout if you'd like to help out, Michael On Sat, Dec 13, 2008 at 11:47 AM, Michael Jones wrote: > I've not tried, though I believe Dan's suggestion to be

Re: Qt help system

2008-12-15 Thread Georg Brandl
Janet Swisher schrieb: > On Sat, Dec 13, 2008 at 3:53 PM, Antonio Valentino > wrote: > >> It seems that QtAssistant doesn't handle correctly "default" and >> "sphinxdoc" style sheets. >> Further I would be better to use a very minimal template for >> qthelp (without sidebars etc.). Where can I f

Re: Qt help system

2008-12-15 Thread Janet Swisher
On Sat, Dec 13, 2008 at 3:53 PM, Antonio Valentino wrote: > It seems that QtAssistant doesn't handle correctly "default" and > "sphinxdoc" style sheets. > Further I would be better to use a very minimal template for > qthelp (without sidebars etc.). Where can I find a good one? > > I wonder if t

Sphinx 0.5.1 released

2008-12-15 Thread Georg Brandl
Hi, I've just released Sphinx 0.5.1, a bugfix release of the 0.5 branch. It's available as always from PyPI. Full changelog is below. cheers, Georg * #67: Output warnings about failed doctests in the doctest extension even when running in quiet mode. * #72: In pngmath, make it possible to

Re: what happen to sphinx-web? or which way could we provide web editing of sphinx files?

2008-12-15 Thread Gael Varoquaux
On Mon, Dec 15, 2008 at 11:20:10AM -0800, Roger Binns wrote: > Jorge Vargas wrote: > > anyone has done something like this? > It sounds like you want a wiki that uses rst syntax with some sort of > hook so you can Sphinx over all the files. Trac can have the documents > in rst format and has a

Re: what happen to sphinx-web? or which way could we provide web editing of sphinx files?

2008-12-15 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge Vargas wrote: > anyone has done something like this? It sounds like you want a wiki that uses rst syntax with some sort of hook so you can Sphinx over all the files. Trac can have the documents in rst format and has a hooking mechanism, althou

Re: Sphinx Error

2008-12-15 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Randy Doyle Wallace Jr. wrote: > NotImplementedError: Column or row spanning cells are not implemented. That is the case for the Latex writer. See prior discussion in this group starting around 22nd October. There is some hope of rst2pdf being avai

Re: search, again

2008-12-15 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Georg Brandl wrote: > It is -- the client-side search is nowhere as powerful as a full indexed > search would be, but that would require a) more than plain JavaScript > and b) a larger index and so can't be done on the client-side. I disagree. The c

Re: Creating and adapting extensions

2008-12-15 Thread Christophe de VIENNE
Hi, I do not have answers to all of your questions, but out of my experience making my own extension, here are a few ones : 2008/12/15 Timmie : > > Hello, > I have some questions while modifying and creating extensions. > > First, where can I find a preview of the announced extension guide? > I

Re: italian translation

2008-12-15 Thread Alessandro Dentella
On Mon, Dec 15, 2008 at 06:52:25PM +0100, Alessandro Dentella wrote: > > La mia traduzione italiana di sphinx èentrata in repo mercurial di sphinx... > Se aggiorni ce l'hai. sorry this is a mistake *:-) --~--~-~--~~~---~--~~ You received this message because yo

Re: italian translation

2008-12-15 Thread Alessandro Dentella
La mia traduzione italiana di sphinx èentrata in repo mercurial di sphinx... Se aggiorni ce l'hai. *:-) On Mon, Dec 15, 2008 at 10:22:13AM +0100, Georg Brandl wrote: > > sandro dentella schrieb: > > Ok, thanks, > > > > can you please consider the new version, after compiling I noticed > > s

Re: Wrong indentation before reference

2008-12-15 Thread Georg Brandl
Jan-Philip Gehrcke schrieb: > On 15 Dez., 10:39, Georg Brandl wrote: > >> >> The ".. _insttype:" label resets the indentation levels, so "instance type" >> is only indented once. >> > > Is this a feature? :-) That's a good question :) Since it's basic reStructuredText, the docutils group would

Re: Wrong indentation before reference

2008-12-15 Thread Jan-Philip Gehrcke
On 15 Dez., 10:39, Georg Brandl wrote: > > The ".. _insttype:" label resets the indentation levels, so "instance type" > is only indented once. > Is this a feature? :-) > Fortunately, since you want "AMI" to be unindented, this is easy -- just > put the bullet point on the same indentation lev

Re: extending semantic markup directives

2008-12-15 Thread Georg Brandl
An example extension implementing this role might look like this: from docutils import nodes, utils import posixpath def sfile_role(typ, rawtext, etext, lineno, inliner, options={}, content=[]): env = inliner.document.settings.env baseuri = env.config.sfile_base_uri text = utils.unes

Re: KeyError when running sphinx the second time

2008-12-15 Thread Kent Tenney
On Tue, Dec 16, 2008 at 6:42 AM, Georg Brandl wrote: > > Kent Tenney schrieb: >> On Fri, Dec 5, 2008 at 2:42 PM, Georg Brandl wrote: >>> >>> Kent Tenney schrieb: On Tue, Nov 25, 2008 at 1:37 PM, Georg Brandl wrote: > > Kent Tenney schrieb: >> On Sun, Nov 23, 2008 at 7:23 AM, Ge

Re: extending semantic markup directives

2008-12-15 Thread Dan Craig
Ok, I'll try that. If you can point me to an example, I'd appreciate it. Thanks, Dan On Dec 15, 6:38 am, Georg Brandl wrote: > Dan Craig schrieb: > > > Is it possible to add functionality to some of the semantic markup > > directives?  Specifically, I'm interested in the :file: directive. > >

Re: Doctest questions.

2008-12-15 Thread Andy Ray Terrel
Thanks for the response! I'll check out tip and play around with it. On Mon, Dec 15, 2008 at 5:33 AM, Georg Brandl wrote: > > Andy Ray Terrel schrieb: >> Hello, >> >> I had a few question trying to use the Sphinx doctest extension. I >> would like to get some code in a Sphinx generated tutoria

Re: KeyError when running sphinx the second time

2008-12-15 Thread Georg Brandl
Kent Tenney schrieb: > On Fri, Dec 5, 2008 at 2:42 PM, Georg Brandl wrote: >> >> Kent Tenney schrieb: >>> On Tue, Nov 25, 2008 at 1:37 PM, Georg Brandl wrote: Kent Tenney schrieb: > On Sun, Nov 23, 2008 at 7:23 AM, Georg Brandl wrote: >> >> Morten Elo Petersen schrieb: >>>

Re: extending semantic markup directives

2008-12-15 Thread Georg Brandl
Dan Craig schrieb: > Is it possible to add functionality to some of the semantic markup > directives? Specifically, I'm interested in the :file: directive. > According to the documentation, all it does is format the text. I'd > like it to format the text and create a hyperlink to a source code >

Creating and adapting extensions

2008-12-15 Thread Timmie
Hello, I have some questions while modifying and creating extensions. First, where can I find a preview of the announced extension guide? I didn't find it in the repository. Now to the technically things: How can I pass the builddir option of sphinx-build to my extension? I would like to use thi

Re: Doctest questions.

2008-12-15 Thread Georg Brandl
Andy Ray Terrel schrieb: > Hello, > > I had a few question trying to use the Sphinx doctest extension. I > would like to get some code in a Sphinx generated tutorial to be > tested for the SymPy project, currently we use the Python doctest > module to test the code but I have had problems switch

Re: :class: does not work inside :type :

2008-12-15 Thread Christophe de VIENNE
Hi, 2008/12/15 Georg Brandl : > > Christophe de VIENNE schrieb: >> Hi Georg, >> >> I am having a little problem with the :type: keyword and :class:. >> >> In the following code, all the :class:`TestClass` are rendered as >> links to the class definition, except for the one in the :type p1: >> key

what happen to sphinx-web? or which way could we provide web editing of sphinx files?

2008-12-15 Thread Jorge Vargas
hello I'm new here, although I have been using sphinx for umm about 5 days : ) and I love it. I have been trying to figure out what was sphinx-web because it seems it was deprecated and deleted. Anyway my original idea is to see if it will be possible to provide some way of editing file from a w

Sphinx Error

2008-12-15 Thread Randy Doyle Wallace Jr.
received this error: NotImplementedError: Column or row spanning cells are not implemented. traceback attached. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email t

Re: :class: does not work inside :type :

2008-12-15 Thread Georg Brandl
Christophe de VIENNE schrieb: > Hi Georg, > > I am having a little problem with the :type: keyword and :class:. > > In the following code, all the :class:`TestClass` are rendered as > links to the class definition, except for the one in the :type p1: > keyword : > > .. class:: TestClass > > ..

Re: admonition followed by an image directive

2008-12-15 Thread Georg Brandl
Werner F. Bruhin schrieb: > Using the above i.e.: > > .. note:: > some note here > > .. image:: _images/Boa21.png > > Means that the image is "attached" to the image using the "html" builder. > > I am trying to force a blank line in between them, but can't figure out > where the right pla

Re: wrong language_code in state.document.settings ?

2008-12-15 Thread Georg Brandl
Christophe de VIENNE schrieb: > Hi, > > I am working on an extension, and need to know the current language. > I found a 'language_code' attribute in state.document.settings, but it > is set to "en" while my documentation language is "fr". > > Am I looking in the wrong place or is it a bug ? It

Re: error building Python 2.6.1 documentation

2008-12-15 Thread Georg Brandl
Allan J Mui schrieb: > When I attempt to run the script `make.bat' in Python 2.6.1 /doc I am getting > an error: > D:\Program Files\Python26\Python-2.6.1\Doc>make.bat html > Exception occurred: > File "D:\Program Files\Python26\Python-2.6.1\Doc\conf.py", line 33, in > > > import patchlevel

Re: Wrong indentation before reference

2008-12-15 Thread Georg Brandl
Jan-Philip Gehrcke schrieb: > On the following picture you can see RST source (on the left) and HTML > output (on the right): > > http://gehrcke.de/files/foren/sphinx/sphinx_wrong_indent.png > > " - **AMI**" and " - **instance type**" are equally indented, but - > only with the reference ".. _in

Re: search, again

2008-12-15 Thread Georg Brandl
Alessandro Dentella schrieb: > thanks Rober for the very interesting explanation, now I also partly > understand why isi-chekup down't find pages, and checkup does... > > but I think it's a little bit awkward in some situation It is -- the client-side search is nowhere as powerful as a full inde

Re: italian translation

2008-12-15 Thread Georg Brandl
sandro dentella schrieb: > Ok, thanks, > > can you please consider the new version, after compiling I noticed > some mistakes: > > http://www.e-den.it/misc/sphinx2.pot Thanks, added to the repository as changeset 0aa422bdbaca. >> The .mo and .js are compiled with "python setup.py compil