diff --git a/README.rst b/README.rst
index ac7dce89bcaf86e8afed971a58c3e10d59046cf3..16b60787b255f872021332d8954d891a9332f36c 100644
--- a/README.rst
+++ b/README.rst
@@ -22,7 +22,7 @@ If you need help, find an issue, or just have a question/suggestion you can
 We encourage you to contribute to the development of bilby. This is done via a merge request.  For
 help in creating a merge request, see `this page
 <https://docs.gitlab.com/ee/gitlab-basics/add-merge-request.html>`__ or contact
-us directly. For advice on contributing, see `the contributing guide<https://git.ligo.org/lscsoft/bilby/blob/master/CONTRIBUTING.md>`__.
+us directly. For advice on contributing, see `the contributing guide <https://git.ligo.org/lscsoft/bilby/blob/master/CONTRIBUTING.md>`__.
 
 
 --------------
diff --git a/setup.py b/setup.py
index 642cf1426af430c4bb010fa8aaad91e566e0178d..76a23e9915df573aea1de4f0e398def2fe14dbbf 100644
--- a/setup.py
+++ b/setup.py
@@ -47,6 +47,7 @@ def get_long_description():
     here = os.path.abspath(os.path.dirname(__file__))
     with open(os.path.join(here, 'README.rst')) as f:
         long_description = f.read()
+    print(long_description)
     return long_description
 
 
@@ -64,6 +65,7 @@ long_description = get_long_description()
 setup(name='bilby',
       description='A user-friendly Bayesian inference library',
       long_description=long_description,
+      long_description_content_type="text/x-rst",
       url='https://git.ligo.org/lscsoft/bilby',
       author='Greg Ashton, Moritz Huebner, Paul Lasky, Colm Talbot',
       author_email='paul.lasky@monash.edu',