Skip to content

.. index:: entry doesn't work with stylesΒ #6216

@ricpelo

Description

@ricpelo

(It comes from https://groups.google.com/d/msg/sphinx-users/NfNL18cfzb8/5bjss_PhBwAJ)

Hi:

I'm trying to use the following:

.. index:: cos()

or even better:

.. index:: :php:func:cos()

Because I want to get the index entry in monospace font in the index.

However, it doesn't work, because the index entry shows literally as cos() or :php:func:cos().

Is there a way to do this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions