Skip to content

Commit

Permalink
try to remove dependence on databench package in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
svenkreiss committed Feb 12, 2016
1 parent fc2d411 commit 5db0ba0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/Makefile
Expand Up @@ -6,7 +6,7 @@ SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
GHPAGES = _build/ghpages/v0.3
GHPAGES = _build/ghpages/v0.4
GHPAGESALL = _build/ghpages

# User-friendly check for sphinx-build
Expand Down
12 changes: 8 additions & 4 deletions docs/conf.py
Expand Up @@ -17,7 +17,11 @@

import alabaster

import databench
from ..setup import VERSION as DATABENCH_VERSION
# extract version from __init__.py
# with open('databench/__init__.py', 'r') as f:
# version_line = [l for l in f if l.startswith('__version__')][0]
# VERSION = version_line.split('=')[1].strip()[1:-1]

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -73,16 +77,16 @@

# General information about the project.
project = u'Databench'
copyright = u' 2014-2015 Sven Kreiss and contributors'
copyright = u' 2014-2016 Sven Kreiss and contributors'

# 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 = databench.__version__
version = DATABENCH_VERSION
# The full version, including alpha/beta/rc tags.
release = databench.__version__
release = DATABENCH_VERSION

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

0 comments on commit 5db0ba0

Please sign in to comment.