forked from akka/akka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integrate akka-contrib docs into akka-docs build
using the awesomized sbt-site plugin!
- Loading branch information
1 parent
ed7d22d
commit cc669c3
Showing
5 changed files
with
114 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Akka documentation build configuration file. | ||
# | ||
|
||
import sys, os | ||
|
||
# -- General configuration ----------------------------------------------------- | ||
|
||
sys.path.append(os.path.abspath('../../akka-docs/_sphinx/exts')) | ||
extensions = ['sphinx.ext.todo', 'includecode'] | ||
|
||
templates_path = ['_templates'] | ||
source_suffix = '.rst' | ||
master_doc = 'index' | ||
exclude_patterns = ['_build', 'pending', 'disabled'] | ||
|
||
project = u'Akka' | ||
copyright = u'2011, Typesafe Inc' | ||
version = '@version@' | ||
release = '@version@' | ||
|
||
pygments_style = 'simple' | ||
highlight_language = 'scala' | ||
add_function_parentheses = False | ||
show_authors = True | ||
|
||
# -- Options for HTML output --------------------------------------------------- | ||
|
||
html_theme = 'akka' | ||
html_theme_path = ['../../akka-docs/_sphinx/themes'] | ||
html_favicon = '../../akka-docs/_sphinx/static/favicon.ico' | ||
|
||
html_title = 'Akka Documentation' | ||
html_logo = '../../akka-docs/_sphinx/static/logo.png' | ||
#html_favicon = None | ||
|
||
html_static_path = ['../../akka-docs/_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' | ||
html_use_smartypants = False | ||
html_add_permalinks = '' | ||
|
||
html_context = { | ||
'include_analytics': 'online' in tags | ||
} | ||
|
||
# -- Options for EPUB output --------------------------------------------------- | ||
epub_author = "Typesafe Inc" | ||
epub_language = "en" | ||
epub_publisher = epub_author | ||
epub_identifier = "http://doc.akka.io/docs/akka/snapshot/" | ||
epub_scheme = "URL" | ||
epub_cover = ("../../akka-docs/_sphinx/static/akka.png", "") | ||
|
||
# -- Options for LaTeX output -------------------------------------------------- | ||
|
||
def setup(app): | ||
from sphinx.util.texescape import tex_replacements | ||
tex_replacements.append((u'⇒', ur'\(\Rightarrow\)')) | ||
|
||
latex_paper_size = 'a4' | ||
latex_font_size = '10pt' | ||
|
||
latex_documents = [ | ||
('index', 'Akka.tex', u' Akka Documentation', | ||
u'Typesafe Inc', 'manual'), | ||
] | ||
|
||
latex_elements = { | ||
'classoptions': ',oneside,openany', | ||
'babel': '\\usepackage[english]{babel}', | ||
'fontpkg': '\\PassOptionsToPackage{warn}{textcomp} \\usepackage{times}', | ||
'preamble': '\\definecolor{VerbatimColor}{rgb}{0.935,0.935,0.935}' | ||
} | ||
|
||
# latex_logo = '_sphinx/static/akka.png' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters