Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / docs / conf.py @ f70c8d47

History | View | Annotate | Download (1.1 kB)

1 4a3e83c6 Kostas Papadimitriou
import sys, os
2 4a3e83c6 Kostas Papadimitriou
3 4a3e83c6 Kostas Papadimitriou
4 b1996c81 Kostas Papadimitriou
project = u'snf-cyclades-app'
5 9940eacf Kostas Papadimitriou
copyright = u'2012, GRNET'
6 9940eacf Kostas Papadimitriou
version = '0.8'
7 9940eacf Kostas Papadimitriou
release = '0.8'
8 9940eacf Kostas Papadimitriou
html_title = 'synnefo ' + version
9 4a3e83c6 Kostas Papadimitriou
10 4a3e83c6 Kostas Papadimitriou
templates_path = ['_templates']
11 4a3e83c6 Kostas Papadimitriou
source_suffix = '.rst'
12 4a3e83c6 Kostas Papadimitriou
master_doc = 'index'
13 4a3e83c6 Kostas Papadimitriou
exclude_patterns = ['_build']
14 4a3e83c6 Kostas Papadimitriou
pygments_style = 'sphinx'
15 4a447e99 Kostas Papadimitriou
html_theme = 'nature'
16 4a3e83c6 Kostas Papadimitriou
html_static_path = ['_static']
17 9940eacf Kostas Papadimitriou
htmlhelp_basename = 'synnefodoc'
18 4a3e83c6 Kostas Papadimitriou
19 9940eacf Kostas Papadimitriou
intersphinx_mapping = {
20 9940eacf Kostas Papadimitriou
        'pithon': ('http://docs.python.org/', None),
21 9940eacf Kostas Papadimitriou
        'django': ('https://docs.djangoproject.com/en/dev/',
22 9940eacf Kostas Papadimitriou
                   'https://docs.djangoproject.com/en/dev/_objects/')
23 4a3e83c6 Kostas Papadimitriou
}
24 4a3e83c6 Kostas Papadimitriou
25 9940eacf Kostas Papadimitriou
SYNNEFO_DOCS_BASE_URL = 'http://docs.dev.grnet.gr/'
26 9940eacf Kostas Papadimitriou
SYNNEFO_PROJECTS = {
27 9940eacf Kostas Papadimitriou
    'synnefo': 'dev',
28 9940eacf Kostas Papadimitriou
    'pithos': 'dev',
29 9940eacf Kostas Papadimitriou
    'snf-webproject': 'dev',
30 9940eacf Kostas Papadimitriou
    'snf-common': 'dev',
31 9940eacf Kostas Papadimitriou
    'snf-image': 'dev',
32 b1996c81 Kostas Papadimitriou
    'snf-cyclades-app': 'dev'
33 9940eacf Kostas Papadimitriou
}
34 c9a968e8 Kostas Papadimitriou
35 9940eacf Kostas Papadimitriou
for name, ver in SYNNEFO_PROJECTS.iteritems():
36 9940eacf Kostas Papadimitriou
    intersphinx_mapping[name.replace("-","")] = (SYNNEFO_DOCS_BASE_URL +
37 9940eacf Kostas Papadimitriou
                                                 '%s/%s/' % (name, ver),
38 9940eacf Kostas Papadimitriou
                                 None)
39 c469ca86 Kostas Papadimitriou
40 9940eacf Kostas Papadimitriou
extensions = ['sphinx.ext.intersphinx',
41 9940eacf Kostas Papadimitriou
              'sphinx.ext.todo',
42 9940eacf Kostas Papadimitriou
              'sphinx.ext.viewcode']