summaryrefslogtreecommitdiff
path: root/docs/conf.py
blob: 32995af2a5470aaede7895e98edaa1541e637be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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'

import os
root = os.path.relpath(os.path.join(os.path.dirname(__file__), '..'))

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

master_doc = 'index'