2010-07-23 12:43:33 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import os
|
|
|
|
|
|
|
|
# If your extensions are in another directory, add it here. If the directory
|
|
|
|
# is relative to the documentation root, use os.path.abspath to make it
|
|
|
|
# absolute, like shown here.
|
2010-07-23 13:12:49 +00:00
|
|
|
sys.path.append(os.path.join(os.pardir, "tests"))
|
2010-07-23 12:43:33 +00:00
|
|
|
import kombu
|
|
|
|
|
2012-01-09 16:50:12 +00:00
|
|
|
from django.conf import settings
|
|
|
|
if not settings.configured:
|
|
|
|
settings.configure()
|
|
|
|
|
2010-07-23 12:43:33 +00:00
|
|
|
# General configuration
|
|
|
|
# ---------------------
|
|
|
|
|
2010-07-23 13:12:49 +00:00
|
|
|
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage']
|
2010-07-23 12:43:33 +00:00
|
|
|
|
|
|
|
# Add any paths that contain templates here, relative to this directory.
|
|
|
|
templates_path = ['.templates']
|
|
|
|
|
|
|
|
# The suffix of source filenames.
|
|
|
|
source_suffix = '.rst'
|
|
|
|
|
|
|
|
# The master toctree document.
|
|
|
|
master_doc = 'index'
|
|
|
|
|
|
|
|
# General information about the project.
|
|
|
|
project = u'Kombu'
|
2012-01-06 17:08:38 +00:00
|
|
|
copyright = u'2009-2012, Ask Solem'
|
2010-07-23 12:43:33 +00:00
|
|
|
|
|
|
|
# The version info for the project you're documenting, acts as replacement for
|
|
|
|
# |version| and |release|, also used in various other places throughout the
|
|
|
|
# built documents.
|
|
|
|
#
|
|
|
|
# The short X.Y version.
|
|
|
|
version = ".".join(map(str, kombu.VERSION[0:2]))
|
|
|
|
# The full version, including alpha/beta/rc tags.
|
|
|
|
release = kombu.__version__
|
|
|
|
|
|
|
|
exclude_trees = ['.build']
|
|
|
|
|
|
|
|
# If true, '()' will be appended to :func: etc. cross-reference text.
|
|
|
|
add_function_parentheses = True
|
|
|
|
|
|
|
|
# The name of the Pygments (syntax highlighting) style to use.
|
|
|
|
pygments_style = 'trac'
|
|
|
|
|
|
|
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
|
|
# relative to this directory. They are copied after the builtin static files,
|
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
|
|
html_static_path = ['.static']
|
|
|
|
|
|
|
|
html_use_smartypants = True
|
|
|
|
|
|
|
|
# If false, no module index is generated.
|
|
|
|
html_use_modindex = True
|
|
|
|
|
|
|
|
# If false, no index is generated.
|
|
|
|
html_use_index = True
|
|
|
|
|
|
|
|
latex_documents = [
|
|
|
|
('index', 'Kombu.tex', ur'Kombu Documentation',
|
|
|
|
ur'Ask Solem', 'manual'),
|
|
|
|
]
|
|
|
|
|
2010-07-23 13:12:49 +00:00
|
|
|
html_theme = "celery"
|
2010-07-23 12:43:33 +00:00
|
|
|
html_theme_path = ["_theme"]
|
2010-07-23 13:12:49 +00:00
|
|
|
html_sidebars = {
|
|
|
|
'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],
|
|
|
|
'**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',
|
|
|
|
'sourcelink.html', 'searchbox.html'],
|
|
|
|
}
|