Skip to content

Commit

Permalink
fix copypasta
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Dec 27, 2019
1 parent f106294 commit 51daa20
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# # # # GENERATED FILE -- DO NOT MODIFY # # # #
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
Expand Down Expand Up @@ -51,17 +50,23 @@

# General information about the project.
project = 'aat'
copyright = '2018, Tim Paine'
copyright = '2020, Tim Paine'
author = 'Tim Paine'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
_version_py = os.path.join('..', '..', 'aat', '_version.py')
version_ns = {}

with open(_version_py, mode='r') as version_file:
exec(version_file.read(), version_ns)

# The short X.Y version.
version = 'v0.0.2'
version = '%i.%i' % version_ns['version_info'][:2]
# The full version, including alpha/beta/rc tags.
release = 'v0.0.2'
release = version_ns['__version__']

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit 51daa20

Please sign in to comment.