Re: few question

2008-09-06 Thread Georg Brandl
Georg Brandl schrieb: Pavel Kosina schrieb: These might be rather my wishes than anything else: I'm sorry it took so long to find time to answer properly. * finding for pyt should find also python and pythonic The search is somewhat whole-word-oriented. It stems words using a stemmer

Re: few question

2008-09-06 Thread Georg Brandl
Pavel Kosina schrieb: Georg Brandl napsal(a): * date in bootom could be formatted according to format in translation ... It should already be. The format is html_last_updated_fmt, and should be in the message catalog as well. Yes, it works. With this respect I got two other

Re: Exception occured

2008-09-06 Thread Georg Brandl
You're trying to use the web builder, which is dead by all means. :) A replacement may come in the future, for the time being 0.5 ships with new serializing builders. Georg Neal Becker schrieb: sphinx-0.4.2 make web mkdir -p .build/web .build/doctrees mkdir -p .static .templates

Re: Issue with automodule

2008-09-06 Thread Georg Brandl
Pierre GM schrieb: All, Once again, I have a problem with the .. automodule:: directive (r66095) Now, it doesn't print take any members of a module when module.__all__ is defined. It lokos like the problem comes from that line (L503): all_members = inspect.getmembers(todoc, lambda x: x in

Re: syntax highlight

2008-09-09 Thread Georg Brandl
Pavel Kosina schrieb: :-D Sorry, I forgot two things: - mentioned that .. highlight:: python3 helped for the example I stated before. - translation with codes: http://python.gymdom.cz/dokumentace/errors.html You're right... recognition of doctests isn't done when using some lexer other

Re: graphviz extension

2008-09-12 Thread Georg Brandl
Charles Duffy schrieb: I appreciate the report... that said, I'm a little unclear on what the Right Way to fix this is. sphinx.ext.pngmath appears to reference a self.builder.imgpath in render_math, but app.builder.imgpath doesn't appear to exist when process_graphviz_nodes is called from the

Re: sphinx-quickstart and index.rst

2008-09-24 Thread Georg Brandl
Pavel Kosina schrieb: idea: when restarting generation of conf.py with sphinx-quickstart (to get all the new choices), then my index.rst should stay the same or at least back it up quickstart isn't meant to update existing projects at all. I've now added a warning to quickstart to

Re: another project using sphinx for docs

2008-10-02 Thread Georg Brandl
Gary Poster schrieb: Thanks for sphinx! If you'd like to include this on your list of projects using sphinx, here's a link to the docs. These use the default template, and only customize the CSS (which ATM looks best on a Mac because of a font choice I made... :-/ ).

Re: weird loss of directive directive

2008-10-08 Thread Georg Brandl
Bob Tolbert schrieb: Hi, This may be a strange question, but I'm frankly at a loss for what I've done. For some reason, I can no longer use the directive directive. I get an error like: (ERROR/3) Unknown directive type directive. .. directive:: .. code-block:: filename when trying

Re: Python web frameworks luuuuuv Sphinx!

2008-10-08 Thread Georg Brandl
Sebastien Douche schrieb: On Mon, Oct 6, 2008 at 04:01, Kevin Teague [EMAIL PROTECTED] wrote: Wow, Sphinx is doing a pretty good job at being adopted as a docs tool for Python web frameworks - Grok, Django, Pylons, and repoze.bfg have all adopted Sphinx usage in the last few months or so!

Re: accessing bibliographic fields in the template layout.html

2008-10-08 Thread Georg Brandl
Peter Hoffmann schrieb: Hi, I'd like to add meta information from bibliographic fields[1] to the html head in the template layout.html. Is it possible to access those fields from inside the template? Or is there an other way to include this information like rst2html does? They should be

Re: best place to report a bug (with patch)?

