Hi,

You can specify the `parse_node` argument for `app.add_object_type()`
to parse signature into index name.
For example:
https://bitbucket.org/birkenfeld/sphinx/src/a06827631/doc/conf.py?at=default#cl-100

Regards,
--
Takayuki SHIMIZUKAWA
http://about.me/shimizukawa


2014-10-08 8:31 GMT+09:00 Thomas Kluyver <[email protected]>:
> I'm adding an object type for IPython magic commands, using
> Sphinx.add_object_type() in an extension. The canonical form of magic
> commands begins with %, and I'd like them to show up like this in the index,
> e.g. %paste. However, I'd like them to be placed under the first letter of
> the name (i.e. %paste would sort as paste, under P), rather than being all
> grouped together under Symbols. Is there a convenient way of achieving this?
>
> Thanks,
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to