Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 435520f

Browse filesBrowse files
authored
Merge pull request #10025 from dstansby/website-sidebar
Remove badges from website sidebar
2 parents c5b70cb + 187e7a8 commit 435520f
Copy full SHA for 435520f

File tree

Expand file treeCollapse file tree

5 files changed

+6
-15
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+6
-15
lines changed

‎doc/_templates/badgesidebar.html

Copy file name to clipboardExpand all lines: doc/_templates/badgesidebar.html
-10Lines changed: 0 additions & 10 deletions
This file was deleted.

‎doc/_templates/donate_sidebar.html

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
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>
3+
<div onclick="open_window('MjI1OA==')" class="donate_button">Support Matplotlib</div>
44
<div onclick="open_window('MjM2OA==')" class="donate_button">Support NumFOCUS</div>
55
</div>

‎doc/_templates/indexsidebar.html

Copy file name to clipboardExpand all lines: doc/_templates/indexsidebar.html
Whitespace-only changes.

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,9 @@ def _check_deps():
241241

242242
# Custom sidebar templates, maps page names to templates.
243243
html_sidebars = {
244-
'index': ['badgesidebar.html','donate_sidebar.html',
245-
'indexsidebar.html', 'searchbox.html'],
246-
'**': ['badgesidebar.html', 'localtoc.html',
247-
'relations.html', 'sourcelink.html', 'searchbox.html']
244+
'index': ['donate_sidebar.html', 'searchbox.html'],
245+
'**': ['localtoc.html', 'relations.html',
246+
'sourcelink.html', 'searchbox.html']
248247
}
249248

250249
# If false, no module index is generated.

‎doc/index.rst

Copy file name to clipboardExpand all lines: doc/index.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,11 @@ Open source
174174

175175
.. raw:: html
176176

177+
<a href="https://www.numfocus.org/">
177178
<img src="_static/numfocus_badge.png"
178179
alt="A Fiscally Sponsored Project of NUMFocus"
179180
style="float:right; margin-left:20px" />
181+
</a>
180182

181183
Please consider `donating to the Matplotlib project <donating_>`_ through
182184
the Numfocus organization or to the `John Hunter Technology Fellowship

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.