#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import setuptools_scm

extensions = [
    'sphinx.ext.autodoc',
]

# General information about the project.
project = 'pytest-runner'
copyright = '2015 Jason R. Coombs'

# The short X.Y version.
version = setuptools_scm.get_version(root='..')
# The full version, including alpha/beta/rc tags.
release = version

master_doc = 'index'

@@ -224,16 +224,100 @@
 mbs'%0D%0A%0D%0A
+import os%0D%0Aroot = os.path.relpath(os.path.join(os.path.dirname(__file__), '..'))%0D%0A%0D%0A
 # The sh
@@ -376,20 +376,20 @@
 on(root=
-'..'
+root
 )%0D%0A# The

Resolve the root relative to docs/conf.py. Fixes #9.