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 |
|
15 | import sys
|
16 | import os
|
17 |
|
18 | sys.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 |
|
26 | extensions = [
|
27 | 'replace',
|
28 | 'sphinx.ext.intersphinx',
|
29 | 'sphinx.ext.todo',
|
30 | 'sphinx.ext.ifconfig',
|
31 | ]
|
32 |
|
33 | templates_path = ['_templates']
|
34 | source_suffix = '.rst'
|
35 | master_doc = 'index'
|
36 | project = u'Realeyes Developer Portal'
|
37 | copyright = u'Copyright 2016 © Realeyes Data Services Ltd.'
|
38 | author = 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.
|
45 | version = u'1.0'
|
46 | # The full version, including alpha/beta/rc tags.
|
47 | release = u'1.0'
|
48 |
|
49 | language = None
|
50 | exclude_patterns = ['_build']
|
51 | pygments_style = 'sphinx'
|
52 | todo_include_todos = True
|
53 |
|
54 | # -- Options for HTML output ----------------------------------------------
|
55 |
|
56 | html_theme = 'alabaster'
|
57 |
|
58 | html_title = u''
|
59 | # A shorter title for the navigation bar. Default is the same as html_title.
|
60 | html_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
|
65 | html_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".
|
70 | html_static_path = ['_static']
|
71 |
|
72 | html_favicon = 'favicon.ico'
|
73 |
|
74 | # Output file base name for HTML help builder.
|
75 | htmlhelp_basename = 'RealeyesDeveloperPortaldoc'
|
76 |
|
77 | # -- Options for LaTeX output ---------------------------------------------
|
78 |
|
79 | latex_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]).
|
96 | latex_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).
|
105 | man_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)
|
115 | texinfo_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 |
|
125 | from recommonmark.parser import CommonMarkParser
|
126 |
|
127 | source_parsers = {
|
128 | '.md': CommonMarkParser,
|
129 | }
|
130 |
|
131 | source_suffix = ['.rst', '.md']
|