Statistics
| Branch: | Tag: | Revision:

root / docs / conf.py @ 7a8df455

History | View | Annotate | Download (1.2 kB)

1
import sys, os
2

    
3
sys.path.append("../snf-cyclades-app")
4

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

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

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

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

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

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