Statistics
| Branch: | Tag: | Revision:

root / astakosclient / docs / conf.py @ 26498848

History | View | Annotate | Download (1.9 kB)

1
import sys
2
import os
3

    
4
sys.path.insert(0, os.path.abspath('..'))
5
from astakosclient.version import __version__
6

    
7
project = u'nnefo'
8
copyright = u'2012-2013, GRNET'
9
version = __version__
10
release = __version__
11
html_title = 'synnefo ' + version
12

    
13
templates_path = ['_templates']
14
source_suffix = '.rst'
15
master_doc = 'index'
16
exclude_patterns = ['_build']
17
pygments_style = 'sphinx'
18
html_theme = 'default'
19
html_theme_options = {
20
    'collapsiblesidebar': 'true',
21
    'footerbgcolor':    '#55b577',
22
    'footertextcolor':  '#000000',
23
    'sidebarbgcolor':   '#ffffff',
24
    'sidebarbtncolor':  '#f2f2f2',
25
    'sidebartextcolor': '#000000',
26
    'sidebarlinkcolor': '#328e4a',
27
    'relbarbgcolor':    '#55b577',
28
    'relbartextcolor':  '#ffffff',
29
    'relbarlinkcolor':  '#ffffff',
30
    'bgcolor':          '#ffffff',
31
    'textcolor':        '#000000',
32
    'headbgcolor':      '#ffffff',
33
    'headtextcolor':    '#000000',
34
    'headlinkcolor':    '#c60f0f',
35
    'linkcolor':        '#328e4a',
36
    'visitedlinkcolor': '#63409b',
37
    'codebgcolor':      '#eeffcc',
38
    'codetextcolor':    '#333333'
39
}
40

    
41
html_static_path = ['_static']
42
htmlhelp_basename = 'synnefodoc'
43

    
44
intersphinx_mapping = {
45
    'pithon': ('http://docs.python.org/', None),
46
    'django': ('https://docs.djangoproject.com/en/dev/',
47
               'https://docs.djangoproject.com/en/dev/_objects/')
48
}
49

    
50
SYNNEFO_DOCS_BASE_URL = 'http://www.synnefo.org/docs'
51
SYNNEFO_PROJECTS = {
52
    'synnefo': 'dev',
53
    'pithos': 'dev',
54
    'snf-webproject': 'dev',
55
    'snf-common': 'dev',
56
    'snf-image': 'dev',
57
    'snf-cyclades-app': 'dev'
58
}
59

    
60
for name, ver in SYNNEFO_PROJECTS.iteritems():
61
    intersphinx_mapping[name.replace("-", "")] = (SYNNEFO_DOCS_BASE_URL +
62
                                                  '%s/%s/' % (name, ver),
63
                                                  None)
64

    
65
extensions = ['sphinx.ext.autodoc',
66
              'sphinx.ext.intersphinx',
67
              'sphinx.ext.todo',
68
              'sphinx.ext.viewcode']