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

Allow changing version warning banner text #1909

Open
FranzRoters opened this issue Jun 28, 2024 · 2 comments
Open

Allow changing version warning banner text #1909

FranzRoters opened this issue Jun 28, 2024 · 2 comments

Comments

@FranzRoters
Copy link

Currently the text shown by the version warning banner is fixed, e.g. for the development version it says: This is documentation for **an unstable development version**.

This is a pretty hard statement. Actually we do not consider our develpment code being unstable. When published it has been running through the same tests as the release versions. We would, therefore, apprecheate being able to edit the default text, e.g. via some theme variable.

@Carreau
Copy link
Collaborator

Carreau commented Jul 5, 2024

Would it be ok to edit only the an unstable development version text, that is to say only what is in bold ?

As this is done via javascript it might be annoying to allow configuration of text while still allowing formatting bold ... etc.

Or we just allow full html which I'm not a big fan of.

@FranzRoters
Copy link
Author

Yes, from my perspective that would be absolutely fine. You certainly know the details much better than me, I didn't even think about formating, let alone the technical details. I agree that full html would be rather error prone.

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

2 participants