8000 Merge pull request #22758 from tacaswell/doc_add_job_posting · matplotlib/matplotlib@178ed02 · GitHub
[go: up one dir, main page]

Skip to content

Commit 178ed02

Browse files
authored
Merge pull request #22758 from tacaswell/doc_add_job_posting
DOC: add job advert
2 parents c1f749a + 798fbdc commit 178ed02

File tree

3 files changed

+35
-3
lines changed

3 files changed

+35
-3
lines changed

doc/_static/mpl.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,30 @@ table.property-table td {
256256
width: 210px;
257257
}
258258

259+
.sidebar-announcement {
260+
border-left: solid 1px #e5e5e5;
261+
border-bottom: solid 1px #e5e5e5;
262+
border-right: solid 1px #e5e5e5;
263+
border-bottom-right-radius: 4px;
264+
border-bottom-left-radius: 4px;
265+
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.11);
266+
margin-bottom: 20px;
267+
padding: 28px 20px 20px;
268+
position: relative;
269+
}
270+
271+
.sidebar-announcement::before {
272+
content: "";
273+
position: absolute;
274+
top: 0;
275+
left: 0;
276+
display: block;
277+
height: 8px;
278+
width: 100%;
279+
background-color: #355f8d;
280+
background-image: linear-gradient(90deg, #440154, #355f8d);
281+
}
282+
259283
/* Two columns for install code blocks */
260284
div.twocol {
261285
padding-left: 0;
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<div class="sidebar-announcement">
2-
<p>Matplotlib 3.0 is Python 3 only.</p>
3-
<p>Python 2 support has been dropped on January 1, 2020.</p>
4-
<p>The last Python 2 compatible release is 2.2.5.</p>
2+
<h3>Matplotlib is Hiring!</h3>
3+
<p>We have support for a 3-year Research Software Engineer Position via
4+
a <a href="https://discourse.matplotlib.org/t/maplotlib-selected-for-nasa-roses-ostfl-2020/22303">grant
5+
from NASA.</a>
6+
</p>
7+
<p>Please
8+
see <a href="https://discourse.matplotlib.org/t/research-software-engineer-roses-2020-position/22597">
9+
the job posting</a> for more details and how to apply.</p>
10+
<p><strong>Applications will close April 15, 2022.</strong></p>
11+
512
</div>

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
321321
# and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386
322322
"collapse_navigation": not is_release_build,
323323
"show_prev_next": False,
324+
"left_sidebar_end": ["sidebar_announcement.html"],
324325
}
325326
include_analytics = is_release_build
326327
if include_analytics:

0 commit comments

Comments
 (0)
0