Skip to content

Commit

Permalink
Fix sphinx build, hopefully.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithrandi committed Aug 19, 2017
1 parent e62aabe commit dfa5932
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,7 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))

here = os.path.dirname(os.path.abspath(__file__))
import versioneer
versioneer.VCS = 'git'
versioneer.versionfile_source = os.path.join(here, '../nevow/_version.py')
versioneer.versionfile_build = '../nevow/_version.py'
versioneer.tag_prefix = 'nevow-'
versioneer.parentdir_prefix = 'Nevow-'

from nevow import __version__

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -60,9 +53,9 @@
# built documents.
#
# The short X.Y version.
version = versioneer.get_version()
version = __version__
# The full version, including alpha/beta/rc tags.
release = version
release = __version__

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

0 comments on commit dfa5932

Please sign in to comment.