Skip to content

[Question] Is it possible to override toggle button hint ? #54

Description

@vfdev-5

Thanks for extension, very helpful in the docs !

I wonder if it could be possible to override toggle button text once it is already configured conf.py ?

We have conf.py:

# toggle button hint text
togglebutton_hint = "Show default setup"
togglebutton_hint_hide = "Hide default setup"

and in the docstring (RST) I'd like to write another title for the button

"""Some docstring

.. toggle:: Output

    test test
"""

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions