-
Notifications
You must be signed in to change notification settings - Fork 339
Do not show announcement banner if contents are empty #1695
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
Comments
Yeah, so the rationale is: updating the conf.py for already deployed sites (such as Does that make sense to folks? Thanks @melissawm for getting the ball rolling here! |
+1 on this. I am also looking for this feature when switching to |
LGTM. In the PR, can you add a bit to the docs about this feature? Probably in this section: https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/announcements.html#insert-remote-html-with-javascript |
Will do, thanks! |
Incredible! ❤️ 🚀 |
Hello folks!
Over at https://github.com/napari/docs we would like to use a temporary announcement banner on our website. We are pointing to a remote announcement-banner.html file. But in the future, instead of turning temporary announcements on or off on the conf.py file, we would like to not show the announcement space at the top of the page if the contents of the announcement-banner.html file are empty.
I tried poking around and found that it could work if we do the following:
melissawm/pydata-sphinx-theme@master...empty-announcement
Is this an acceptable feature request? If so, I can submit a pull request with the suggestion above. Thanks!
cc @jni
The text was updated successfully, but these errors were encountered: