UNPKG

4.04 kBPlain TextView Raw
1# -*- coding: utf-8 -*-
2#
3# Realeyes Developer Portal documentation build configuration file, created by
4# sphinx-quickstart on Wed Feb 24 14:42:44 2016.
5#
6# This file is execfile()d with the current directory set to its
7# containing dir.
8#
9# Note that not all possible configuration values are present in this
10# autogenerated file.
11#
12# All configuration values have a default; values that are commented out
13# serve to show the default.
14
15import sys
16import os
17
18sys.path.append(os.path.abspath('_ext'))
19
20#import sphinx_rtd_theme
21#html_theme = "sphinx_rtd_theme"
22#html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
23
24# -- General configuration ------------------------------------------------
25
26extensions = [
27 'replace',
28 'sphinx.ext.intersphinx',
29 'sphinx.ext.todo',
30 'sphinx.ext.ifconfig',
31]
32
33templates_path = ['_templates']
34source_suffix = '.rst'
35master_doc = 'index'
36project = u'Realeyes Developer Portal'
37copyright = u'Copyright 2016 © Realeyes Data Services Ltd.'
38author = u'Realeyes'
39
40# The version info for the project you're documenting, acts as replacement for
41# |version| and |release|, also used in various other places throughout the
42# built documents.
43#
44# The short X.Y version.
45version = u'1.0'
46# The full version, including alpha/beta/rc tags.
47release = u'1.0'
48
49language = None
50exclude_patterns = ['_build']
51pygments_style = 'sphinx'
52todo_include_todos = True
53
54# -- Options for HTML output ----------------------------------------------
55
56html_theme = 'alabaster'
57
58html_title = u''
59# A shorter title for the navigation bar. Default is the same as html_title.
60html_short_title = None
61
62# The name of an image file (relative to this directory) to place at the top
63# of the sidebar.
64#html_logo = None
65html_sidebars = { '**': ['searchbox.html', 'customglobaltoc.html', 'relations.html'], }
66
67# Add any paths that contain custom static files (such as style sheets) here,
68# relative to this directory. They are copied after the builtin static files,
69# so a file named "default.css" will overwrite the builtin "default.css".
70html_static_path = ['_static']
71
72html_favicon = 'favicon.ico'
73
74# Output file base name for HTML help builder.
75htmlhelp_basename = 'RealeyesDeveloperPortaldoc'
76
77# -- Options for LaTeX output ---------------------------------------------
78
79latex_elements = {
80# The paper size ('letterpaper' or 'a4paper').
81#'papersize': 'letterpaper',
82
83# The font size ('10pt', '11pt' or '12pt').
84#'pointsize': '10pt',
85
86# Additional stuff for the LaTeX preamble.
87#'preamble': '',
88
89# Latex figure (float) alignment
90#'figure_align': 'htbp',
91}
92
93# Grouping the document tree into LaTeX files. List of tuples
94# (source start file, target name, title,
95# author, documentclass [howto, manual, or own class]).
96latex_documents = [
97 (master_doc, 'RealeyesDeveloperPortal.tex', u'Realeyes Developer Portal Documentation',
98 u'Realeyes', 'manual'),
99]
100
101# -- Options for manual page output ---------------------------------------
102
103# One entry per manual page. List of tuples
104# (source start file, name, description, authors, manual section).
105man_pages = [
106 (master_doc, 'realeyesdeveloperportal', u'Realeyes Developer Portal Documentation',
107 [author], 1)
108]
109
110# -- Options for Texinfo output -------------------------------------------
111
112# Grouping the document tree into Texinfo files. List of tuples
113# (source start file, target name, title, author,
114# dir menu entry, description, category)
115texinfo_documents = [
116 (master_doc, 'RealeyesDeveloperPortal', u'Realeyes Developer Portal Documentation',
117 author, 'RealeyesDeveloperPortal', 'One line description of project.',
118 'Miscellaneous'),
119]
120
121
122# Example configuration for intersphinx: refer to the Python standard library.
123#intersphinx_mapping = {'https://docs.python.org/': None}
124
125from recommonmark.parser import CommonMarkParser
126
127source_parsers = {
128 '.md': CommonMarkParser,
129}
130
131source_suffix = ['.rst', '.md']