Hi! I'm using Sphinx's autodoc feature to document my API. For example::
DEFAULT_OPTION = 'default' def do_something(msg, option=DEFAULT_OPTION): print msg The generated documentation now shows the following signature: do_something(msg, option='default') How can I tell Sphinx to keep the name of the constant value? In this case: do_something(msg, option=DEFAULT_OPTION) Is there an option I have overlooked? If at all possible, I'd like NOT to write all signature by hand again. Cheers, Sebastian -- 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.