On 16/02/2011 21:21, werner wrote:
I have this in my .rst file:

Add SQL JOIN clause.

:param tbl: the name of the table to join with
:param exp: the join expression
:param joinType: examples: "LEFT", "RIGHT", "INNER", "OUTER"

which is rendered in html like:

Add SQL JOIN clause.
param tbl:      the name of the table to join with
param exp:      the join expression
param joinType:         examples: "LEFT", "RIGHT", "INNER", "OUTER"


I have seen in other Sphinx doc a rendering like this:

Parameters:

    * *parent* -- the AuiNotebook
      
<http://xoomer.virgilio.it/infinity77/AGW_Docs/aui.auibook.AuiNotebook.html#aui.auibook.AuiNotebook>
      parent;
    * *id* -- an identifier for the control: a value of -1 is taken to
      mean a default;
    * *pos* -- the control position. A value of (-1, -1) indicates a
      default position, chosen by either the windowing system or
      wxPython, depending on platform;

I can't find how I can change this, i.e. instead of repeating "param" to have a header "Parameters". Looking at the html with Firebug I see that both use a table class "docutils field-list, but the "child" elements are different in mine to the other doc I look at.

Can someone give me a tip on how to influence this.
Found an older thread on this which states that this only works for/with "..function::" and the list has to be a direct child of it.

Is this still the case or can one get it to work in some other way?

Werner

--
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to