Skip to content

Commit

Permalink
badges
Browse files Browse the repository at this point in the history
  • Loading branch information
untzag committed Aug 8, 2017
1 parent 4915252 commit 8b10769
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 26 deletions.
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@ WrightTools
Tools for loading, processing, and plotting multidimensional spectroscopy data.

Documentation at `wright.tools <http://wright.tools>`_.

.. image:: https://anaconda.org/conda-forge/wrighttools/badges/version.svg
:target: https://anaconda.org/conda-forge/wrighttools

.. image:: https://badge.fury.io/py/WrightTools.svg
:target: https://badge.fury.io/py/WrightTools

.. image:: https://readthedocs.org/projects/wrighttools/badge/?version=latest
:target: http://wright.tools/en/latest/?badge=latest
:alt: Documentation Status
26 changes: 0 additions & 26 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,32 +25,6 @@
sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../WrightTools'))


# -- Mocked Modules -------------------------------------------------------


class Mock(object):

def __init__(self, *args, **kwargs):
pass

def __call__(self, *args, **kwargs):
return Mock()

@classmethod
def __getattr__(cls, name):
if name in ('__file__', '__path__'):
return '/dev/null'
elif name[0] == name[0].upper():
return type(name, (), {})
else:
return Mock()

MOCK_MODULES = []
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = Mock()


# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down
12 changes: 12 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ WrightTools

Tools for loading, processing, and plotting multidimensional spectroscopy data.

.. image:: https://anaconda.org/conda-forge/wrighttools/badges/version.svg
:target: https://anaconda.org/conda-forge/wrighttools

.. image:: https://badge.fury.io/py/WrightTools.svg
:target: https://badge.fury.io/py/WrightTools

.. image:: https://readthedocs.org/projects/wrighttools/badge/?version=latest
:target: http://wright.tools/en/latest/?badge=latest
:alt: Documentation Status



Contents
--------

Expand Down

0 comments on commit 8b10769

Please sign in to comment.