Skip to content
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
28 changes: 8 additions & 20 deletions doc/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,24 @@ img.logo {
width: 100%;
}

/* ************************************** homepage quick links & funders box */
/* ************************************* homepage quick links & funders list */
ul.quicklinks {
font-weight: 600;
}
ul.quicklinks a:hover {
text-decoration: none;
}
ul.funders li {
line-height: initial;
margin-left: 24px;
text-indent: -24px;
padding-bottom: 6px;
margin-left: 36px;
text-indent: -36px;
padding-bottom: 9px;
}
ul.funders li img {
width: 18px;
width: 30px;
max-height: 24px;
object-fit: contain;
}

/* these two also affect collapsible divs */
h5.card-header {
margin-top: 0px;
Expand All @@ -122,20 +124,6 @@ h5.card-header::before {
margin-left: 15px; /* match other items in the hamburger menu */
}

/* ********************************************* institution logos in footer */
img.institution {
vertical-align: middle;
max-height: 42px;
max-width: 52px;
}
/* prevent footer from getting pushed offscreen */
.bd-sidebar {
height: unset;
}
.bd-toc {
height: unset;
}

/* ***************************************************** front page carousel */
div.frontpage-gallery {
overflow: hidden;
Expand Down
17 changes: 0 additions & 17 deletions doc/_templates/docs-toc.html

This file was deleted.

39 changes: 28 additions & 11 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,41 @@ <h5 class="card-title fadeout">{{ item.title }}</h5>
{% endfor %}
</div>
</div>
<!-- funders -->
<div class="container">
<p class="h4 text-center font-weight-light mt-4 mt-lg-5">Funders</p>
</div>
<div class="d-flex flex-wrap flex-row justify-content-center align-items-center">
{% for item in funders -%}
<div class="card my-1 mx-2 border-light" style="{{ 'width: ' + item.size + 'rem;' }}">
<a href="{{ pathto('funding.html', 1) }}">
<img class="card-img" src="{{ pathto('_static/funding/' + item.img, 1) }}" title="{{ item.title }}" alt="{{ item.title }}">
</a>
</div>
{% endfor %}
</div>
<!-- institutions -->
<p class="h4 text-center font-weight-light mt-4 mt-lg-5">Supporting institutions</p>
<div class="container">
<div class="d-flex flex-wrap flex-row justify-content-center align-items-center">
{% for inst in institutions -%}
<div class="card my-1 mx-2 border-light" style="{{ 'width: ' + inst.size + 'rem;' }}">
<a href="{{ inst.url }}">
<img class="card-img" src="{{ pathto('_static/institution_logos/' + inst.img, 1) }}" title="{{ inst.name }}" alt="{{ inst.name }}"/>
</a>
</div>
{% endfor %}
</div>
</div>

{% endif %}
</div>
{% endblock %}


<!-- footer -->
{%- block footer %}
<footer class="footer mt-5 mt-md-0">
<div class="container institutions">
<div class="d-flex flex-wrap flex-row justify-content-center">
{% for inst in institutions -%}
<div class="m-2">
<a href="{{ inst.url }}">
<img class="institution" src="{{ pathto('_static/institution_logos/' + inst.img, 1) }}" title="{{ inst.name }}" alt="{{ inst.name }}"/>
</a>
</div>
{% endfor %}
</div>
</div>
<p class="text-center text-muted small">&copy; Copyright {{ copyright }}</p>
</footer>
<script src="https://mne.tools/versionwarning.js"></script>
Expand Down
17 changes: 0 additions & 17 deletions doc/_templates/sidebar-funders.html

This file was deleted.

2 changes: 1 addition & 1 deletion doc/_templates/sidebar-quicklinks.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h5 class="card-header font-weight-bold">Version {{ release }}</h5>
<div class="card-body">
<ul class="list-group list-group-flush list-unstyled quicklinks">
<li><a href="{{ pathto('overview/index.html', 1) }}"><i class="text-muted fas fa-book fa-fw"></i> Docs</a></li>
<li><a href="{{ pathto('auto_tutorials/index.html', 1) }}"><i class="text-muted fas fa-book fa-fw"></i> Tutorials</a></li>
<li><a href="{{ pathto('whats_new.html', 1) }}"><i class="text-muted fas fa-newspaper fa-fw"></i> Changelog</a></li>
<li><a href="{{ pathto('overview/get_help.html', 1) }}"><i class="text-muted fas fa-question-circle fa-fw"></i> Get help</a></li>
<li><a href="{{ pathto('overview/cite.html', 1) }}"><i class="text-muted fas fa-quote-left fa-fw"></i> Cite</a></li>
Expand Down
74 changes: 56 additions & 18 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,12 @@ def append_attr_meth_examples(app, what, name, obj, options, lines):
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
html_show_sphinx = False

# accommodate different logo shapes (width values in rem)
xs = '2'
sm = '2.5'
md = '3'
lg = '4.5'
xl = '5'
# variables to pass to HTML templating engine
html_context = {
'build_dev_html': bool(int(os.environ.get('BUILD_DEV_HTML', False))),
Expand All @@ -556,61 +562,93 @@ def append_attr_meth_examples(app, what, name, obj, options, lines):
'0.12': 'v0.12',
'0.11': 'v0.11',
},
'funders': [
dict(img='nih.png', size='3', title='National Institutes of Health'),
dict(img='nsf.png', size='3.5',
title='US National Science Foundation'),
dict(img='erc.svg', size='3.5', title='European Research Council'),
dict(img='doe.svg', size='3', title='US Department of Energy'),
dict(img='anr.svg', size='4.5',
title='Agence Nationale de la Recherche'),
dict(img='cds.png', size='2.25',
title='Paris-Saclay Center for Data Science'),
dict(img='google.svg', size='2.25', title='Google'),
dict(img='amazon.svg', size='2.5', title='Amazon'),
dict(img='czi.svg', size='2.5', title='Chan Zuckerberg Initiative'),
],
'institutions': [
dict(name='Massachusetts General Hospital',
img='MGH.svg',
url='https://www.massgeneral.org/'),
url='https://www.massgeneral.org/',
size=sm),
dict(name='Athinoula A. Martinos Center for Biomedical Imaging',
img='Martinos.png',
url='https://martinos.org/'),
url='https://martinos.org/',
size=md),
dict(name='Harvard Medical School',
img='Harvard.png',
url='https://hms.harvard.edu/'),
url='https://hms.harvard.edu/',
size=sm),
dict(name='Massachusetts Institute of Technology',
img='MIT.svg',
url='https://web.mit.edu/'),
url='https://web.mit.edu/',
size=md),
dict(name='New York University',
img='NYU.png',
url='https://www.nyu.edu/'),
url='https://www.nyu.edu/',
size=xs),
dict(name='Commissariat à l´énergie atomique et aux énergies alternatives', # noqa E501
img='CEA.png',
url='http://www.cea.fr/'),
url='http://www.cea.fr/',
size=md),
dict(name='Aalto-yliopiston perustieteiden korkeakoulu',
img='Aalto.svg',
url='https://sci.aalto.fi/'),
url='https://sci.aalto.fi/',
size=md),
dict(name='Télécom ParisTech',
img='Telecom_Paris_Tech.png',
url='https://www.telecom-paris.fr/'),
url='https://www.telecom-paris.fr/',
size=md),
dict(name='University of Washington',
img='Washington.png',
url='https://www.washington.edu/'),
url='https://www.washington.edu/',
size=md),
dict(name='Institut du Cerveau et de la Moelle épinière',
img='ICM.jpg',
url='https://icm-institute.org/'),
url='https://icm-institute.org/',
size=md),
dict(name='Boston University',
img='BU.svg',
url='https://www.bu.edu/'),
url='https://www.bu.edu/',
size=lg),
dict(name='Institut national de la santé et de la recherche médicale',
img='Inserm.svg',
url='https://www.inserm.fr/'),
url='https://www.inserm.fr/',
size=xl),
dict(name='Forschungszentrum Jülich',
img='Julich.svg',
url='https://www.fz-juelich.de/'),
url='https://www.fz-juelich.de/',
size=xl),
dict(name='Technische Universität Ilmenau',
img='Ilmenau.gif',
url='https://www.tu-ilmenau.de/'),
url='https://www.tu-ilmenau.de/',
size=xl),
dict(name='Berkeley Institute for Data Science',
img='BIDS.png',
url='https://bids.berkeley.edu/'),
url='https://bids.berkeley.edu/',
size=lg),
dict(name='Institut national de recherche en informatique et en automatique', # noqa E501
img='inria.png',
url='https://www.inria.fr/'),
url='https://www.inria.fr/',
size=xl),
dict(name='Aarhus Universitet',
img='Aarhus.png',
url='https://www.au.dk/'),
url='https://www.au.dk/',
size=xl),
dict(name='Karl-Franzens-Universität Graz',
img='Graz.jpg',
url='https://www.uni-graz.at/'),
url='https://www.uni-graz.at/',
size=md),
],
'carousel': [
dict(title='Source Estimation',
Expand Down
50 changes: 50 additions & 0 deletions doc/funding.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
:orphan:

Funding and other support
=========================

Development of MNE-Python has been supported by:

.. rst-class:: list-unstyled funders

- |nih| **National Institutes of Health:** R01-EB009048, R01-EB009048, R01-EB006385, R01-HD40712, R01-NS44319, R01-NS37462, R01-NS104585, P41-EB015896, P41-RR14075-06
- |nsf| **US National Science Foundation:** 0958669, 1042134
- |erc| **European Research Council:** YStG-263584, YStG-676943
- |doe| **US Department of Energy:** DE-FG02-99ER62764 (MIND)
- |anr| **Agence Nationale de la Recherche:** `14-NEUC-0002-01 <https://anr.fr/Project-ANR-14-NEUC-0002>`_, **IDEX** Paris-Saclay `11-IDEX-0003-02 <https://anr.fr/ProjetIA-11-IDEX-0003>`_
- |cds| **Paris-Saclay Center for Data Science:** `PARIS-SACLAY <http://www.datascience-paris-saclay.fr>`_
- |goo| **Google:** Summer of code (×6)
- |ama| **Amazon:** AWS Research Grants
- |czi| **Chan Zuckerberg Initiative:** `EOSS2 <https://chanzuckerberg.com/eoss/proposals/improving-usability-of-core-neuroscience-analysis-tools-with-mne-python>`_


Additionally, many universities or research institutions have supported their employees’ contributions to MNE-Python as part of normal work duties. These institutions are:

- `Massachusetts General Hospital <https://www.massgeneral.org/>`_
- `Athinoula A. Martinos Center for Biomedical Imaging <https://martinos.org/>`_
- `Harvard Medical School <https://hms.harvard.edu/>`_
- `Massachusetts Institute of Technology <https://web.mit.edu/>`_
- `New York University <https://www.nyu.edu/>`_
- `Commissariat à l’énergie atomique et aux énergies alternatives <http://www.cea.fr/>`_
- `Aalto-yliopiston perustieteiden korkeakoulu <https://sci.aalto.fi/>`_
- `Télécom ParisTech <https://www.telecom-paris.fr/>`_
- `University of Washington <https://www.washington.edu/>`_
- `Institut du Cerveau et de la Moelle épinière <https://icm-institute.org/>`_
- `Boston University <https://www.bu.edu/>`_
- `Institut national de la santé et de la recherche médicale <https://www.inserm.fr/>`_
- `Forschungszentrum Jülich <https://www.fz-juelich.de/>`_
- `Technische Universität Ilmenau <https://www.tu-ilmenau.de/>`_
- `Berkeley Institute for Data Science <https://bids.berkeley.edu/>`_
- `Institut national de recherche en informatique et en automatique <https://www.inria.fr/>`_
- `Aarhus Universitet <https://www.au.dk/>`_
- `Karl-Franzens-Universität Graz <https://www.uni-graz.at/>`_

.. |nih| image:: _static/funding/nih.png
.. |nsf| image:: _static/funding/nsf.png
.. |erc| image:: _static/funding/erc.svg
.. |doe| image:: _static/funding/doe.svg
.. |anr| image:: _static/funding/anr.svg
.. |cds| image:: _static/funding/cds.png
.. |goo| image:: _static/funding/google.svg
.. |ama| image:: _static/funding/amazon.svg
.. |czi| image:: _static/funding/czi.svg