## Copyright (c) 2012-2015 Aldebaran Robotics. All rights reserved.
## Use of this source code is governed by a BSD-style license that can be
## found in the COPYING file.

project = u'qiBuild'
version = '3.11.3'
sys.path.insert(0, os.path.abspath('../tools'))
# for autodoc
sys.path.insert(0, os.path.abspath('../../python'))
extensions.append("cmakedomain")
extensions.append("sphinx.ext.autodoc")
extensions.append("sphinxcontrib.spelling")

templates_path = [ "../source/_templates" ]

html_additional_pages = {
        'index': 'index.html'
}

autodoc_member_order='bysource'

exclude_patterns = ['man/*']

man_pages = [
    ('man/qisrc', 'qisrc', u'Handle several project sources',
     [u'Aldebaran Robotics'], 1),
    ('man/qibuild', 'qibuild', u'Configure, build, install, package your project',
     [u'Aldebaran Robotics'], 1),
    ('man/qitoolchain', 'qitoolchain', u'Hanlde sets of pre-compiled packges',
     [u'Aldebaran Robotics'], 1),
    ('man/qidoc', 'qidoc', u'Hanlde doxygen and sphinx projects',
     [u'Aldebaran Robotics'], 1),
    ('man/qilinguist', 'qilinguist', u'Translate projects using gettext or Qt linguist',
     [u'Aldebaran Robotics'], 1)
]

html_static_path = ['../source/_static']

@@ -206,16 +206,34 @@
 3.11.3'%0A
+release = version%0A
 sys.path

make sure 'release' equals 'version'