Hi, does autodoc -extension support a way to retrieve the comment only
- instead of including the name of the class/function/method? Or is
there an alternative way to do it?
I'm documenting REST API and would like to achieve something like
following:

---document.rst:

/api/user/<id>
==========
.. autofunction:: app.views.show_user

---app/views.py

def show_user(id):
  '''
  This view returns the user status in JSON format
  '''
  # implementation

---generated.rst

/api/user/<id>
==========
This view returns the user status in JSON format


So without the show_user(id) label in it. Possible? Yes?

Br,
Juha


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