Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / docs / conf.py @ 5ba2cfd2

History | View | Annotate | Download (2 kB)

1 4a3e83c6 Kostas Papadimitriou
import sys, os
2 4a3e83c6 Kostas Papadimitriou
3 cfa5eb53 Kostas Papadimitriou
sys.path.insert(0, os.path.abspath('../'))
4 693bebea Stratos Psomadakis
from synnefo.versions.apps import __version__
5 4a3e83c6 Kostas Papadimitriou
6 b1996c81 Kostas Papadimitriou
project = u'snf-cyclades-app'
7 693bebea Stratos Psomadakis
copyright = u'2012-2013, GRNET'
8 693bebea Stratos Psomadakis
version = __version__
9 693bebea Stratos Psomadakis
release = __version__
10 9940eacf Kostas Papadimitriou
html_title = 'synnefo ' + version
11 4a3e83c6 Kostas Papadimitriou
12 4a3e83c6 Kostas Papadimitriou
templates_path = ['_templates']
13 4a3e83c6 Kostas Papadimitriou
source_suffix = '.rst'
14 4a3e83c6 Kostas Papadimitriou
master_doc = 'index'
15 4a3e83c6 Kostas Papadimitriou
exclude_patterns = ['_build']
16 4a3e83c6 Kostas Papadimitriou
pygments_style = 'sphinx'
17 693bebea Stratos Psomadakis
html_theme = 'default'
18 693bebea Stratos Psomadakis
html_theme_options = {
19 693bebea Stratos Psomadakis
        'collapsiblesidebar': 'true',
20 693bebea Stratos Psomadakis
        'footerbgcolor':    '#55b577',
21 693bebea Stratos Psomadakis
        'footertextcolor':  '#000000',
22 693bebea Stratos Psomadakis
        'sidebarbgcolor':   '#ffffff',
23 693bebea Stratos Psomadakis
        'sidebarbtncolor':  '#f2f2f2',
24 693bebea Stratos Psomadakis
        'sidebartextcolor': '#000000',
25 693bebea Stratos Psomadakis
        'sidebarlinkcolor': '#328e4a',
26 693bebea Stratos Psomadakis
        'relbarbgcolor':    '#55b577',
27 693bebea Stratos Psomadakis
        'relbartextcolor':  '#ffffff',
28 693bebea Stratos Psomadakis
        'relbarlinkcolor':  '#ffffff',
29 693bebea Stratos Psomadakis
        'bgcolor':          '#ffffff',
30 693bebea Stratos Psomadakis
        'textcolor':        '#000000',
31 693bebea Stratos Psomadakis
        'headbgcolor':      '#ffffff',
32 693bebea Stratos Psomadakis
        'headtextcolor':    '#000000',
33 693bebea Stratos Psomadakis
        'headlinkcolor':    '#c60f0f',
34 693bebea Stratos Psomadakis
        'linkcolor':        '#328e4a',
35 693bebea Stratos Psomadakis
        'visitedlinkcolor': '#63409b',
36 693bebea Stratos Psomadakis
        'codebgcolor':      '#eeffcc',
37 693bebea Stratos Psomadakis
        'codetextcolor':    '#333333'
38 693bebea Stratos Psomadakis
}
39 693bebea Stratos Psomadakis
40 4a3e83c6 Kostas Papadimitriou
html_static_path = ['_static']
41 9940eacf Kostas Papadimitriou
htmlhelp_basename = 'synnefodoc'
42 4a3e83c6 Kostas Papadimitriou
43 9940eacf Kostas Papadimitriou
intersphinx_mapping = {
44 9940eacf Kostas Papadimitriou
        'pithon': ('http://docs.python.org/', None),
45 9940eacf Kostas Papadimitriou
        'django': ('https://docs.djangoproject.com/en/dev/',
46 9940eacf Kostas Papadimitriou
                   'https://docs.djangoproject.com/en/dev/_objects/')
47 4a3e83c6 Kostas Papadimitriou
}
48 4a3e83c6 Kostas Papadimitriou
49 34e79416 Constantinos Venetsanopoulos
SYNNEFO_DOCS_BASE_URL = 'http://www.synnefo.org/docs'
50 9940eacf Kostas Papadimitriou
SYNNEFO_PROJECTS = {
51 9940eacf Kostas Papadimitriou
    'synnefo': 'dev',
52 9940eacf Kostas Papadimitriou
    'pithos': 'dev',
53 9940eacf Kostas Papadimitriou
    'snf-webproject': 'dev',
54 9940eacf Kostas Papadimitriou
    'snf-common': 'dev',
55 9940eacf Kostas Papadimitriou
    'snf-image': 'dev',
56 b1996c81 Kostas Papadimitriou
    'snf-cyclades-app': 'dev'
57 9940eacf Kostas Papadimitriou
}
58 c9a968e8 Kostas Papadimitriou
59 9940eacf Kostas Papadimitriou
for name, ver in SYNNEFO_PROJECTS.iteritems():
60 9940eacf Kostas Papadimitriou
    intersphinx_mapping[name.replace("-","")] = (SYNNEFO_DOCS_BASE_URL +
61 9940eacf Kostas Papadimitriou
                                                 '%s/%s/' % (name, ver),
62 9940eacf Kostas Papadimitriou
                                 None)
63 c469ca86 Kostas Papadimitriou
64 9940eacf Kostas Papadimitriou
extensions = ['sphinx.ext.intersphinx',
65 9940eacf Kostas Papadimitriou
              'sphinx.ext.todo',
66 cfa5eb53 Kostas Papadimitriou
              'sphinx.ext.viewcode',
67 cfa5eb53 Kostas Papadimitriou
              'sphinx.ext.autodoc']