Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / docs / conf.py @ 34e79416

History | View | Annotate | Download (2 kB)

1
import sys, os
2

    
3
sys.path.insert(0, os.path.abspath('../'))
4
from synnefo.versions.apps import __version__
5

    
6
project = u'snf-cyclades-app'
7
copyright = u'2012-2013, GRNET'
8
version = __version__
9
release = __version__
10
html_title = 'synnefo ' + 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 = 'synnefodoc'
42

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

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

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

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