xseg: Add support for "dynamic" port allocation
[archipelago] / docs / conf.py
1 import sys, os
2
3
4 cur_dir = os.path.dirname(os.path.abspath(__file__))
5
6 project = u'archipelago'
7 copyright = u'2012-2013, GRNET'
8 version = open(os.path.join(cur_dir + '/../', 'version')).read().strip()
9 release = version
10 html_title = 'archipelago ' + version
11
12 templates_path = ['_templates']
13 source_suffix = '.rst'
14 master_doc = 'index'
15 exclude_patterns = ['_build']
16 pygments_style = 'sphinx'
17 html_theme = 'default'
18 html_theme_options = {
19         'collapsiblesidebar': 'true',
20         'footerbgcolor':    '#55b577',
21         'footertextcolor':  '#000000',
22         'sidebarbgcolor':   '#ffffff',
23         'sidebarbtncolor':  '#f2f2f2',
24         'sidebartextcolor': '#000000',
25         'sidebarlinkcolor': '#328e4a',
26         'relbarbgcolor':    '#55b577',
27         'relbartextcolor':  '#ffffff',
28         'relbarlinkcolor':  '#ffffff',
29         'bgcolor':          '#ffffff',
30         'textcolor':        '#000000',
31         'headbgcolor':      '#ffffff',
32         'headtextcolor':    '#000000',
33         'headlinkcolor':    '#c60f0f',
34         'linkcolor':        '#328e4a',
35         'visitedlinkcolor': '#63409b',
36         'codebgcolor':      '#eeffcc',
37         'codetextcolor':    '#333333',
38 }
39
40 #html_static_path = ['_static']
41 htmlhelp_basename = 'archipelagodoc'
42
43 ARCHIPELAGO_DOCS_BASE_URL = 'http://www.synnefo.org/docs'
44 extensions = ['sphinx.ext.autodoc',
45               'sphinx.ext.intersphinx',
46               'sphinx.ext.todo',
47               'sphinx.ext.viewcode']