diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/conf.py | 41 | ||||
-rw-r--r-- | docs/history.rst | 16 | ||||
-rw-r--r-- | docs/index.rst | 34 |
3 files changed, 44 insertions, 47 deletions
diff --git a/docs/conf.py b/docs/conf.py index 32995af..81000ce 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,22 +1,19 @@ -#!/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'
+#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +import setuptools_scm + +extensions = [ + 'sphinx.ext.autodoc', +] + +# General information about the project. +project = 'pytest-runner' +copyright = '2015,2016 Jason R. Coombs' + +# The short X.Y version. +version = setuptools_scm.get_version(root='..', relative_to=__file__) +# The full version, including alpha/beta/rc tags. +release = version + +master_doc = 'index' diff --git a/docs/history.rst b/docs/history.rst index db85fec..907000b 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -1,8 +1,8 @@ -:tocdepth: 2
-
-.. _changes:
-
-History
-*******
-
-.. include:: ../CHANGES.txt
+:tocdepth: 2 + +.. _changes: + +History +******* + +.. include:: ../CHANGES.rst diff --git a/docs/index.rst b/docs/index.rst index 89e2112..5a04483 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,17 +1,17 @@ -Welcome to pytest-runner documentation!
-=======================================
-
-.. toctree::
- :maxdepth: 1
-
- history
-
-.. include:: ../README.txt
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
-
+Welcome to pytest-runner documentation! +======================================= + +.. toctree:: + :maxdepth: 1 + + history + +.. include:: ../README.txt + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` + |