Statistics
| Branch: | Tag: | Revision:

root / docs / source / conf.py @ 2cd939ec

History | View | Annotate | Download (7.1 kB)

1 64cd4730 Antony Chazapis
# -*- coding: utf-8 -*-
2 64cd4730 Antony Chazapis
#
3 64cd4730 Antony Chazapis
# Astakos documentation build configuration file, created by
4 64cd4730 Antony Chazapis
# sphinx-quickstart on Wed May 18 12:42:48 2011.
5 64cd4730 Antony Chazapis
#
6 64cd4730 Antony Chazapis
# This file is execfile()d with the current directory set to its containing dir.
7 64cd4730 Antony Chazapis
#
8 64cd4730 Antony Chazapis
# Note that not all possible configuration values are present in this
9 64cd4730 Antony Chazapis
# autogenerated file.
10 64cd4730 Antony Chazapis
#
11 64cd4730 Antony Chazapis
# All configuration values have a default; values that are commented out
12 64cd4730 Antony Chazapis
# serve to show the default.
13 64cd4730 Antony Chazapis
14 64cd4730 Antony Chazapis
import sys, os
15 64cd4730 Antony Chazapis
16 64cd4730 Antony Chazapis
# If extensions (or modules to document with autodoc) are in another directory,
17 64cd4730 Antony Chazapis
# add these directories to sys.path here. If the directory is relative to the
18 64cd4730 Antony Chazapis
# documentation root, use os.path.abspath to make it absolute, like shown here.
19 1a6a7005 Kostas Papadimitriou
sys.path.insert(0, os.path.abspath('../../snf-astakos-app/'))
20 64cd4730 Antony Chazapis
21 7c319568 Kostas Papadimitriou
from synnefo import settings
22 64cd4730 Antony Chazapis
from django.core.management import setup_environ
23 64cd4730 Antony Chazapis
setup_environ(settings)
24 64cd4730 Antony Chazapis
25 64cd4730 Antony Chazapis
# -- General configuration -----------------------------------------------------
26 64cd4730 Antony Chazapis
27 64cd4730 Antony Chazapis
# If your documentation needs a minimal Sphinx version, state it here.
28 64cd4730 Antony Chazapis
#needs_sphinx = '1.0'
29 64cd4730 Antony Chazapis
30 64cd4730 Antony Chazapis
# Add any Sphinx extension module names here, as strings. They can be extensions
31 64cd4730 Antony Chazapis
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
32 64cd4730 Antony Chazapis
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo']
33 64cd4730 Antony Chazapis
34 64cd4730 Antony Chazapis
# Add any paths that contain templates here, relative to this directory.
35 64cd4730 Antony Chazapis
templates_path = ['_templates']
36 64cd4730 Antony Chazapis
37 64cd4730 Antony Chazapis
# The suffix of source filenames.
38 64cd4730 Antony Chazapis
source_suffix = '.rst'
39 64cd4730 Antony Chazapis
40 64cd4730 Antony Chazapis
# The encoding of source files.
41 64cd4730 Antony Chazapis
#source_encoding = 'utf-8-sig'
42 64cd4730 Antony Chazapis
43 64cd4730 Antony Chazapis
# The master toctree document.
44 64cd4730 Antony Chazapis
master_doc = 'index'
45 64cd4730 Antony Chazapis
46 64cd4730 Antony Chazapis
# General information about the project.
47 64cd4730 Antony Chazapis
project = u'Astakos'
48 64cd4730 Antony Chazapis
copyright = u'2011, Astakos Team'
49 64cd4730 Antony Chazapis
50 64cd4730 Antony Chazapis
# The version info for the project you're documenting, acts as replacement for
51 64cd4730 Antony Chazapis
# |version| and |release|, also used in various other places throughout the
52 64cd4730 Antony Chazapis
# built documents.
53 64cd4730 Antony Chazapis
#
54 64cd4730 Antony Chazapis
# The short X.Y version.
55 2cd939ec Kostas Papadimitriou
from astakos import version as astakos_version
56 2cd939ec Kostas Papadimitriou
57 2cd939ec Kostas Papadimitriou
version = '.'.join(astakos_version.__version_info__[:2])
58 64cd4730 Antony Chazapis
# The full version, including alpha/beta/rc tags.
59 2cd939ec Kostas Papadimitriou
release = astakos_version.__version__
60 64cd4730 Antony Chazapis
61 64cd4730 Antony Chazapis
# The language for content autogenerated by Sphinx. Refer to documentation
62 64cd4730 Antony Chazapis
# for a list of supported languages.
63 64cd4730 Antony Chazapis
#language = None
64 64cd4730 Antony Chazapis
65 64cd4730 Antony Chazapis
# There are two options for replacing |today|: either, you set today to some
66 64cd4730 Antony Chazapis
# non-false value, then it is used:
67 64cd4730 Antony Chazapis
#today = ''
68 64cd4730 Antony Chazapis
# Else, today_fmt is used as the format for a strftime call.
69 64cd4730 Antony Chazapis
#today_fmt = '%B %d, %Y'
70 64cd4730 Antony Chazapis
71 64cd4730 Antony Chazapis
# List of patterns, relative to source directory, that match files and
72 64cd4730 Antony Chazapis
# directories to ignore when looking for source files.
73 64cd4730 Antony Chazapis
exclude_patterns = ['_build']
74 64cd4730 Antony Chazapis
75 64cd4730 Antony Chazapis
# The reST default role (used for this markup: `text`) to use for all documents.
76 64cd4730 Antony Chazapis
#default_role = None
77 64cd4730 Antony Chazapis
78 64cd4730 Antony Chazapis
# If true, '()' will be appended to :func: etc. cross-reference text.
79 64cd4730 Antony Chazapis
#add_function_parentheses = True
80 64cd4730 Antony Chazapis
81 64cd4730 Antony Chazapis
# If true, the current module name will be prepended to all description
82 64cd4730 Antony Chazapis
# unit titles (such as .. function::).
83 64cd4730 Antony Chazapis
#add_module_names = True
84 64cd4730 Antony Chazapis
85 64cd4730 Antony Chazapis
# If true, sectionauthor and moduleauthor directives will be shown in the
86 64cd4730 Antony Chazapis
# output. They are ignored by default.
87 64cd4730 Antony Chazapis
#show_authors = False
88 64cd4730 Antony Chazapis
89 64cd4730 Antony Chazapis
# The name of the Pygments (syntax highlighting) style to use.
90 64cd4730 Antony Chazapis
pygments_style = 'sphinx'
91 64cd4730 Antony Chazapis
92 64cd4730 Antony Chazapis
# A list of ignored prefixes for module index sorting.
93 64cd4730 Antony Chazapis
#modindex_common_prefix = []
94 64cd4730 Antony Chazapis
95 64cd4730 Antony Chazapis
96 64cd4730 Antony Chazapis
# -- Options for HTML output ---------------------------------------------------
97 64cd4730 Antony Chazapis
98 64cd4730 Antony Chazapis
# The theme to use for HTML and HTML Help pages.  See the documentation for
99 64cd4730 Antony Chazapis
# a list of builtin themes.
100 efefbe82 Antony Chazapis
html_theme = 'default'
101 64cd4730 Antony Chazapis
102 64cd4730 Antony Chazapis
# Theme options are theme-specific and customize the look and feel of a theme
103 64cd4730 Antony Chazapis
# further.  For a list of options available for each theme, see the
104 64cd4730 Antony Chazapis
# documentation.
105 64cd4730 Antony Chazapis
#html_theme_options = {}
106 64cd4730 Antony Chazapis
107 64cd4730 Antony Chazapis
# Add any paths that contain custom themes here, relative to this directory.
108 efefbe82 Antony Chazapis
#html_theme_path = []
109 64cd4730 Antony Chazapis
110 64cd4730 Antony Chazapis
# The name for this set of Sphinx documents.  If None, it defaults to
111 64cd4730 Antony Chazapis
# "<project> v<release> documentation".
112 64cd4730 Antony Chazapis
#html_title = None
113 64cd4730 Antony Chazapis
114 64cd4730 Antony Chazapis
# A shorter title for the navigation bar.  Default is the same as html_title.
115 64cd4730 Antony Chazapis
#html_short_title = None
116 64cd4730 Antony Chazapis
117 64cd4730 Antony Chazapis
# The name of an image file (relative to this directory) to place at the top
118 64cd4730 Antony Chazapis
# of the sidebar.
119 64cd4730 Antony Chazapis
#html_logo = None
120 64cd4730 Antony Chazapis
121 64cd4730 Antony Chazapis
# The name of an image file (within the static path) to use as favicon of the
122 64cd4730 Antony Chazapis
# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
123 64cd4730 Antony Chazapis
# pixels large.
124 64cd4730 Antony Chazapis
#html_favicon = None
125 64cd4730 Antony Chazapis
126 64cd4730 Antony Chazapis
# Add any paths that contain custom static files (such as style sheets) here,
127 64cd4730 Antony Chazapis
# relative to this directory. They are copied after the builtin static files,
128 64cd4730 Antony Chazapis
# so a file named "default.css" will overwrite the builtin "default.css".
129 64cd4730 Antony Chazapis
#html_static_path = ['_static']
130 64cd4730 Antony Chazapis
131 64cd4730 Antony Chazapis
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
132 64cd4730 Antony Chazapis
# using the given strftime format.
133 64cd4730 Antony Chazapis
#html_last_updated_fmt = '%b %d, %Y'
134 64cd4730 Antony Chazapis
135 64cd4730 Antony Chazapis
# If true, SmartyPants will be used to convert quotes and dashes to
136 64cd4730 Antony Chazapis
# typographically correct entities.
137 64cd4730 Antony Chazapis
#html_use_smartypants = True
138 64cd4730 Antony Chazapis
139 64cd4730 Antony Chazapis
# Custom sidebar templates, maps document names to template names.
140 64cd4730 Antony Chazapis
#html_sidebars = {}
141 64cd4730 Antony Chazapis
142 64cd4730 Antony Chazapis
# Additional templates that should be rendered to pages, maps page names to
143 64cd4730 Antony Chazapis
# template names.
144 64cd4730 Antony Chazapis
#html_additional_pages = {}
145 64cd4730 Antony Chazapis
146 64cd4730 Antony Chazapis
# If false, no module index is generated.
147 64cd4730 Antony Chazapis
#html_domain_indices = True
148 64cd4730 Antony Chazapis
149 64cd4730 Antony Chazapis
# If false, no index is generated.
150 64cd4730 Antony Chazapis
#html_use_index = True
151 64cd4730 Antony Chazapis
152 64cd4730 Antony Chazapis
# If true, the index is split into individual pages for each letter.
153 64cd4730 Antony Chazapis
#html_split_index = False
154 64cd4730 Antony Chazapis
155 64cd4730 Antony Chazapis
# If true, links to the reST sources are added to the pages.
156 64cd4730 Antony Chazapis
#html_show_sourcelink = True
157 64cd4730 Antony Chazapis
158 64cd4730 Antony Chazapis
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
159 64cd4730 Antony Chazapis
#html_show_sphinx = True
160 64cd4730 Antony Chazapis
161 64cd4730 Antony Chazapis
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
162 64cd4730 Antony Chazapis
#html_show_copyright = True
163 64cd4730 Antony Chazapis
164 64cd4730 Antony Chazapis
# If true, an OpenSearch description file will be output, and all pages will
165 64cd4730 Antony Chazapis
# contain a <link> tag referring to it.  The value of this option must be the
166 64cd4730 Antony Chazapis
# base URL from which the finished HTML is served.
167 64cd4730 Antony Chazapis
#html_use_opensearch = ''
168 64cd4730 Antony Chazapis
169 64cd4730 Antony Chazapis
# This is the file name suffix for HTML files (e.g. ".xhtml").
170 64cd4730 Antony Chazapis
#html_file_suffix = None
171 64cd4730 Antony Chazapis
172 64cd4730 Antony Chazapis
# Output file base name for HTML help builder.
173 64cd4730 Antony Chazapis
htmlhelp_basename = 'Astakosdoc'
174 64cd4730 Antony Chazapis
175 64cd4730 Antony Chazapis
176 64cd4730 Antony Chazapis
# -- Options for LaTeX output --------------------------------------------------
177 64cd4730 Antony Chazapis
178 64cd4730 Antony Chazapis
# The paper size ('letter' or 'a4').
179 64cd4730 Antony Chazapis
#latex_paper_size = 'letter'
180 64cd4730 Antony Chazapis
181 64cd4730 Antony Chazapis
# The font size ('10pt', '11pt' or '12pt').
182 64cd4730 Antony Chazapis
#latex_font_size = '10pt'
183 64cd4730 Antony Chazapis
184 64cd4730 Antony Chazapis
# Grouping the document tree into LaTeX files. List of tuples
185 64cd4730 Antony Chazapis
# (source start file, target name, title, author, documentclass [howto/manual]).
186 64cd4730 Antony Chazapis
latex_documents = [
187 64cd4730 Antony Chazapis
  ('index', 'Astakos.tex', u'Astakos Documentation',
188 64cd4730 Antony Chazapis
   u'Astakos Team', 'manual'),
189 64cd4730 Antony Chazapis
]
190 64cd4730 Antony Chazapis
191 64cd4730 Antony Chazapis
# The name of an image file (relative to this directory) to place at the top of
192 64cd4730 Antony Chazapis
# the title page.
193 64cd4730 Antony Chazapis
#latex_logo = None
194 64cd4730 Antony Chazapis
195 64cd4730 Antony Chazapis
# For "manual" documents, if this is true, then toplevel headings are parts,
196 64cd4730 Antony Chazapis
# not chapters.
197 64cd4730 Antony Chazapis
#latex_use_parts = False
198 64cd4730 Antony Chazapis
199 64cd4730 Antony Chazapis
# If true, show page references after internal links.
200 64cd4730 Antony Chazapis
#latex_show_pagerefs = False
201 64cd4730 Antony Chazapis
202 64cd4730 Antony Chazapis
# If true, show URL addresses after external links.
203 64cd4730 Antony Chazapis
#latex_show_urls = False
204 64cd4730 Antony Chazapis
205 64cd4730 Antony Chazapis
# Additional stuff for the LaTeX preamble.
206 64cd4730 Antony Chazapis
#latex_preamble = ''
207 64cd4730 Antony Chazapis
208 64cd4730 Antony Chazapis
# Documents to append as an appendix to all manuals.
209 64cd4730 Antony Chazapis
#latex_appendices = []
210 64cd4730 Antony Chazapis
211 64cd4730 Antony Chazapis
# If false, no module index is generated.
212 64cd4730 Antony Chazapis
#latex_domain_indices = True
213 64cd4730 Antony Chazapis
214 64cd4730 Antony Chazapis
215 64cd4730 Antony Chazapis
# -- Options for manual page output --------------------------------------------
216 64cd4730 Antony Chazapis
217 64cd4730 Antony Chazapis
# One entry per manual page. List of tuples
218 64cd4730 Antony Chazapis
# (source start file, name, description, authors, manual section).
219 64cd4730 Antony Chazapis
man_pages = [
220 64cd4730 Antony Chazapis
    ('index', 'astakos', u'Astakos Documentation',
221 64cd4730 Antony Chazapis
     [u'Astakos Team'], 1)
222 64cd4730 Antony Chazapis
]
223 64cd4730 Antony Chazapis
224 64cd4730 Antony Chazapis
225 64cd4730 Antony Chazapis
autodoc_default_flags = ['members']