pekko/akka-docs/conf.py

73 lines
1.8 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
#
# Akka documentation build configuration file.
#
import sys, os
# -- General configuration -----------------------------------------------------
2011-04-20 18:02:11 +12:00
sys.path.append(os.path.abspath('_sphinx/exts'))
extensions = ['sphinx.ext.todo', 'includecode']
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
2011-04-27 10:04:18 +12:00
exclude_patterns = ['_build', 'pending', 'disabled']
project = u'Akka'
2011-05-16 08:34:55 +02:00
copyright = u'2011, Typesafe Inc'
2012-03-05 10:50:54 +13:00
version = '2.1-SNAPSHOT'
release = '2.1-SNAPSHOT'
2011-04-19 12:43:50 +12:00
pygments_style = 'simple'
highlight_language = 'scala'
add_function_parentheses = False
show_authors = True
# -- Options for HTML output ---------------------------------------------------
html_theme = 'akka'
2011-04-20 18:02:11 +12:00
html_theme_path = ['_sphinx/themes']
2012-03-06 13:20:00 +13:00
html_favicon = '_sphinx/static/favicon.ico'
html_title = 'Akka Documentation'
2011-04-20 18:02:11 +12:00
html_logo = '_sphinx/static/logo.png'
#html_favicon = None
2011-04-20 18:02:11 +12:00
html_static_path = ['_sphinx/static']
html_last_updated_fmt = '%b %d, %Y'
#html_sidebars = {}
#html_additional_pages = {}
html_domain_indices = False
html_use_index = False
html_show_sourcelink = False
html_show_sphinx = False
html_show_copyright = True
htmlhelp_basename = 'Akkadoc'
2012-03-06 13:20:00 +13:00
html_add_permalinks = ''
# -- Options for LaTeX output --------------------------------------------------
2011-10-12 10:55:35 +02:00
def setup(app):
2012-03-06 13:20:00 +13:00
from sphinx.util.texescape import tex_replacements
tex_replacements.append((u'', ur'\(\Rightarrow\)'))
2011-10-12 10:55:35 +02:00
latex_paper_size = 'a4'
latex_font_size = '10pt'
latex_documents = [
('index', 'Akka.tex', u' Akka Documentation',
2011-10-12 10:55:35 +02:00
u'Typesafe Inc', 'manual'),
]
latex_elements = {
'classoptions': ',oneside,openany',
'babel': '\\usepackage[english]{babel}',
2011-10-12 10:55:35 +02:00
'fontpkg': '\\PassOptionsToPackage{warn}{textcomp} \\usepackage{times}',
'preamble': '\\definecolor{VerbatimColor}{rgb}{0.935,0.935,0.935}'
}
2011-04-20 18:02:11 +12:00
# latex_logo = '_sphinx/static/akka.png'