diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-01 10:28:07 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-01 10:28:07 -0500 |
commit | 8cac0b2cb71073568c5a6e6187136837c3ded7f5 (patch) | |
tree | 579c62c3eed0acec67156296078ab81f9d344030 /docs/conf.py | |
download | pytest-runner-8cac0b2cb71073568c5a6e6187136837c3ded7f5.tar.gz |
Adding project skeleton
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py new file mode 100644 index 0000000..12d03c6 --- /dev/null +++ b/docs/conf.py @@ -0,0 +1,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'
|