old_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  #
  # Janus documentation build configuration file, created by
  # sphinx-quickstart on Tue Sep 17 10:23:19 2013.
  #
  # This file is execfile()d with the current directory set to its
  # containing dir.
  #
  
  import os
  import sys
  
  
  on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
  
  # From http://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-\
  # on-libraries-that-depend-on-c-modules
  if on_rtd:
      from unittest.mock import MagicMock
  
      class Mock(MagicMock):
          @classmethod
          def __getattr__(cls, name):
              return Mock()
  
      sys.modules['janus.utils.checkarray'] = Mock()
      sys.modules['janus.operators'] = Mock()
      sys.modules['janus.material.elastic.linear.isotropic'] = Mock()
      sys.modules['janus.green'] = Mock()
      sys.modules['janus.fft.serial'] = Mock()
      sys.modules['janus.fft.parallel'] = Mock()
  
  sys.path.insert(0, os.path.abspath('..'))
  
  extensions = ['sphinx.ext.autodoc',
                'sphinx.ext.autosummary',
                'sphinx.ext.doctest',
                'sphinx.ext.todo',
                'sphinx.ext.coverage',
                'sphinx.ext.mathjax',
                'sphinx.ext.viewcode']
  
  todo_include_todos = True
  
  import sphinx
  if sphinx.__version__ < '1.3':
      extensions.append('sphinxcontrib.napoleon')
  else:
      extensions.append('sphinx.ext.napoleon')
  
  templates_path = ['_templates']
  source_suffix = '.rst'
  master_doc = 'index'
  
  project = 'Janus'
  
  with open('../LICENSE.txt', 'r') as f:
      copyright = next(f).lstrip('Copyright (c)').strip()
  
  version = '0.0'
  release = '0.0'
  
  exclude_patterns = ['_build']
  
  pygments_style = 'sphinx'
  
  numfig = True
  
  import sphinx_rtd_theme
  
  if on_rtd:
      html_theme = 'default'
  else:
      html_theme = 'sphinx_rtd_theme'
  
  html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  html_logo = './logo_janus-200x200.png'
  html_static_path = ['_static']
  htmlhelp_basename = 'janusdoc'
  
  latex_elements = {'preamble': '',
                    'inputenc': '',
                    'fontenc': '',
                    'utf8extra': ''}
  latex_documents = [
    ('index', 'janus.tex', 'Documentation of the Janus Library',
     'S. Brisard', 'manual'),
  ]
  latex_logo = './logo_janus.png'
  
  man_pages = [
      ('index', 'janus', 'Documentation of the Janus Library',
       ['S. Brisard'], 1)
  ]
  
  texinfo_documents = [
    ('index', 'janus', 'Documentation of the Janus Library',
     'S. Brisard', 'Janus', 'One line description of project.',
     'Miscellaneous'),
  ]
  
  autodoc_member_order = 'groupwise'
  
new_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  #
  # Janus documentation build configuration file, created by
  # sphinx-quickstart on Tue Sep 17 10:23:19 2013.
  #
  # This file is execfile()d with the current directory set to its
  # containing dir.
  #
  
  import os
  import sys
  
  sys.path.insert(0, os.path.abspath('..'))
  
  extensions = ['sphinx.ext.autodoc',
                'sphinx.ext.autosummary',
                'sphinx.ext.doctest',
                'sphinx.ext.todo',
                'sphinx.ext.coverage',
                'sphinx.ext.mathjax',
                'sphinx.ext.viewcode']
  
  todo_include_todos = True
  
  import sphinx
  if sphinx.__version__ < '1.3':
      extensions.append('sphinxcontrib.napoleon')
  else:
      extensions.append('sphinx.ext.napoleon')
  
  templates_path = ['_templates']
  source_suffix = '.rst'
  master_doc = 'index'
  
  project = 'Janus'
  
  with open('../LICENSE.txt', 'r') as f:
      copyright = next(f).lstrip('Copyright (c)').strip()
  
  version = '0.0'
  release = '0.0'
  
  exclude_patterns = ['_build']
  
  pygments_style = 'sphinx'
  
  numfig = True
  
  html_logo = './logo_janus-200x200.png'
  html_static_path = ['_static']
  htmlhelp_basename = 'janusdoc'
  
  latex_elements = {'preamble': '',
                    'inputenc': '',
                    'fontenc': '',
                    'utf8extra': ''}
  latex_documents = [
    ('index', 'janus.tex', 'Documentation of the Janus Library',
     'S. Brisard', 'manual'),
  ]
  latex_logo = './logo_janus.png'
  
  man_pages = [
      ('index', 'janus', 'Documentation of the Janus Library',
       ['S. Brisard'], 1)
  ]
  
  texinfo_documents = [
    ('index', 'janus', 'Documentation of the Janus Library',
     'S. Brisard', 'Janus', 'One line description of project.',
     'Miscellaneous'),
  ]
  
  autodoc_member_order = 'groupwise'
  
subject: Remove RTD related stuff