8000 DOC: add job advert by tacaswell · Pull Request #22758 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

DOC: add job advert #22758

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

Merged
merged 1 commit into from
Apr 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,30 @@ table.property-table td {
width: 210px;
}

.sidebar-announcement {
border-left: solid 1px #e5e5e5;
border-bottom: solid 1px #e5e5e5;
border-right: solid 1px #e5e5e5;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.11);
margin-bottom: 20px;
padding: 28px 20px 20px;
position: relative;
}

.sidebar-announcement::before {
content: "";
position: absolute;
top: 0;
left: 0;
display: block;
height: 8px;
width: 100%;
background-color: #355f8d;
background-image: linear-gradient(90deg, #440154, #355f8d);
}

/* Two columns for install code blocks */
div.twocol {
padding-left: 0;
Expand Down
13 changes: 10 additions & 3 deletions doc/_templates/sidebar_announcement.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<div class="sidebar-announcement">
<p>Matplotlib 3.0 is Python 3 only.</p>
<p>Python 2 support has been dropped on January 1, 2020.</p>
<p>The last Python 2 compatible release is 2.2.5.</p>
<h3>Matplotlib is Hiring!</h3>
<p>We have support for a 3-year Research Software Engineer Position via
a <a href="https://discourse.matplotlib.org/t/maplotlib-selected-for-nasa-roses-ostfl-2020/22303">grant
from NASA.</a>
</p>
<p>Please
see <a href="https://discourse.matplotlib.org/t/research-software-engineer-roses-2020-position/22597">
the job posting</a> for more details and how to apply.</p>
<p><strong>Applications will close April 15, 2022.</strong></p>

</div>
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
# and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386
"collapse_navigation": not is_release_build,
"show_prev_next": False,
"left_sidebar_end": ["sidebar_announcement.html"],
}
include_analytics = is_release_build
if include_analytics:
Expand Down
0