doc/conf.py
changeset 3925 1d383b4c0a23
parent 1878 fb73a6b6622d
equal deleted inserted replaced
3924:abaa68df90f4 3925:1d383b4c0a23
    12 # serve to show the default.
    12 # serve to show the default.
    13 
    13 
    14 # If extensions (or modules to document with autodoc) are in another directory,
    14 # If extensions (or modules to document with autodoc) are in another directory,
    15 # add these directories to sys.path here. If the directory is relative to the
    15 # add these directories to sys.path here. If the directory is relative to the
    16 # documentation root, use os.path.abspath to make it absolute, like shown here.
    16 # documentation root, use os.path.abspath to make it absolute, like shown here.
    17 # sys.path.insert(0, os.path.abspath('.'))
    17 import sys
       
    18 import os
       
    19 sys.path.insert(0, os.path.abspath('..'))
    18 
    20 
    19 # -- General configuration -----------------------------------------------------
    21 # -- General configuration -----------------------------------------------------
    20 
    22 
    21 # If your documentation needs a minimal Sphinx version, state it here.
    23 # If your documentation needs a minimal Sphinx version, state it here.
    22 # needs_sphinx = '1.0'
    24 # needs_sphinx = '1.0'
    44 # The version info for the project you're documenting, acts as replacement for
    46 # The version info for the project you're documenting, acts as replacement for
    45 # |version| and |release|, also used in various other places throughout the
    47 # |version| and |release|, also used in various other places throughout the
    46 # built documents.
    48 # built documents.
    47 #
    49 #
    48 # The short X.Y version.
    50 # The short X.Y version.
    49 version = '1.1'
    51 import version as bversion
       
    52 
       
    53 version = bversion.app_version
    50 # The full version, including alpha/beta/rc tags.
    54 # The full version, including alpha/beta/rc tags.
    51 release = '1.1rc1'
    55 release = bversion.app_version
    52 
    56 
    53 # The language for content autogenerated by Sphinx. Refer to documentation
    57 # The language for content autogenerated by Sphinx. Refer to documentation
    54 # for a list of supported languages.
    58 # for a list of supported languages.
    55 # language = None
    59 # language = None
    56 
    60