Re: [sphinx-dev] How do I use output a config value in my .rst files?

2012-04-22 Thread TP
On Sun, Apr 22, 2012 at 6:14 AM, Doug Hellmann wrote: > In your case, you probably want to build a custom role processor Or perhaps use the standard sphinx.ext.extlinks extension [1]. [1] http://sphinx.pocoo.org/ext/extlinks.html -- You received this message because you are subscribed to the G

[sphinx-dev] Re: list-table, header has extra new line

2012-04-22 Thread Guenter Milde
On 2012-04-19, helix wrote: > Hi folks, > when I use a list-table to generate a table that has headers with line > blocks, a blank line seems to be added. If you look at the HTML source, you will realize that there is no blank line. Instead, the line block is wrapped in a div element: info

Re: [sphinx-dev] How do I use output a config value in my .rst files?

2012-04-22 Thread Doug Hellmann
Hi, Matt, I don't think there is a way to spit out the value of the variable in core Sphinx (though that would be useful). In your case, you probably want to build a custom role processor (http://www.doughellmann.com/articles/how-tos/sphinx-custom-roles/index.html). Then you could include text

[sphinx-dev] Undefined references for glossary entries with multiple voices

2012-04-22 Thread Roberto Bagnara
The new glossary feature whereby it is possible to have one explanation for multiple voices is really great. There seems to be one remaining problem in that an anchor seems to be provided only for the first voice. For example, suppose we have: morpheme morphemes In linguistics, a m

[sphinx-dev] open file in docstring

2012-04-22 Thread Peng Yu
Hi, It seems that `make doctest` is not able to revolve correct file path (not abspath) in docstring for opening it. I don't see an example on how to open a file in docstring with the correct non absolute path, and it is difficult to search an example by google. Could anybody give man example? Tha

[sphinx-dev] Is doctest supported in sphinx-build

2012-04-22 Thread Peng Yu
Hi, I don't see doctest supported in http://sphinx.pocoo.org/man/sphinx-build.html?highlight=command%20line But I see doctest in sphinx-quickstart generated Makefile. It seems that sphinx-build support doctest. I'm wondering why it is not documented. ~$ make Please use `make ' where is one of

[sphinx-dev] Is man sphinx-build vailable?

2012-04-22 Thread Peng Yu
I don't find manpage for sphinx-build. Is there any problem with my installation? Or the man page doesn't come with the installation? ~$ man sphinx-build No manual entry for sphinx-build ~$ sphinx-build -h Sphinx v1.1.2 Usage: /Library/Frameworks/Python.framework/Versions/2.7/bin/sphinx- build [op

[sphinx-dev] list-table, header has extra new line

2012-04-22 Thread helix
Hi folks, when I use a list-table to generate a table that has headers with line blocks, a blank line seems to be added. Can I avoid that somehow? Example: .. list-table:: blank line in header :header-rows: 1 :widths: 30 30 * - last value average over - | info