> >    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 directive? (That is, what would you write
> in your document and how would autodoc find the correct script?)
> 
> If you can give me an example, I can implement that.



Well, I use this recepe [1] so that actually I write the help text exactly
in the docstring. Maybe this is a little specific of my need, but I'm unsure
on how to make it general. And of course since it's a script cannot just be
"imported" it must be read and parsed.

Would it be ok to agree that if a docstring exists, tat will be used to
autodocument the script? 


thanks a lot
sandro
*:-)




[1] http://code.activestate.com/recipes/278844/

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

Reply via email to