2008-10-16 Thread Georg Brandl
Pauli Virtanen schrieb: Tue, 14 Oct 2008 09:37:12 +0200, Georg Brandl wrote: Trent Mick schrieb: There is an issue tracker at Google code (http://code.google.com/p/sphinx), Okay, thanks. I'll log a bug there. Is Google Code the authoritative repo for sphinx? Or is Python's repo the one

Re: Problem with latex and section names starting with accented characters

2008-10-17 Thread Georg Brandl
Roger Demetrescu schrieb: Hi guys (btw, is anyone reading this ? :)) I've upgraded Sphinx to the latest release (0.4.3) but no luck yet... I've also find out that the problem occurs only with sections that will be converted to chapters: In the following index.rst, only Álbum

Re: How to create Pygments extension for Sphinx

2008-10-17 Thread Georg Brandl
Gabriel Gellner schrieb: You can register an extension in the Sphinx conf.py file, say you have a pygments extension called foo_highlighting (which is an importable module or package . . .). Then add the lines: # If your extensions are in another directory, add it here.

Re: accessing bibliographic fields in the template layout.html

2008-10-18 Thread Georg Brandl
Peter Hoffmann schrieb: This does not work for me. The metadata dict is not available. Can you test it with the following document? === Test Document === :date: 2008-10-01 :author: Some User :copyright: gpl .. meta:: :description lang=en: A test document,

Re: Column/row spanning for latex

2008-10-22 Thread Georg Brandl
Roberto Alsina schrieb: On Wednesday 22 October 2008 02:36:49 Roger Binns wrote: I'm in the process of shifting to sphinx from plain html doc and particularly liked that I could get PDF out of this. (Note that I couldn't care less about latex. The conversion could happen via magic pixie

Re: Interspersing output with source

2008-10-25 Thread Georg Brandl
Roger Binns schrieb: I'm trying to do markup that shows output interspersed with source. Unfortunately I can't find anything that will work. You can see what I did with HTML in http://apsw.googlecode.com/files/apsw-3.6.3-r1.html in the example section. As an example this is the best I

Re: Spanish support (es_ES)

2008-10-25 Thread Georg Brandl
guillem schrieb: Hi You can grab it from http://webserver.dmt.upm.es/~guillem/sphinx.po Thanks for your hard work. I'm enjoying so much sphinx. Thanks to you! I've added it to trunk. Georg --~--~-~--~~~---~--~~ You received this message because you are

Re: add_module_names==False still adds module names

2008-10-25 Thread Georg Brandl
Roger Binns schrieb: I have add_module_names set to False in my conf.py. However the module name is still shown in two places: * The tooltips for methods and classes * The index for classes and methods For the index it is fine being listed for classes (class foo in module) but I

Re: Interspersing output with source

2008-10-27 Thread Georg Brandl
Roger Binns schrieb: Georg Brandl wrote: Apart from that, in the linked HTML file, I had to look twice to get the interspersed output, I did need to improve the style for it. And do a lot of other things to improve the formatting, presentation, linking, content and overall utility

Re: ifconfig and variables from conf.py

2008-10-27 Thread Georg Brandl
Andrew schrieb: Hi, I was hoping to use the ifconfig to build slightly different versions of my documentation (for different platforms). I put the following code in my .rst file: .. ifconfig:: livecd Some Live CD specific text and then added livecd = True to the

Re: patch: allow user to decide which autodoc methods are included in the documentation

2008-10-27 Thread Georg Brandl
Martin Hans schrieb: Hi, we are considering switching our project to Sphinx. Our old documentation system supports creating different manuals from the same sources. We use this to build both a developer's API documentation and a user's manual (which only contain the publicly exported

Re: Column/row spanning for latex

2008-10-27 Thread Georg Brandl
Roberto Alsina schrieb: On Wednesday 22 October 2008 16:10:04 Bruce Eckel wrote: I am also interested in better ways to produce PDF from Sphinx. The Python 3 Patterns Idioms book will be written in Sphinx, and if it could go to camera-ready copy directly, rather than having to convert it to

Re: Simple change to headers and footers

2008-10-27 Thread Georg Brandl
Bruce Eckel schrieb: The link on my headers and footers says: Python 3 Patterns Idioms v1.0 documentation » How do I change or remove the v1.0 documentation part? Set the `html_short_title` config value to Python 3 Patterns Idioms. cheers, Georg

Re: another project that uses sphinx: pypubsub

2008-10-27 Thread Georg Brandl
schoenborno schrieb: At: http://pubsub.sourceforge.net/. Thanks for a great tool! Oliver Thank you! Added to the EXAMPLES file. Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sphinx-dev group. To post

Re: Single-File HTML Builder, Sphinx-Build Output, rst2pdf

2008-10-29 Thread Georg Brandl
Mark Eichin schrieb: On Tue, Oct 28, 2008 at 6:50 PM, Max Battcher [EMAIL PROTECTED] wrote: 2) The person I'm debating with has said that on dumb terminals sphinx-build outputs ANSI where it is not appropriate and thus produces unreadable output. Should I ask him to clarify how he tested

Re: Single-File HTML Builder, Sphinx-Build Output, rst2pdf

2008-10-29 Thread Georg Brandl
Roberto Alsina schrieb: On Tuesday 28 October 2008 20:50:06 Max Battcher wrote: 3) What is the status on integrating rst2pdf with Sphinx? Does anyone have any quick instructions or work in progress code for doing rst2pdf builds that I can look at? I had something working and deleted it

Re: Autosummary

2008-10-29 Thread Georg Brandl
percious schrieb: Thanks George, Is the code at googlecode most update with what is in the python svn? I just want to make sure I am updating the correct thing before I go making a branch of an older version. I don't know -- the Google repo isn't managed by me. But from the commit date it

Re: Not able to generate the PDF using MikTex 2.7

2008-11-01 Thread Georg Brandl
ksachdeva schrieb: Hi, I am able to generate HTML and tex from a very basic (actually the content created by sphinx quick start) setup but when I try to generate pdf using pdftex utility I get bunch of errors and nothing gets generated. Again, I have not added anything to the project

Re: Indicating level by font size in the table of contents

2008-11-01 Thread Georg Brandl
Janet Swisher schrieb: On Tue, Oct 28, 2008 at 5:47 PM, Gael Varoquaux [EMAIL PROTECTED] wrote: Hi sphinx-devs (Hi Georg), As our documentation is gorwing, we are starting to have a fairly deep tree of sections: http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/ As

Re: Search not working as I expected

2008-11-01 Thread Georg Brandl
Roger Binns schrieb: If I search for a partial string then it is found. For example searching for modul will find module etc. I have a page with some constants that looks like this: :const:`SQLITE_STATUS_ONE`, :const:`SQLITE_STATUS_TWO`, :const:`SQLITE_STATUS_THREE` If I do a search

Re: how do I create a preface?

2008-11-01 Thread Georg Brandl
Doug Hellmann schrieb: I have some generic information I would like to include in a preface for a manual I'm converting to PDF (stuff like Intended Audience, etc.). If I format my index.rst file like: ### Book Title ### == Intended Audience

Re: Icon doesn't seem to get used locally

2008-11-01 Thread Georg Brandl
Bruce Eckel schrieb: If you set an icon and compile it in, the icon doesn't seem to show up when you open the file locally. For what it's worth, the icon line produced by sphinx is: link rel=shortcut icon href=_static/favicon.ico/ If that is the correct path for the icon, the browser is

ANNOUNCEMENT: New source code location

2008-11-02 Thread Georg Brandl
Hi, after some deliberation, I've decided to get Sphinx' source control away from the Python SVN repository, and use a DVCS. Since I'm already comfortable using Mercurial for other projects, I've stayed with it, and decided to give the new hosting site bitbucket.org a chance. New URLs

Re: ANNOUNCEMENT: New source code location

2008-11-02 Thread Georg Brandl
Gour schrieb: Georg == Georg Brandl [EMAIL PROTECTED] writes: Georg Hi, Georg after some deliberation, I've decided to get Sphinx' source Georg control away from the Python SVN repository, and use a Georg DVCS. Since I'm already comfortable using Mercurial for other Georg projects

Re: option list question

2008-11-03 Thread Georg Brandl
Bruce Eckel schrieb: I only know about it because I came across it while studying the Sphinx docs, and it mentioned that Smarty was used to do things like putting in smart quotes. Oops. It's in the build configuration file docs, smartypants, not smarty: html_use_smartypants

Re: option list question

