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

Add announcement banner html to enable config #341

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

jni
Copy link
Member

@jni jni commented Jan 31, 2024

References and relevant issues

First part of #332: make sure the banner html is publicly accessible on
napari.org.

Description

Discussion on Zulip.

After this is merged, the banner text will live in

https://napari.org/dev/_static/announcement.html

forever. Since that file can be updated with a merge to main here, it is easy
to add or remove announcements, pending the pydata-sphinx-theme removing the
banner when the text is empty (see @melissawm's changes soon to be
suggested
).

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 31, 2024
@jni jni added this to the 0.5.0 milestone Jan 31, 2024
@jni jni merged commit 59b5f38 into napari:main Jan 31, 2024
7 checks passed
@jni jni deleted the banner-html branch January 31, 2024 11:12
Czaki added a commit that referenced this pull request Jan 31, 2024
# References and relevant issues

Together with #341, this PR supersedes #332.

# Description

The announcement banner text html was added in #341. This PR now points
our
config to it, allowing the banner to be displayed.

Note: #332 also has a CSS fix. However, that fix is included in the
latest
release of the napari-sphinx-theme, so I think it's best to leave it out
of
this PR. (I would be happy to make a separate PR for it if we don't want
to
wait until the dependencies are updated.)

Co-authored-by: Grzegorz Bokota <bokota+github@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants