Skip to content

Commit

Permalink
DOC: fix frontpage buttons (mne-tools#6766)
Browse files Browse the repository at this point in the history
* fix frontpage buttons

* fix martinos links

* fix tests; fix URL in setup.py
  • Loading branch information
drammock authored Sep 13, 2019
1 parent 9585e93 commit 7ffb345
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ This project and everyone participating in it is governed by the [MNE-Python's C

## How to contribute

Before contributing make sure you are familiar with [our contributing guide](https://martinos.org/mne/contributing.html).
Before contributing make sure you are familiar with [our contributing guide](https://mne.tools/dev/install/contributing.html).
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ about: Create a report to help us improve.

---

Detailed instructions on how to file a bug can be found in our [FAQ](https://martinos.org/mne/stable/faq.html#i-think-i-found-a-bug-what-do-i-do).
Detailed instructions on how to file a bug can be found in our [FAQ](https://mne.tools/dev/overview/faq.html#i-think-i-found-a-bug-what-do-i-do).

If your issue is a usage question, please consider asking on our [Gitter channel](https://gitter.im/mne-tools/mne-python) or on our [mailing list](https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis) instead of opening an issue.

Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Thanks for contributing a pull request! Please make sure you have read the
[contribution guidelines](https://martinos.org/mne/stable/contributing.html)
[contribution guidelines](https://mne.tools/dev/install/contributing.html)
before submitting.

Please be aware that we are a loose team of volunteers so patience is
Expand Down
12 changes: 6 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
.. |Zenodo| image:: https://zenodo.org/badge/5822/mne-tools/mne-python.svg
.. _Zenodo: https://zenodo.org/badge/latestdoi/5822/mne-tools/mne-python

.. |MNE| image:: https://martinos.org/mne/stable/_static/mne_logo.png
.. _MNE: https://martinos.org/mne
.. |MNE| image:: https://mne.tools/stable/_static/mne_logo.png
.. _MNE: https://mne.tools/dev/

MNE-Python
==========
Expand Down Expand Up @@ -101,7 +101,7 @@ Contributing to MNE-Python

Please see the documentation on the MNE-Python homepage:

https://martinos.org/mne/contributing.html
https://mne.tools/dev/contributing.html


Mailing list
Expand Down Expand Up @@ -149,7 +149,7 @@ MNE-Python is **BSD-licenced** (3 clause):
damage.**


.. _MNE-Python software: https://martinos.org/mne
.. _MNE documentation: http://martinos.org/mne/documentation.html
.. _getting started page: https://martinos.org/mne/getting_started.html
.. _MNE-Python software: https://mne.tools/dev/
.. _MNE documentation: https://mne.tools/dev/overview/index.html
.. _getting started page: https://mne.tools/dev/install/index.html
.. _pip: https://pip.pypa.io/en/stable/
16 changes: 8 additions & 8 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@
.. raw:: html

<div class="col-lg-3 col-md-4 col-sm-6 table-like bottommargin">
<a href="documentation.html#collapse_io" class="btn btn-primary btn-lg btn-cont">Data I/O</a>
<a href="auto_examples/index.html#input-output" class="btn btn-primary btn-lg btn-cont">Data I/O</a>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 table-like bottommargin">
<a href="documentation.html#collapse_preprocessing" class="btn btn-primary btn-lg btn-cont">Preprocessing</a>
<a href="auto_examples/index.html#preprocessing" class="btn btn-primary btn-lg btn-cont">Preprocessing</a>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 table-like bottommargin">
<a href="documentation.html#collapse_visualization" class="btn btn-primary btn-lg btn-cont">Visualization</a>
<a href="auto_examples/index.html#visualization" class="btn btn-primary btn-lg btn-cont">Visualization</a>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 table-like bottommargin">
<a href="documentation.html#collapse_source" class="btn btn-primary btn-lg btn-cont">Source estimation</a>
<a href="auto_examples/index.html#inverse-problem-and-source-analysis" class="btn btn-primary btn-lg btn-cont">Source estimation</a>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 table-like bottommargin">
<a href="documentation.html#collapse_tf" class="btn btn-primary btn-lg btn-cont">Time-frequency</a>
<a href="auto_examples/index.html#time-frequency-examples" class="btn btn-primary btn-lg btn-cont">Time-frequency</a>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 table-like bottommargin">
<a href="documentation.html#collapse_connectivity" class="btn btn-primary btn-lg btn-cont">Connectivity</a>
<a href="auto_examples/index.html#connectivity-analysis-examples" class="btn btn-primary btn-lg btn-cont">Connectivity</a>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 table-like bottommargin">
<a href="documentation.html#collapse_ml" class="btn btn-primary btn-lg btn-cont">Machine learning</a>
<a href="auto_examples/index.html#machine-learning-decoding-encoding-and-mvpa" class="btn btn-primary btn-lg btn-cont">Machine learning</a>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 table-like bottommargin">
<a href="documentation.html#collapse_statistics" class="btn btn-primary btn-lg btn-cont">Statistics</a>
<a href="auto_examples/index.html#statistics-examples" class="btn btn-primary btn-lg btn-cont">Statistics</a>
</div>

.. container:: row limitedwidth
Expand Down
4 changes: 2 additions & 2 deletions mne/cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -1440,8 +1440,8 @@ def regularize(cov, info, mag=0.1, grad=0.1, eeg=0.1, exclude='bads',
.. note:: This function is kept for reasons of backward-compatibility.
Please consider explicitly using the ``method`` parameter in
:func:`mne.compute_covariance` to directly combine estimation
with regularization in a data-driven fashion.
See the `faq <http://martinos.org/mne/dev/faq.html#how-should-i-regularize-the-covariance-matrix>`_
with regularization in a data-driven fashion. See the `faq
<http://mne.tools/dev/overview/faq.html#how-should-i-regularize-the-covariance-matrix>`_
for more information.
Parameters
Expand Down
2 changes: 1 addition & 1 deletion mne/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def _build_html_slider(slices_range, slides_klass, slider_id,
<div class="footer">
&copy; Copyright 2012-{{current_year}}, MNE Developers.
Created on {{date}}.
Powered by <a href="http://martinos.org/mne">MNE.
Powered by <a href="http://mne.tools/">MNE.
</div>
</html>
""")
Expand Down
2 changes: 1 addition & 1 deletion mne/utils/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ def open_docs(kind=None, version=None):
if version is None:
version = get_config('MNE_DOCS_VERSION', 'stable')
_check_option('version', version, ['stable', 'dev'])
webbrowser.open_new_tab('https://martinos.org/mne/%s/%s' % (version, kind))
webbrowser.open_new_tab('https://mne.tools/%s/%s' % (version, kind))


# Following deprecated class copied from scikit-learn
Expand Down
2 changes: 1 addition & 1 deletion mne/utils/tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def method_f3(self):

def myfun(x):
"""Check url."""
assert 'martinos' in x
assert 'mne.tools' in x


def test_open_docs():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
DESCRIPTION = descr
MAINTAINER = 'Alexandre Gramfort'
MAINTAINER_EMAIL = '[email protected]'
URL = 'http://martinos.org/mne'
URL = 'https://mne.tools/dev/'
LICENSE = 'BSD (3-clause)'
DOWNLOAD_URL = 'http://github.com/mne-tools/mne-python'
VERSION = version
Expand Down

0 comments on commit 7ffb345

Please sign in to comment.