Gustavo Picon is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

tabo / numconv

Python library to convert strings to numbers and numbers to strings. Docs: http://docs.tabo.pe/numconv/tip/

Clone this repository (size: 168.1 KB): HTTPS / SSH
hg clone https://bitbucket.org/tabo/numconv
hg clone ssh://hg@bitbucket.org/tabo/numconv

numconv / docs / conf.py

commit
882b6d180761
parent
a507bcdecc11
branch
default

2.1

1
0928d42622f4
# -*- coding: utf-8 -*-
2
0928d42622f4
#
3
0928d42622f4
# numconv documentation build configuration file, created by
4
6b6d6c1b9e5c
# sphinx-quickstart on Tue Apr 13 01:06:14 2010.
5
0928d42622f4
#
6
0928d42622f4
# This file is execfile()d with the current directory set to its containing dir.
7
0928d42622f4
#
8
6b6d6c1b9e5c
# Note that not all possible configuration values are present in this
9
6b6d6c1b9e5c
# autogenerated file.
10
0928d42622f4
#
11
6b6d6c1b9e5c
# All configuration values have a default; values that are commented out
12
6b6d6c1b9e5c
# serve to show the default.
13
0928d42622f4
14
0928d42622f4
import sys, os
15
0928d42622f4
16
6b6d6c1b9e5c
# If extensions (or modules to document with autodoc) are in another directory,
17
6b6d6c1b9e5c
# add these directories to sys.path here. If the directory is relative to the
18
6b6d6c1b9e5c
# documentation root, use os.path.abspath to make it absolute, like shown here.
19
6b6d6c1b9e5c
#sys.path.append(os.path.abspath('.'))
20
0928d42622f4
21
6b6d6c1b9e5c
# -- General configuration -----------------------------------------------------
22
0928d42622f4
23
0928d42622f4
# Add any Sphinx extension module names here, as strings. They can be extensions
24
0928d42622f4
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
25
6b6d6c1b9e5c
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage',
26
6b6d6c1b9e5c
              'sphinx.ext.graphviz', 'sphinx.ext.inheritance_diagram',
27
6b6d6c1b9e5c
              'sphinx.ext.todo']
28
0928d42622f4
29
0928d42622f4
# Add any paths that contain templates here, relative to this directory.
30
0928d42622f4
templates_path = ['_templates']
31
0928d42622f4
32
0928d42622f4
# The suffix of source filenames.
33
0928d42622f4
source_suffix = '.rst'
34
0928d42622f4
35
6b6d6c1b9e5c
# The encoding of source files.
36
6b6d6c1b9e5c
#source_encoding = 'utf-8'
37
6b6d6c1b9e5c
38
0928d42622f4
# The master toctree document.
39
0928d42622f4
master_doc = 'index'
40
0928d42622f4
41
6b6d6c1b9e5c
# General information about the project.
42
6b6d6c1b9e5c
project = u'numconv'
43
6b6d6c1b9e5c
copyright = u'2008-2010, Gustavo Picon'
44
0928d42622f4
45
6b6d6c1b9e5c
# The version info for the project you're documenting, acts as replacement for
46
6b6d6c1b9e5c
# |version| and |release|, also used in various other places throughout the
47
6b6d6c1b9e5c
# built documents.
48
0928d42622f4
#
49
0928d42622f4
# The short X.Y version.
50
882b6d180761
version = '2.1'
51
0928d42622f4
# The full version, including alpha/beta/rc tags.
52
882b6d180761
release = '2.1'
53
0928d42622f4
54
6b6d6c1b9e5c
# The language for content autogenerated by Sphinx. Refer to documentation
55
6b6d6c1b9e5c
# for a list of supported languages.
56
6b6d6c1b9e5c
#language = None
57
6b6d6c1b9e5c
58
0928d42622f4
# There are two options for replacing |today|: either, you set today to some
59
0928d42622f4
# non-false value, then it is used:
60
0928d42622f4
#today = ''
61
0928d42622f4
# Else, today_fmt is used as the format for a strftime call.
62
6b6d6c1b9e5c
#today_fmt = '%B %d, %Y'
63
0928d42622f4
64
0928d42622f4
# List of documents that shouldn't be included in the build.
65
0928d42622f4
#unused_docs = []
66
0928d42622f4
67
6b6d6c1b9e5c
# List of directories, relative to source directory, that shouldn't be searched
68
0928d42622f4
# for source files.
69
6b6d6c1b9e5c
exclude_trees = ['_build']
70
0928d42622f4
71
0928d42622f4
# The reST default role (used for this markup: `text`) to use for all documents.
72
0928d42622f4
#default_role = None
73
0928d42622f4
74
0928d42622f4
# If true, '()' will be appended to :func: etc. cross-reference text.
75
0928d42622f4
#add_function_parentheses = True
76
0928d42622f4
77
0928d42622f4
# If true, the current module name will be prepended to all description
78
0928d42622f4
# unit titles (such as .. function::).
79
0928d42622f4
#add_module_names = True
80
0928d42622f4
81
0928d42622f4
# If true, sectionauthor and moduleauthor directives will be shown in the
82
0928d42622f4
# output. They are ignored by default.
83
0928d42622f4
#show_authors = False
84
0928d42622f4
85
0928d42622f4
# The name of the Pygments (syntax highlighting) style to use.
86
0928d42622f4
pygments_style = 'sphinx'
87
0928d42622f4
88
6b6d6c1b9e5c
# A list of ignored prefixes for module index sorting.
89
6b6d6c1b9e5c
#modindex_common_prefix = []
90
0928d42622f4
91
0928d42622f4
92
6b6d6c1b9e5c
# -- Options for HTML output ---------------------------------------------------
93
6b6d6c1b9e5c
94
6b6d6c1b9e5c
# The theme to use for HTML and HTML Help pages.  Major themes that come with
95
6b6d6c1b9e5c
# Sphinx are currently 'default' and 'sphinxdoc'.
96
6b6d6c1b9e5c
html_theme = 'default'
97
6b6d6c1b9e5c
98
6b6d6c1b9e5c
# Theme options are theme-specific and customize the look and feel of a theme
99
6b6d6c1b9e5c
# further.  For a list of options available for each theme, see the
100
6b6d6c1b9e5c
# documentation.
101
6b6d6c1b9e5c
#html_theme_options = {}
102
6b6d6c1b9e5c
103
6b6d6c1b9e5c
# Add any paths that contain custom themes here, relative to this directory.
104
6b6d6c1b9e5c
#html_theme_path = []
105
0928d42622f4
106
0928d42622f4
# The name for this set of Sphinx documents.  If None, it defaults to
107
0928d42622f4
# "<project> v<release> documentation".
108
0928d42622f4
#html_title = None
109
0928d42622f4
110
0928d42622f4
# A shorter title for the navigation bar.  Default is the same as html_title.
111
0928d42622f4
#html_short_title = None
112
0928d42622f4
113
6b6d6c1b9e5c
# The name of an image file (relative to this directory) to place at the top
114
6b6d6c1b9e5c
# of the sidebar.
115
0928d42622f4
#html_logo = None
116
0928d42622f4
117
0928d42622f4
# The name of an image file (within the static path) to use as favicon of the
118
0928d42622f4
# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
119
0928d42622f4
# pixels large.
120
0928d42622f4
#html_favicon = None
121
0928d42622f4
122
0928d42622f4
# Add any paths that contain custom static files (such as style sheets) here,
123
0928d42622f4
# relative to this directory. They are copied after the builtin static files,
124
0928d42622f4
# so a file named "default.css" will overwrite the builtin "default.css".
125
6b6d6c1b9e5c
html_static_path = ['_static']
126
0928d42622f4
127
0928d42622f4
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
128
0928d42622f4
# using the given strftime format.
129
6b6d6c1b9e5c
#html_last_updated_fmt = '%b %d, %Y'
130
0928d42622f4
131
0928d42622f4
# If true, SmartyPants will be used to convert quotes and dashes to
132
0928d42622f4
# typographically correct entities.
133
0928d42622f4
#html_use_smartypants = True
134
0928d42622f4
135
0928d42622f4
# Custom sidebar templates, maps document names to template names.
136
0928d42622f4
#html_sidebars = {}
137
0928d42622f4
138
0928d42622f4
# Additional templates that should be rendered to pages, maps page names to
139
0928d42622f4
# template names.
140
0928d42622f4
#html_additional_pages = {}
141
0928d42622f4
142
0928d42622f4
# If false, no module index is generated.
143
0928d42622f4
#html_use_modindex = True
144
0928d42622f4
145
0928d42622f4
# If false, no index is generated.
146
0928d42622f4
#html_use_index = True
147
0928d42622f4
148
0928d42622f4
# If true, the index is split into individual pages for each letter.
149
0928d42622f4
#html_split_index = False
150
0928d42622f4
151
6b6d6c1b9e5c
# If true, links to the reST sources are added to the pages.
152
6b6d6c1b9e5c
#html_show_sourcelink = True
153
0928d42622f4
154
0928d42622f4
# If true, an OpenSearch description file will be output, and all pages will
155
0928d42622f4
# contain a <link> tag referring to it.  The value of this option must be the
156
0928d42622f4
# base URL from which the finished HTML is served.
157
0928d42622f4
#html_use_opensearch = ''
158
0928d42622f4
159
0928d42622f4
# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
160
0928d42622f4
#html_file_suffix = ''
161
0928d42622f4
162
0928d42622f4
# Output file base name for HTML help builder.
163
0928d42622f4
htmlhelp_basename = 'numconvdoc'
164
0928d42622f4
165
0928d42622f4
166
6b6d6c1b9e5c
# -- Options for LaTeX output --------------------------------------------------
167
0928d42622f4
168
0928d42622f4
# The paper size ('letter' or 'a4').
169
0928d42622f4
#latex_paper_size = 'letter'
170
0928d42622f4
171
0928d42622f4
# The font size ('10pt', '11pt' or '12pt').
172
0928d42622f4
#latex_font_size = '10pt'
173
0928d42622f4
174
0928d42622f4
# Grouping the document tree into LaTeX files. List of tuples
175
6b6d6c1b9e5c
# (source start file, target name, title, author, documentclass [howto/manual]).
176
0928d42622f4
latex_documents = [
177
6b6d6c1b9e5c
  ('index', 'numconv.tex', u'numconv Documentation',
178
6b6d6c1b9e5c
   u'Gustavo Picon', 'manual'),
179
0928d42622f4
]
180
0928d42622f4
181
0928d42622f4
# The name of an image file (relative to this directory) to place at the top of
182
0928d42622f4
# the title page.
183
0928d42622f4
#latex_logo = None
184
0928d42622f4
185
0928d42622f4
# For "manual" documents, if this is true, then toplevel headings are parts,
186
0928d42622f4
# not chapters.
187
0928d42622f4
#latex_use_parts = False
188
0928d42622f4
189
0928d42622f4
# Additional stuff for the LaTeX preamble.
190
0928d42622f4
#latex_preamble = ''
191
0928d42622f4
192
0928d42622f4
# Documents to append as an appendix to all manuals.
193
0928d42622f4
#latex_appendices = []
194
0928d42622f4
195
0928d42622f4
# If false, no module index is generated.
196
0928d42622f4
#latex_use_modindex = True