Skip to content

Commit 63c7d9c

Browse files
committed
Moving global config information to a separate place.
1 parent ae5a1b9 commit 63c7d9c

File tree

3 files changed

+247
-479
lines changed

3 files changed

+247
-479
lines changed

config/all.py

+239
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
# Global configuration information used across all the
2+
# translations of documentation.
3+
#
4+
5+
# -- General configuration -----------------------------------------------------
6+
7+
# If your documentation needs a minimal Sphinx version, state it here.
8+
#needs_sphinx = '1.0'
9+
10+
# Add any Sphinx extension module names here, as strings. They can be extensions
11+
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
12+
extensions = ['sphinx.ext.todo']
13+
14+
# Add any paths that contain templates here, relative to this directory.
15+
templates_path = ['../_templates']
16+
17+
# The suffix of source filenames.
18+
source_suffix = '.rst'
19+
20+
# The encoding of source files.
21+
#source_encoding = 'utf-8-sig'
22+
23+
# The master toctree document.
24+
master_doc = 'index'
25+
26+
# General information about the project.
27+
project = u'CakePHP Cookbook'
28+
copyright = u'2011, CakePHP'
29+
30+
# The version info for the project you're documenting, acts as replacement for
31+
# |version| and |release|, also used in various other places throughout the
32+
# built documents.
33+
#
34+
# The short X.Y version.
35+
version = '0.0.1'
36+
37+
# The full version, including alpha/beta/rc tags.
38+
release = '0.0.1'
39+
40+
# There are two options for replacing |today|: either, you set today to some
41+
# non-false value, then it is used:
42+
#today = ''
43+
# Else, today_fmt is used as the format for a strftime call.
44+
#today_fmt = '%B %d, %Y'
45+
46+
# List of patterns, relative to source directory, that match files and
47+
# directories to ignore when looking for source files.
48+
exclude_patterns = ['_static']
49+
50+
# The reST default role (used for this markup: `text`) to use for all documents.
51+
#default_role = None
52+
53+
# If true, '()' will be appended to :func: etc. cross-reference text.
54+
#add_function_parentheses = True
55+
56+
# If true, the current module name will be prepended to all description
57+
# unit titles (such as .. function::).
58+
#add_module_names = True
59+
60+
# If true, sectionauthor and moduleauthor directives will be shown in the
61+
# output. They are ignored by default.
62+
#show_authors = False
63+
64+
# The name of the Pygments (syntax highlighting) style to use.
65+
pygments_style = 'sphinx'
66+
67+
# A list of ignored prefixes for module index sorting.
68+
#modindex_common_prefix = []
69+
70+
highlight_language = 'php'
71+
72+
73+
# -- Options for HTML output ---------------------------------------------------
74+
75+
# The theme to use for HTML and HTML Help pages. See the documentation for
76+
# a list of builtin themes.
77+
html_theme = 'default'
78+
79+
# Theme options are theme-specific and customize the look and feel of a theme
80+
# further. For a list of options available for each theme, see the
81+
# documentation.
82+
#html_theme_options = {}
83+
84+
# Add any paths that contain custom themes here, relative to this directory.
85+
#html_theme_path = []
86+
87+
# The name for this set of Sphinx documents. If None, it defaults to
88+
# "<project> v<release> documentation".
89+
#html_title = None
90+
91+
# A shorter title for the navigation bar. Default is the same as html_title.
92+
#html_short_title = None
93+
94+
# The name of an image file (relative to this directory) to place at the top
95+
# of the sidebar.
96+
#html_logo = None
97+
98+
# The name of an image file (within the static path) to use as favicon of the
99+
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
100+
# pixels large.
101+
#html_favicon = None
102+
103+
# Add any paths that contain custom static files (such as style sheets) here,
104+
# relative to this directory. They are copied after the builtin static files,
105+
# so a file named "default.css" will overwrite the builtin "default.css".
106+
html_static_path = ['_static']
107+
108+
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
109+
# using the given strftime format.
110+
#html_last_updated_fmt = '%b %d, %Y'
111+
112+
# If true, SmartyPants will be used to convert quotes and dashes to
113+
# typographically correct entities.
114+
#html_use_smartypants = True
115+
116+
# Custom sidebar templates, maps document names to template names.
117+
#html_sidebars = {}
118+
119+
# Additional templates that should be rendered to pages, maps page names to
120+
# template names.
121+
#html_additional_pages = {}
122+
123+
# If false, no module index is generated.
124+
#html_domain_indices = True
125+
126+
# If false, no index is generated.
127+
#html_use_index = True
128+
129+
# If true, the index is split into individual pages for each letter.
130+
#html_split_index = False
131+
132+
# If true, links to the reST sources are added to the pages.
133+
#html_show_sourcelink = True
134+
135+
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
136+
#html_show_sphinx = True
137+
138+
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
139+
#html_show_copyright = True
140+
141+
# If true, an OpenSearch description file will be output, and all pages will
142+
# contain a <link> tag referring to it. The value of this option must be the
143+
# base URL from which the finished HTML is served.
144+
#html_use_opensearch = ''
145+
146+
# This is the file name suffix for HTML files (e.g. ".xhtml").
147+
#html_file_suffix = None
148+
149+
# Output file base name for HTML help builder.
150+
htmlhelp_basename = 'CakePHPCookbookdoc'
151+
152+
153+
# -- Options for LaTeX output --------------------------------------------------
154+
155+
# The paper size ('letter' or 'a4').
156+
#latex_paper_size = 'letter'
157+
158+
# The font size ('10pt', '11pt' or '12pt').
159+
#latex_font_size = '10pt'
160+
161+
# Grouping the document tree into LaTeX files. List of tuples
162+
# (source start file, target name, title, author, documentclass [howto/manual]).
163+
latex_documents = [
164+
('index', 'CakePHPCookbook.tex', u'CakePHP Cookbook Documentation',
165+
u'CakePHP', 'manual'),
166+
]
167+
168+
# The name of an image file (relative to this directory) to place at the top of
169+
# the title page.
170+
#latex_logo = None
171+
172+
# For "manual" documents, if this is true, then toplevel headings are parts,
173+
# not chapters.
174+
#latex_use_parts = False
175+
176+
# If true, show page references after internal links.
177+
#latex_show_pagerefs = False
178+
179+
# If true, show URL addresses after external links.
180+
#latex_show_urls = False
181+
182+
# Additional stuff for the LaTeX preamble.
183+
#latex_preamble = ''
184+
185+
# Documents to append as an appendix to all manuals.
186+
#latex_appendices = []
187+
188+
# If false, no module index is generated.
189+
#latex_domain_indices = True
190+
191+
192+
# -- Options for manual page output --------------------------------------------
193+
194+
# One entry per manual page. List of tuples
195+
# (source start file, name, description, authors, manual section).
196+
man_pages = [
197+
('index', 'cakephpcookbook', u'CakePHP Cookbook Documentation',
198+
[u'CakePHP'], 1)
199+
]
200+
201+
202+
# -- Options for Epub output ---------------------------------------------------
203+
204+
# Bibliographic Dublin Core info.
205+
epub_title = u'CakePHP Cookbook'
206+
epub_author = u'CakePHP'
207+
epub_publisher = u'CakePHP'
208+
epub_copyright = u'2011, CakePHP'
209+
210+
# The language of the text. It defaults to the language option
211+
# or en if the language is not set.
212+
#epub_language = ''
213+
214+
# The scheme of the identifier. Typical schemes are ISBN or URL.
215+
#epub_scheme = ''
216+
217+
# The unique identifier of the text. This can be a ISBN number
218+
# or the project homepage.
219+
#epub_identifier = ''
220+
221+
# A unique identification for the text.
222+
#epub_uid = ''
223+
224+
# HTML files that should be inserted before the pages created by sphinx.
225+
# The format is a list of tuples containing the path and title.
226+
#epub_pre_files = []
227+
228+
# HTML files shat should be inserted after the pages created by sphinx.
229+
# The format is a list of tuples containing the path and title.
230+
#epub_post_files = []
231+
232+
# A list of files that should not be packed into the epub file.
233+
#epub_exclude_files = []
234+
235+
# The depth of the table of contents in toc.ncx.
236+
#epub_tocdepth = 3
237+
238+
# Allow duplicate toc entries.
239+
#epub_tocdup = True

0 commit comments

Comments
 (0)