A colon has to follow the hash like #: so in order for Sphinx to pick it up as 
a doc string for that attribute.

Am 16.03.2012 um 11:11 schrieb Andrea Crotti <andrea.crott...@gmail.com>:

> I tried all the possible options I found but none of them worked yet.
> 
> Given something like:
> 
> a.py:
> 
> # this variable is used for x
> A = 10
> 
> # this variables is used for y
> B = 42
> 
> is there a way to tell Sphinx to detect the docstrings for these variables 
> and output the right thing?
> 
> Thanks,
> Andrea
> 
> -- 
> 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.
> 

-- 
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