Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vfdev-5 opened this issue Sep 2, 2022 · 1 comment
Open

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

vfdev-5 opened this issue Sep 2, 2022 · 1 comment

Comments

@vfdev-5
Copy link

vfdev-5 commented Sep 2, 2022

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!

@welcome
Copy link

welcome bot commented Sep 2, 2022

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant