source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/gluon/packages/dal/docs/conf.py

main
Last change on this file was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 7.9 KB
Line 
1# -*- coding: utf-8 -*-
2#
3# web2py documentation build configuration file, created by
4# sphinx-quickstart on Sun Aug 18 20:05:19 2013.
5#
6# This file is execfile()d with the current directory set to its containing dir.
7#
8# Note that not all possible configuration values are present in this
9# autogenerated file.
10#
11# All configuration values have a default; values that are commented out
12# serve to show the default.
13
14import sys, os, shutil
15
16on_rtd = os.environ.get("READTHEDOCS", None) == "True"
17
18if not on_rtd:  # only import and set the theme if we're building docs locally
19    import sphinx_rtd_theme
20
21    html_theme = "sphinx_rtd_theme"
22    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
23
24# If extensions (or modules to document with autodoc) are in another directory,
25# add these directories to sys.path here. If the directory is relative to the
26# documentation root, use os.path.abspath to make it absolute, like shown here.
27sys.path.insert(0, os.path.abspath(".."))
28import pkg_resources
29
30version_ = pkg_resources.get_distribution("pyDAL").version
31release_ = version_
32# -- General configuration -----------------------------------------------------
33
34# If your documentation needs a minimal Sphinx version, state it here.
35# needs_sphinx = '1.0'
36
37# Add any Sphinx extension module names here, as strings. They can be extensions
38# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
39extensions = [
40    "sphinx.ext.autodoc",
41    "sphinx.ext.coverage",
42    "sphinx.ext.viewcode",
43    "sphinxcontrib.napoleon",
44]
45
46# Add any paths that contain templates here, relative to this directory.
47templates_path = ["_templates"]
48
49# The suffix of source filenames.
50source_suffix = ".rst"
51
52# The encoding of source files.
53# source_encoding = 'utf-8-sig'
54
55# The master toctree document.
56master_doc = "index"
57
58# General information about the project.
59project = u"pyDAL"
60copyright = u"2014, web2py-developers"
61
62# The version info for the project you're documenting, acts as replacement for
63# |version| and |release|, also used in various other places throughout the
64# built documents.
65#
66# The short X.Y version.
67version = version_
68# The full version, including alpha/beta/rc tags.
69release = release_
70
71# The language for content autogenerated by Sphinx. Refer to documentation
72# for a list of supported languages.
73# language = None
74
75# There are two options for replacing |today|: either, you set today to some
76# non-false value, then it is used:
77# today = ''
78# Else, today_fmt is used as the format for a strftime call.
79# today_fmt = '%B %d, %Y'
80
81# List of patterns, relative to source directory, that match files and
82# directories to ignore when looking for source files.
83exclude_patterns = ["_build"]
84
85# The reST default role (used for this markup: `text`) to use for all documents.
86# default_role = None
87
88# If true, '()' will be appended to :func: etc. cross-reference text.
89# add_function_parentheses = True
90
91# If true, the current module name will be prepended to all description
92# unit titles (such as .. function::).
93# add_module_names = True
94
95# If true, sectionauthor and moduleauthor directives will be shown in the
96# output. They are ignored by default.
97# show_authors = False
98
99# The name of the Pygments (syntax highlighting) style to use.
100pygments_style = "sphinx"
101
102# A list of ignored prefixes for module index sorting.
103# modindex_common_prefix = []
104
105# If true, keep warnings as "system message" paragraphs in the built documents.
106# keep_warnings = False
107
108
109# -- Options for HTML output ---------------------------------------------------
110
111# The name for this set of Sphinx documents.  If None, it defaults to
112# "<project> v<release> documentation".
113# html_title = None
114
115# A shorter title for the navigation bar.  Default is the same as html_title.
116# html_short_title = None
117
118# The name of an image file (relative to this directory) to place at the top
119# of the sidebar.
120# html_logo = None
121
122# The name of an image file (within the static path) to use as favicon of the
123# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
124# pixels large.
125# html_favicon = None
126
127# Add any paths that contain custom static files (such as style sheets) here,
128# relative to this directory. They are copied after the builtin static files,
129# so a file named "default.css" will overwrite the builtin "default.css".
130# html_static_path = ['_static']
131
132# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
133# using the given strftime format.
134# html_last_updated_fmt = '%b %d, %Y'
135
136# If true, SmartyPants will be used to convert quotes and dashes to
137# typographically correct entities.
138# html_use_smartypants = True
139
140# Custom sidebar templates, maps document names to template names.
141# html_sidebars = {}
142
143# Additional templates that should be rendered to pages, maps page names to
144# template names.
145# html_additional_pages = {}
146
147# If false, no module index is generated.
148# html_domain_indices = True
149
150# If false, no index is generated.
151# html_use_index = True
152
153# If true, the index is split into individual pages for each letter.
154# html_split_index = False
155
156# If true, links to the reST sources are added to the pages.
157html_show_sourcelink = False
158
159# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
160# html_show_sphinx = True
161
162# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
163# html_show_copyright = True
164
165# If true, an OpenSearch description file will be output, and all pages will
166# contain a <link> tag referring to it.  The value of this option must be the
167# base URL from which the finished HTML is served.
168# html_use_opensearch = ''
169
170# This is the file name suffix for HTML files (e.g. ".xhtml").
171# html_file_suffix = None
172
173# Output file base name for HTML help builder.
174htmlhelp_basename = "pyDALdoc"
175
176
177# -- Options for LaTeX output --------------------------------------------------
178
179latex_elements = {
180    # The paper size ('letterpaper' or 'a4paper').
181    #'papersize': 'letterpaper',
182    # The font size ('10pt', '11pt' or '12pt').
183    #'pointsize': '10pt',
184    # Additional stuff for the LaTeX preamble.
185    #'preamble': '',
186}
187
188# Grouping the document tree into LaTeX files. List of tuples
189# (source start file, target name, title, author, documentclass [howto/manual]).
190latex_documents = [
191    ("index", "pydal.tex", u"pyDAL Documentation", u"web2py-developers", "manual"),
192]
193
194# The name of an image file (relative to this directory) to place at the top of
195# the title page.
196# latex_logo = None
197
198# For "manual" documents, if this is true, then toplevel headings are parts,
199# not chapters.
200# latex_use_parts = False
201
202# If true, show page references after internal links.
203# latex_show_pagerefs = False
204
205# If true, show URL addresses after external links.
206# latex_show_urls = False
207
208# Documents to append as an appendix to all manuals.
209# latex_appendices = []
210
211# If false, no module index is generated.
212# latex_domain_indices = True
213
214
215# -- Options for manual page output --------------------------------------------
216
217# One entry per manual page. List of tuples
218# (source start file, name, description, authors, manual section).
219man_pages = [("index", "pyDAL", u"pyDAL Documentation", [u"web2py-developers"], 1)]
220
221# If true, show URL addresses after external links.
222# man_show_urls = False
223
224
225# -- Options for Texinfo output ------------------------------------------------
226
227# Grouping the document tree into Texinfo files. List of tuples
228# (source start file, target name, title, author,
229#  dir menu entry, description, category)
230texinfo_documents = [
231    (
232        "index",
233        "pyDAL",
234        u"pyDAL Documentation",
235        u"web2py-developers",
236        "pyDAL",
237        "pyDAL",
238        "Miscellaneous",
239    ),
240]
241
242# Documents to append as an appendix to all manuals.
243# texinfo_appendices = []
244
245# If false, no module index is generated.
246# texinfo_domain_indices = True
247
248# How to display URL addresses: 'footnote', 'no', or 'inline'.
249# texinfo_show_urls = 'footnote'
250
251# If true, do not generate a @detailmenu in the "Top" node's menu.
252# texinfo_no_detailmenu = False
Note: See TracBrowser for help on using the repository browser.