2008-11-03 Thread Georg Brandl
Doug Hellmann schrieb: On Nov 3, 2008, at 3:41 PM, Georg Brandl wrote: Bruce Eckel schrieb: I only know about it because I came across it while studying the Sphinx docs, and it mentioned that Smarty was used to do things like putting in smart quotes. Oops. It's in the build

Re: make: Nothing to be done for `Makefile'

2008-11-04 Thread Georg Brandl
100drine schrieb: Hi, I am trying to use the Makefile generated by sphinx-quickstart command, but for some reason make does not execute anything. Here is what I try to do: make Makefile html make: Nothing to be done for `Makefile' make: *** No rule to make target `html'. Stop. Did I

Re: Feature request for cmdoption

2008-11-03 Thread Georg Brandl
as a feature request? Bob On Sat, Aug 30, 2008 at 8:36 AM, Georg Brandl [EMAIL PROTECTED] wrote: Bob Tolbert schrieb: I'd like to offer a suggestion for an enhancement to cmdoption. I find that I need to document multiple, small programs in the same document. And many of them have

Re: Passing config into templates

2008-11-03 Thread Georg Brandl
Ian Bicking schrieb: I want to do something like: sphinx-build -E live_site=1 ... And then do something like: {% if live_site == '1' %} ... google analytics code ... {% endif %} But I don't see a way to pass the options through to the template? Or is there another

Re: Silencing warnings

2008-11-03 Thread Georg Brandl
Jacob Kaplan-Moss schrieb: Hey all -- The Django docs have a nice index page[1] that's separate from the main ToC[2]. I find this a lot more usable, but it has one downside. Every time I build, I get: WARNING: /home/jacob/django-docs/docs/index.txt:: document isn't included in any

Re: Question about Info field lists

2008-11-03 Thread Georg Brandl
Kent Tenney schrieb: current SVN Sphinx/doc/_build/html/markup/desc.html#info-field-lists .. function:: format_exception(etype, value, tb[, limit=None]) Format the exception with a traceback. :param object: exception type :param value: exception value The first :param:

Re: Director Uses Sphinx

