Apologies if this message comes through twice, as I sent it yesterday via 
my email client but have yet to see it posted.  Now trying from the Groups 
interface.
-----

Hello List,

I hope this isn't something simple I've missed in the 
documentation<http://sphinx.pocoo.org/ext/autodoc.html>, 
but I want to override the function signature look from an autofunction.

Here's an example of what I'm currently doing:

.. autofunction:: temoa_rules.ProcessBalance_Constraint


Which emits the text:

temoa_rules.*ProcessBalance_Constraint*(M, p, s, d, i, t, v, o)


In this context, the module prefix 'temoa_rules.' is superfluous in the 
output, and if I had my druthers it would instead look like:


*ProcessBalance_Constraint*(M, p, s, d, i, t, v, o)


Even better if I could further change that to  

*ProcessBalance*(p, s, d, i, t, v, o)


Given that I want a different order of functions in my documentation than I 
have in my code file, and that I also want to intersperse other commentary 
between various functions in my file (so I can't use automodule), is there 
a way to customize the function signature?

Thanks,

Kevin

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/m1W-y6h0dPwJ.
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