Skip to content

Commit

Permalink
Remove hard-coded vars from docs config.
Browse files Browse the repository at this point in the history
Change-Id: I05df7d4784aeca88c4e9c2d89b45a6e4b8fac383
  • Loading branch information
stephenmcd committed Sep 15, 2015
1 parent b6ed42c commit 1ba6721
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@
master_doc = 'index'

# General information about the project.
from datetime import datetime
project = u'Python Client for Google Maps Services'
copyright = u'2014, Google Inc.'
copyright = u'%s, Google Inc.' % datetime.now().year

# 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.
#
# The short X.Y version.
version = '2.2-dev'
from googlemaps import __version__
version = __version__
# The full version, including alpha/beta/rc tags.
release = version

Expand Down

0 comments on commit 1ba6721

Please sign in to comment.