2008-11-04 Thread Georg Brandl
Steve schrieb: Just dropping a note to say director (https://fedorahosted.org/ director/) uses sphinx (http://packages.python.org/director/). Steve 'Ashcrow' Milner Added to the examples page. Thanks for the note! Georg --~--~-~--~~~---~--~~ You received

Re: Sphinx for general use

2008-11-06 Thread Georg Brandl
Alaric Haag schrieb: Hello, The Sphinx page bills it as a tool for documenting Python projects. I perceive it to be more of a document management tool that uses ReST. I've barely scratched the surface of using it though. So, I'm considering using it to make a lab manual to document all

Re: sphinx extension finalize

2008-11-06 Thread Georg Brandl
John Hunter schrieb: I have a sphinx extension directiveplot_directive http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/doc/sphinxext/plot_directive.py which we use to embed matplotlib plots, with links to src, in our narrative and API docs, eg

Re: Version control (was Re: Autosummary)

2008-11-06 Thread Georg Brandl
Just a quick note: I've looked at the repo, and I'll go over the code soon. I don't want to add the whole thing to 0.5 -- that will be out soon and has already enough new features. Instead, we can let autosummary mature, and include it in 0.6 (which won't be as long as 0.5 was from 0.4, I

Re: Asterisk'd image, with path

2008-11-08 Thread Georg Brandl
Yarko T schrieb: On Thu, Nov 6, 2008 at 3:57 AM, Georg Brandl [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: . As for the latex title/author patch, this is actually documented :) It's e.g. needed for doing author=A \\and B. Georg This seems like

Re: better error messages would be nice

2008-11-08 Thread Georg Brandl
Matthieu Labbé schrieb: Hello, A couple bugs I ran into... or let's say error messages that could be improved... 1) Give out a syntax error when ran under python 2.3, a better error message would be, e.g. Sphinx use the generator feature, available from python 2.??? 2) After

Re: Implementation of a ToDo directive

2008-11-09 Thread Georg Brandl
[EMAIL PROTECTED] schrieb: Thanks for your quick help. I managed to make todos show up as 'Todo: content of todo'. It did not work by simply putting 'Todo' in the argument list. It showed up then as 'Note: Todo:'. I needed to create a new node type 'todoNode' and add appropriate visitors.

Re: seealso

2008-11-09 Thread Georg Brandl
I don't think this fits with the intention of the seealso directive. It is meant as an admonition, like .. note:: or .. warning:: Georg Bruce Eckel schrieb: Pretty much just like any other level-2 header (that is, right below chapter level). On Sat, Nov 8, 2008 at 4:32 AM, Georg Brandl

Re: latex error

2008-11-09 Thread Georg Brandl
Roie Black (SKcon) schrieb: I have set up a virtualenv to test Sphinx and installed everything in that environment with easy_install. On my Windows box, the default Makefile does not work since the Windows mkdir fails. I installed mkdir.exe from UnxUtils and added a new MKDIR definition at

Re: seealso

2008-11-09 Thread Georg Brandl
to tell people other resources to look at. On Sun, Nov 9, 2008 at 3:31 AM, Georg Brandl [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I don't think this fits with the intention of the seealso directive. It is meant as an admonition, like .. note:: or .. warning:: Georg

Re: autoprogram::?

2008-11-09 Thread Georg Brandl
sandro dentella schrieb: Hi, I started using with great pleasure automodule/autoclass. I have many scripts in my packege and I'd like to use the same mechanism with script. I'd like sphinx could get the docrting from the script. Is that possible? How would you like to use this

Re: Implementation of a ToDo directive

2008-11-09 Thread Georg Brandl
Yarko schrieb: Thanks for all your effort on this. I will put it to use immediately on our project. Sphinx itself uses it too; see e.g. http://sphinx.pocoo.org/ext/coverage.html. Georg --~--~-~--~~~---~--~~ You received this message because you are

Re: Multiple columns

2008-11-09 Thread Georg Brandl
Roger Binns schrieb: I am trying to figure out how to get two or more columns. For example see the Documentation section of http://sphinx.pocoo.org/index.html or the page at http://docs.python.org/dev/ Curiously neither of those have a Show source although other pages do. This is because

Re: latex error

2008-11-16 Thread Georg Brandl
[EMAIL PROTECTED] schrieb: I have been running into this for a few days and went through the new setup to see if the problem went away. I just ran through the sequence again: mkdir stest cd stest virtualenv --no-site-packages . Scripts\activate sphinx-quickstart (mostly defaults chosen)

Translation updates

2008-11-16 Thread Georg Brandl
To all translators: There have been some updates in the strings to translate. Since 0.5 will be released soon, it would be nice if you could go over the .po file for your language and translate the entries with no msgstr, as well as those marked as fuzzy. Thanks! Georg

Re: Indicating level by font size in the table of contents

2008-11-16 Thread Georg Brandl
Roger Binns schrieb: Roger Binns wrote: If you are in the process of fixing styles, it would be nice to apply them to code-blocks too. For example if I have: .. code-block:: python Then have the CSS classes be highlight (currently done) and highlight-python. (I want to mess with

Re: Translation support added in trunk

2008-11-16 Thread Georg Brandl
Sebastien Douche schrieb: On Thu, Nov 13, 2008 at 09:21, Georg Brandl [EMAIL PROTECTED] wrote: Luc Saffre schrieb: Thank you, Peter, for your help. Peter's corrected sphinx.po file for the NL locale is now at: http://lino.saffre-rumma.ee/dl/sphinx.po Will somebody integrate

Re: Glitches in html and LaTeX

2008-11-16 Thread Georg Brandl
Dominique schrieb: Hi Georg, I recently discovered Sphinx and at the same time discovered that, yes, writing documentation *can* be fun! It's awesome, thanks! I found a couple of glitches and I'd like your opinion. If that's relevant, I'm on a Mac using Leopard (10.5) and TeXLive 2007:

Re: sphinxbuilder, includedoc, autoatschema releases

2008-11-16 Thread Georg Brandl
Rok Garbas schrieb: i just released 3 sphinx releated packages, maybe some one will found them usefull, ... * SphinxBuilder http://pypi.python.org/pypi/collective.recipe.sphinxbuilder buildout recipe that makes wirting documentation with Sphinx easier. * IncludeDoc

Re: Error building scikits documentation

2008-11-16 Thread Georg Brandl
Pauli Virtanen schrieb: Tue, 11 Nov 2008 02:57:07 -0800, Timmie wrote: I tried to build the scikit timseries documentation from http://scipy.org/scipy/scikits/browser/trunk/timeseries/scikits/ timeseries/doc It failed. Here is the logfile extract: Traceback (most recent call last):

Re: is 'toctree' required?

2008-11-16 Thread Georg Brandl
Gour schrieb: Hi! I was discussing with the person who works on migrating darcs manual From latex to reST about the possibility to adopt Sphinx. He tried it and has several complaints which I'd like to address here to find out if they can be resolved somehow... 1) In order to be able

Re: Translation updates

2008-11-16 Thread Georg Brandl
Sebastien Douche schrieb: On Sun, Nov 16, 2008 at 11:20, Georg Brandl [EMAIL PROTECTED] wrote: To all translators: There have been some updates in the strings to translate. Since 0.5 will be released soon, it would be nice if you could go over the .po file for your language and translate

Re: KeyError when running sphinx the second time

2008-11-22 Thread Georg Brandl
Morten Elo Petersen schrieb: Hi, I get the below error when running sphinx the second time. That is, change a few things and rerun. I've now committed a fix to the search indexing code; can you pull the latest tip and retry? (You may need to clean out the output directory.) Thanks, Georg

Re: Ubuntu latex packages

2008-11-23 Thread Georg Brandl
Roger Binns schrieb: texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended OK, I added that to the docs. You may want to point out in the docs that those are the Ubuntu packages. No doubt other distributions group things differently. These are the official

Re: Math extension (png rendering)

2008-11-23 Thread Georg Brandl
Fredrik Johansson schrieb: On Wed, Nov 19, 2008 at 6:10 PM, Georg Brandl [EMAIL PROTECTED] wrote: This does not seem to center-align images, at least not for me. As a workaround, I added div.math img { display: block; margin-left: auto; margin-right: auto; } That's curious

Sphinx 0.5 released

2008-11-23 Thread Georg Brandl
Hi all, I'm proud to announce the release of Sphinx 0.5 - Birthday edition! [1] What is it? === Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects (or other documents consisting of multiple reStructuredText source files). Its

Re: Clickable, scaled, image

2008-11-23 Thread Georg Brandl
Gael Varoquaux schrieb: Hey guys, Sorry to be lazy, but I can't find a quick way to do this: I want a scaled down image, using: .. image:: foobar.jpg :scale: 50 but I want it also to be a link to the image itself. The following does work, because the image is copied in the

Re: Sphinx 0.5 released

2008-11-24 Thread Georg Brandl
Rok Garbas schrieb: On Sun, Nov 23, 2008 at 7:44 PM, Georg Brandl [EMAIL PROTECTED] wrote: Hi all, I'm proud to announce the release of Sphinx 0.5 - Birthday edition! [1] happy birthday goerg, excelent job, great peace of code ... Thanks! where can i make feature proposals for next

Re: KeyError when running sphinx the second time

2008-11-24 Thread Georg Brandl
Kent Tenney schrieb: On Sun, Nov 23, 2008 at 7:23 AM, Georg Brandl [EMAIL PROTECTED] wrote: Morten Elo Petersen schrieb: Hi, I get the below error when running sphinx the second time. That is, change a few things and rerun. I've now committed a fix to the search indexing code; can you

Re: Another project using Sphinx

2008-11-24 Thread Georg Brandl
Grammarian schrieb: Please add ObjectListView to the list of projects using Sphinx: http://objectlistview.sourceforge.net/python Added! Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sphinx-dev group. To

Re: Use Sphinx to export rtf (Word)?

2008-11-27 Thread Georg Brandl
Timmie schrieb: It is probably easier to use a custom HTML template that gets rid of the decorations and load the generated HTML into Word. What about implementing the othere rest converters like rest2s5 or rest2odt? s5 doesn't make sense to me. odt may be a way to get to Word too, but as

Re: And another project using Sphinx

2008-11-27 Thread Georg Brandl
Dominique schrieb: Hi Georg, Pysparse now has a fresh Sphinx front page and documentation! http://pysparse.sourceforge.net/ Feel free to add it to your list. Added! Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: exception report

2008-11-27 Thread Georg Brandl
You wrote: During the ‘make changes’ command execution for the MPI4Python, I got the following error. The followings are the terminal output. Also, I attached the traceback file. Thanks for the report. The changes builder only lists changes for the version currently set in the conf.py file;

Re: [bug-report] Error installing python30-doc in MacPorts: No module named jinja

2008-12-04 Thread Georg Brandl
David Briscoe schrieb: I am setting up my PPC G4 iBook (1.33GHz) after a recent format. Tiger 10.4.11. I was installing Python and wxpython. I installed Python2.6 and then since it doesn't have doc package, I tried Python3.0-doc (but didn't actually request Python3.0, just to see what

Re: Search problem

2008-12-04 Thread Georg Brandl
Werner F. Bruhin schrieb: The search on my test doesn't work anymore. It worked as far as I could see, have done quite a bit of reorganizing source documents, however nothing (at least that I am aware of) with regards to the search functionality. When I search for e.g. wine which is

Re: How to have a global substitution file?

2008-12-04 Thread Georg Brandl
Werner F. Bruhin schrieb: I am just starting with Sphinx and ReST and I can't find how I could define a global substitution file for a doc project. In the Sphinx doc it states that one could do it using an .. include:: into each file. However I would prefer to define it only once

Re: KeyError when running sphinx the second time

2008-12-04 Thread Georg Brandl
Kent Tenney schrieb: On Tue, Nov 25, 2008 at 1:37 PM, Georg Brandl [EMAIL PROTECTED] wrote: Kent Tenney schrieb: On Sun, Nov 23, 2008 at 7:23 AM, Georg Brandl [EMAIL PROTECTED] wrote: Morten Elo Petersen schrieb: Hi, I get the below error when running sphinx the second time

Re: Search problem

2008-12-05 Thread Georg Brandl
Werner F. Bruhin schrieb: Just installed Firebug as recommended by Gael. So, when I do a search for e.g. something I get this error: Access to restricted URI denied code: 1012 file:///C:/Dev/twcb-doc/en/build/_static/jquery.js Line 28 Everyone has read/execute permissions on this.

Re: Search problem

2008-12-05 Thread Georg Brandl
Roger Binns schrieb: Werner F. Bruhin wrote: I think I see something similar on the pysparse site, it shows Preparing search and the rotating points after Searching when I search for e.g. precision. I can confirm seeing the same thing. If you install Firebug and enable the console

Re: Search problem

2008-12-06 Thread Georg Brandl
Roger Binns schrieb: Georg Brandl wrote: Is that reproducible? 100% It seems to me like a race condition which shouldn't always occur. (If it is reproducible, it would help me tremendously if I could try it myself...) It is the pysparse site. I went to http

Re: Bug in mathbase.py setup function?

2008-12-06 Thread Georg Brandl
Matthew Helsley schrieb: I'm trying to generate some math output but I keep getting: [EMAIL PROTECTED]:~/src/cvs/bgf/doc$ make html mkdir -p custom_build/html custom_build/doctrees sphinx-build -b html -d custom_build/doctrees . custom_build/html

Re: problem when building

2008-12-06 Thread Georg Brandl
mark schrieb: ok, the error is gone. I commented out the following line at conf.py: #html_static_path = ['.static'] The problem with the search persists (it does not come to an end). Firebug says this._index is null. This looks like a problem generating the index??? It was a bug in the

Re: problem when building

2008-12-07 Thread Georg Brandl
mark schrieb: It was a bug in the JavaScript, but is already fixed in Hg. I did a complete update. Then I added Optik-1.5.3. I seems now that sphinx has problems with the ubuntu 8.04 Python2.5 version. Maybe it would like some of the other 50+ packages available in the package manager? It

Re: Using Sphinx for a Java project

2008-12-07 Thread Georg Brandl
Lars Heuer schrieb: Hi all, Just a short notice that tinyTiM, the tiny Topic Maps engine, uses Sphinx for the project's documentation: http://tinytim.sourceforge.net/docs/2.0/ The project uses Sphinx 0.5 with a customized layout template. The docs are work in progress but we're very

Re: autodoc bug

2008-12-07 Thread Georg Brandl
Michael Bayer schrieb: the issue has a simple workaround, which is to docstring like this: def __init__(self): Begin the description here. I.e., a newline then the indent prevents the concatenation of classdoc + \n\n + initdoc from screwing up the indentation. The

Re: indentation level of rst files

2008-12-07 Thread Georg Brandl
mark schrieb: Lets say I have multiple articles with the usual structure: Document TitleA Section 1 TitleB = Chapter 1.1 TitleC - Is it possible to include this article in a subsection without modifying its

Re: Partial word search (was: Re: [Numpy-discussion] checksum on numpy float array)

2008-12-07 Thread Georg Brandl
All approaches to client-side full text search are doomed IMO. The word index with stemmed words is large enough for projects as large as the Python docs for example. Of course, partial search in the stemmed words would be possible, but gives odd results because you can only partially search in

Re: problem when building

2008-12-07 Thread Georg Brandl
mark schrieb: Access to restricted URI denied code: 1012 xhr.open(type,s.url,s.async);try{if(s.da...[s.url]=modRes;if(!jsonp) success();}else Does this occur locally? Have you tried it when the docs are served via HTTP? (I still can't reproduce it...) when I use apache2 for

Re: Search problem

2008-12-07 Thread Georg Brandl
Werner F. Bruhin schrieb: Georg Brandl wrote: Werner F. Bruhin schrieb: Just installed Firebug as recommended by Gael. So, when I do a search for e.g. something I get this error: Access to restricted URI denied code: 1012 file:///C:/Dev/twcb-doc/en/build/_static/jquery.js Line 28

Re: latex issue involving code blocks inside of :param: lists

2008-12-09 Thread Georg Brandl
Michael Bayer schrieb: [...] I'm still not understanding LaTex enough to figure out how to make the \MakeFramed box a little smaller, but a new way of doing this needs to be discovered, since anyone who tries to put a code example under a method :param: is going to have this issue. I

Re: autodoc bug

2008-12-09 Thread Georg Brandl
Michael Bayer schrieb: On Dec 7, 3:48 pm, Georg Brandl [EMAIL PROTECTED] wrote: of course provide patches for all this since its pretty simple. You should be able to do this right now because autoclass still allows content: .. autoclass:: myclass :members: .. automethod

Re: italian translation

2008-12-09 Thread Georg Brandl
sandro dentella schrieb: Hi, here you can find the italian translation: http://www.e-den.it/misc/sphinx.pot How am I supposed to generate the .js, .mo, .po? The .po is your .pot (t stands for template). The .mo and .js are compiled with python setup.py compile_catalog after

Re: indentation level of rst files

2008-12-09 Thread Georg Brandl
mark schrieb: I don't completely understand your goal -- should the articles appear within one document? Or only linked to from a master document? I am still trying to learn sphinx :-)) I want to assemble multiple small documents into bigger documents. Currently I do not understand how

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 switching

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 ge...@python.org wrote: Kent Tenney schrieb: On Tue, Nov 25, 2008 at 1:37 PM, Georg Brandl ge...@python.org wrote: Kent Tenney schrieb: On Sun, Nov 23, 2008 at 7:23 AM, Georg Brandl ge...@python.org wrote: Morten Elo

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: 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\Docmake.bat html Exception occurred: File D:\Program Files\Python26\Python-2.6.1\Doc\conf.py, line 33, in module import patchlevel

Re: extending semantic markup directives

2008-12-15 Thread Georg Brandl
) The extension can be a separate file, or you can put that code into conf.py. Georg Dan Craig schrieb: 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 ge...@python.org wrote: Dan Craig schrieb: Is it possible to add

  1   2   3   4   5   6   7   >