-
Notifications
You must be signed in to change notification settings - Fork 39
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 placeholder announcement and html file for announcements #332
Changes from 11 commits
af25b54
5c16b6f
5719742
0096543
5878d22
62e8a0a
99bce71
ca3ac52
7bb304d
975536a
37a9fcb
4d71a5d
0a79c31
11c471d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!-- This will appear in the announcement banner at the top | ||
It needs to be activated by passing the link in | ||
html_theme_options section of conf.py using the key: "announcement" | ||
--> | ||
<div class="sidebar-message"> | ||
This is a community-supported project. | ||
If you'd like to contribute, | ||
<a href="https://github.com/napari/napari">check out our GitHub repository.</a> | ||
Your contributions are welcome! | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,6 +110,10 @@ | |
"secondary_sidebar_items": ["page-toc"], | ||
"pygment_light_style": "napari", | ||
"pygment_dark_style": "napari", | ||
# hard coded announcement for banner at the top: | ||
"announcement": "This is a community-supported project! There's many ways to contribute—click Contributing below for info.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And here as well, we could add the survey text and link. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As noted above, I think it's best to just have a placeholder announcement here and then we PR the survey as needed. The only question is where to keep this one plain text like I did or put in a link to dev/contributing docs -- sneaky way around the versioned docs! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lets try the link |
||
# Below uses a linked file, making it possible to edit the announcement without a release/rebuilding docs | ||
# "announcement": "https://raw.githubusercontent.com/napari/docs/blob/main/docs/_templates/announcement-template.html", | ||
} | ||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to add the survey text and link already?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could, I was sort of thinking of making this a placeholder and then making a survey PR just for better history
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah thinking more, I think it's better we have a default/placeholder announcement and then we PR the survey one as needed--and we have something to go back to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok sounds good!