Hi,

On 13 April 2013 17:35, Takayuki Shimizukawa <shimizuk...@gmail.com> wrote:
> I got the result that you expected with bot Sphinx-1.1.3 and 1.2b1.
> Did you solve your problem yet?


I figured out that my problem was because I didn't realise that
module-level docstrings need to appear *before* any import statements.
So for example, in a module, this works:

"""

"Docstring here"

import os

"""

but this does not:

"""

import os

"Docstring here"

"""

Is this a bug in sphinx, or is this a python requirement that I never
realised before?


Cheers,



--
Thomi Richards

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to