old_contents: import os
  import sys
  import qirest
  
  extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
  autoclass_content = "both"
  autodoc_default_flags= ['members', 'show-inheritance']
  source_suffix = '.rst'
  master_doc = 'index'
  project = u'qirest'
  copyright = u'2014, OHSU Knight Cancer Institute. This software is not intended for clinical use'
  pygments_style = 'sphinx'
  htmlhelp_basename = 'qirestdoc'
  html_title = "qirest"
  
  def skip(app, what, name, obj, skip, options):
      return False if name == "__init__" else skip
  
  
  def setup(app):
      app.connect("autodoc-skip-member", skip)
  
new_contents: import os
  import sys
  try:
      import qirest
  except ImportError:
      # A ReadTheDocs build does not install qirest. In that case,
      # load the module directly.
      src_dir = os.path.join(os.path.dirname(__file__), '..')
      sys.path.append(src_dir)
      import qirest
  
  extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
  autoclass_content = "both"
  autodoc_default_flags= ['members', 'show-inheritance']
  source_suffix = '.rst'
  master_doc = 'index'
  project = u'qirest'
  copyright = u'2014, OHSU Knight Cancer Institute. This software is not intended for clinical use'
  pygments_style = 'sphinx'
  htmlhelp_basename = 'qirestdoc'
  html_title = "qirest"
  
  def skip(app, what, name, obj, skip, options):
      return False if name == "__init__" else skip
  
  
  def setup(app):
      app.connect("autodoc-skip-member", skip)
  
subject: Use alternate import for RTD.