Skip to content

Commit d9d5289

Browse files
committed
Merge branch 'v2.1.1-doc' into v2.1.x
2 parents 2f758bb + cca6e68 commit d9d5289

File tree

4 files changed

+7
-56
lines changed

4 files changed

+7
-56
lines changed

ci/travis/test_script.sh

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/bash
22

3-
set -ev
3+
set -ex
44

55
# This script is meant to be called by the "script" step defined in
66
# .travis.yml. See http://docs.travis-ci.com/ for more details.
@@ -21,8 +21,5 @@ export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 429496
2121
echo PYTHONHASHSEED=$PYTHONHASHSEED
2222

2323
echo The following args are passed to pytest $PYTEST_ARGS $RUN_PEP8
24-
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
25-
pytest $PYTEST_ARGS $RUN_PEP8
26-
else
27-
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS -m pytest $PYTEST_ARGS $RUN_PEP8
28-
fi
24+
25+
pytest $PYTEST_ARGS $RUN_PEP8

doc/_templates/donate_sidebar.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
<div>
3-
<div onclick="open_window('MjI1OA==')" class="donate_button">Support matplotlib</div>
4-
<div onclick="open_window('MjM2OA==')" class="donate_button">Support NumFOCUS</div>
3+
<a href="https://www.flipcause.com/secure/cause_pdetails/MjI1OA==" target="_blank"> <div class="donate_button" >Support matplotlib</div></a>
4+
<a href="https://www.flipcause.com/secure/cause_pdetails/MTY3NTU=" target="_blank"> <div class="donate_button" >Support NumFOCUS</div></a>
55
</div>

doc/_templates/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ <h1>Citing Matplotlib</h1>
175175

176176
<h1>Open source</h1>
177177
<img src="_static/numfocus_badge.png" alt="A Fiscally Sponsored Project of NUMFocus"
178-
style="float:right; margin-left:20px" />
178+
style="float:right; margin-left:20px" href="https://numfocus.org"/>
179179
<p>
180180
Please
181-
consider <a href="https://www.flipcause.com/widget/MjI1OA==">donating
181+
consider <a href="https://www.flipcause.com/secure/cause_pdetails/MjI1OA==" target="_blank">donating
182182
to the Matplotlib project</a> through the Numfocus organization or to
183183
the <a href="http://numfocus.org/johnhunter/">John Hunter Technology Fellowship</a>.
184184
</p>

doc/_templates/layout.html

-46
Original file line numberDiff line numberDiff line change
@@ -344,52 +344,6 @@ <h3>{{ _('Navigation') }}</h3>
344344

345345
</style>
346346

347-
<script>
348-
349-
function open_window(cause_id) {
350-
var protocol=String(document.location.protocol);
351-
var new_url;
352-
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){
353-
new_url="https://www.flipcause.com/widget/"+cause_id
354-
window.open(new_url);
355-
}
356-
357-
else {
358-
document.getElementById("fc-fade").style.display = "block";
359-
document.getElementById("fc-fade").style.webkitAnimation = "backfadesin 1s";
360-
document.getElementById("fc-fade").style.animation = "backfadesin 1s";
361-
document.getElementById("fc-fade").style.mozAnimation = "backfadesin 1s";
362-
document.getElementById("fc-light").style.display = "block";
363-
document.getElementById("fc-light").style.webkitAnimation = "fadesin 1.5s";
364-
document.getElementById("fc-light").style.animation = "fadesin 1.5s";
365-
document.getElementById("fc-light").style.mozAnimation = "fadesin 1.5s";
366-
document.getElementById("fc-main").style.display = "block";
367-
document.getElementById("fc-main").style.webkitAnimation = "fadesin 1.5s";
368-
document.getElementById("fc-main").style.animation = "fadesin 1.5s";
369-
document.getElementById("fc-main").style.mozAnimation = "fadesin 1.5s";
370-
document.getElementById("fc-close").style.display = "block";
371-
document.getElementById("fc-close").style.webkitAnimation = "fadesin 1.5s";
372-
document.getElementById("fc-close").style.animation = "fadesin 1.5s";
373-
document.getElementById("fc-close").style.mozAnimation = "fadesin 1.5s";
374-
document.getElementById("fc-myFrame").style.display = "block";
375-
document.getElementById("fc-myFrame").style.webkitAnimation = "fadesin 1.5s";
376-
document.getElementById("fc-myFrame").style.animation = "fadesin 1.5s";
377-
document.getElementById("fc-myFrame").style.mozAnimation = "fadesin 1.5s";
378-
document.getElementById("fc-myFrame").src="https://www.flipcause.com/widget/"+cause_id;
379-
}
380-
}
381-
382-
383-
function close_window() {
384-
document.getElementById("fc-fade").style.display="none";
385-
document.getElementById("fc-light").style.display="none";
386-
document.getElementById("fc-main").style.display="none";
387-
document.getElementById("fc-close").style.display="none";
388-
document.getElementById("fc-myFrame").style.display="none";
389-
}
390-
391-
</script>
392-
393347
<div id="fc-fade" class="fc-black_overlay" onclick="close_window()"></div>
394348
<div id="fc-light" class="fc-white_content">
395349
<div id="fc-main" class="fc-main-box">

0 commit comments

Comments
 (0)