summaryrefslogtreecommitdiff
path: root/docs/conf.py
blob: 12d03c68e74c258ebc91f5e80da8babe3c361a23 (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 hgtools.managers

# use hgtools to get the version
hg_mgr = hgtools.managers.RepoManager.get_first_valid_manager()

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

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

# The short X.Y version.
version = hg_mgr.get_current_version()
# The full version, including alpha/beta/rc tags.
release = version

master_doc = 'index'