Statistics
| Branch: | Tag: | Revision:

root / docs / conf.py @ 1837aa54

History | View | Annotate | Download (1.1 kB)

1
import sys, os
2

    
3

    
4
project = u'synnefo'
5
copyright = u'2012, GRNET'
6
version = '0.9'
7
release = '0.9'
8
html_title = 'synnefo ' + version
9

    
10
templates_path = ['_templates']
11
source_suffix = '.rst'
12
master_doc = 'index'
13
exclude_patterns = ['_build']
14
pygments_style = 'sphinx'
15
html_theme = 'nature'
16
html_static_path = ['_static']
17
htmlhelp_basename = 'synnefodoc'
18

    
19
intersphinx_mapping = {
20
        'pithon': ('http://docs.python.org/', None),
21
        'django': ('https://docs.djangoproject.com/en/dev/',
22
                   'https://docs.djangoproject.com/en/dev/_objects/')
23
}
24

    
25
SYNNEFO_DOCS_BASE_URL = 'http://docs.dev.grnet.gr/'
26
SYNNEFO_PROJECTS = {
27
    'synnefo': 'dev',
28
    'pithos': 'dev',
29
    'snf-webproject': 'dev',
30
    'snf-common': 'dev',
31
    'snf-image': 'dev',
32
    'snf-cyclades-app': 'dev'
33
}
34

    
35
for name, ver in SYNNEFO_PROJECTS.iteritems():
36
    intersphinx_mapping[name.replace("-","")] = (SYNNEFO_DOCS_BASE_URL +
37
                                                 '%s/%s/' % (name, ver),
38
                                 None)
39

    
40
extensions = ['sphinx.ext.autodoc',
41
              'sphinx.ext.intersphinx',
42
              'sphinx.ext.todo',
43
              'sphinx.ext.viewcode']