Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 145 lines (109 sloc) 4.578 kB
083ae16 @mitsuhiko bootstrapped new documentation
authored
1 # -*- coding: utf-8 -*-
2 #
3 # Jinja2 documentation build configuration file, created by
4 # sphinx-quickstart on Sun Apr 27 21:42:41 2008.
5 #
6 # This file is execfile()d with the current directory set to its containing dir.
7 #
8 # The contents of this file are pickled, so don't put values in the namespace
9 # that aren't pickleable (module imports are okay, they're removed automatically).
10 #
11 # All configuration values have a default value; values that are commented out
12 # serve to show the default value.
13
14 import sys, os
15
16 # If your extensions are in another directory, add it here. If the directory
17 # is relative to the documentation root, use os.path.abspath to make it
18 # absolute, like shown here.
3c8b7ad @mitsuhiko first version of the jinja2 docs
authored
19 sys.path.append(os.path.dirname(os.path.abspath(__file__)))
083ae16 @mitsuhiko bootstrapped new documentation
authored
20
21 # General configuration
22 # ---------------------
23
24 # Add any Sphinx extension module names here, as strings. They can be extensions
25 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3c8b7ad @mitsuhiko first version of the jinja2 docs
authored
26 extensions = ['sphinx.ext.autodoc', 'jinjaext']
083ae16 @mitsuhiko bootstrapped new documentation
authored
27
28 # Add any paths that contain templates here, relative to this directory.
29 templates_path = ['_templates']
30
31 # The suffix of source filenames.
32 source_suffix = '.rst'
33
34 # The master toctree document.
35 master_doc = 'index'
36
37 # General substitutions.
38 project = 'Jinja2'
39 copyright = '2008, Armin Ronacher'
40
41 # The default replacements for |version| and |release|, also used in various
42 # other places throughout the built documents.
43 #
44 # The short X.Y version.
45 version = '2.0'
46 # The full version, including alpha/beta/rc tags.
47 release = '2.0'
48
49 # There are two options for replacing |today|: either, you set today to some
50 # non-false value, then it is used:
51 #today = ''
52 # Else, today_fmt is used as the format for a strftime call.
53 today_fmt = '%B %d, %Y'
54
55 # List of documents that shouldn't be included in the build.
56 #unused_docs = []
57
58 # If true, '()' will be appended to :func: etc. cross-reference text.
59 #add_function_parentheses = True
60
61 # If true, the current module name will be prepended to all description
62 # unit titles (such as .. function::).
63 #add_module_names = True
64
65 # If true, sectionauthor and moduleauthor directives will be shown in the
66 # output. They are ignored by default.
67 #show_authors = False
68
69 # The name of the Pygments (syntax highlighting) style to use.
157531b @mitsuhiko more docs and fixed bug in parser that assigned lineno for ExprStmt w…
authored
70 pygments_style = 'jinjaext.JinjaStyle'
083ae16 @mitsuhiko bootstrapped new documentation
authored
71
72
73 # Options for HTML output
74 # -----------------------
75
76 # The style sheet to use for HTML and HTML Help pages. A file of that name
77 # must exist either in Sphinx' static/ path, or in one of the custom paths
78 # given in html_static_path.
9d472df @mitsuhiko added style for html documentation
authored
79 html_style = 'style.css'
083ae16 @mitsuhiko bootstrapped new documentation
authored
80
81 # The name for this set of Sphinx documents. If None, it defaults to
82 # "<project> v<release> documentation".
83 #html_title = None
84
85 # Add any paths that contain custom static files (such as style sheets) here,
86 # relative to this directory. They are copied after the builtin static files,
87 # so a file named "default.css" will overwrite the builtin "default.css".
88 html_static_path = ['_static']
89
90 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
91 # using the given strftime format.
92 html_last_updated_fmt = '%b %d, %Y'
93
94 # If true, SmartyPants will be used to convert quotes and dashes to
95 # typographically correct entities.
96 #html_use_smartypants = True
97
9d472df @mitsuhiko added style for html documentation
authored
98 # use jinja2 for templates
99 template_bridge = 'jinjaext.Jinja2Bridge'
083ae16 @mitsuhiko bootstrapped new documentation
authored
100
9d472df @mitsuhiko added style for html documentation
authored
101 # no modindex
102 html_use_modindex = False
083ae16 @mitsuhiko bootstrapped new documentation
authored
103
104 # If true, the reST sources are included in the HTML build as _sources/<name>.
105 #html_copy_source = True
106
107 # If true, an OpenSearch description file will be output, and all pages will
108 # contain a <link> tag referring to it.
109 #html_use_opensearch = False
110
111 # Output file base name for HTML help builder.
112 htmlhelp_basename = 'Jinja2doc'
113
114
115 # Options for LaTeX output
116 # ------------------------
117
118 # The paper size ('letter' or 'a4').
d134231 @mitsuhiko autoescaping is separate from finalize now and Markup is completely i…
authored
119 latex_paper_size = 'a4'
083ae16 @mitsuhiko bootstrapped new documentation
authored
120
121 # The font size ('10pt', '11pt' or '12pt').
122 #latex_font_size = '10pt'
123
124 # Grouping the document tree into LaTeX files. List of tuples
125 # (source start file, target name, title, author, document class [howto/manual]).
126 latex_documents = [
127 ('index', 'Jinja2.tex', 'Jinja2 Documentation', 'Armin Ronacher', 'manual'),
128 ]
129
130 # Additional stuff for the LaTeX preamble.
157531b @mitsuhiko more docs and fixed bug in parser that assigned lineno for ExprStmt w…
authored
131 latex_preamble = '''
132 \usepackage{palatino}
133 \definecolor{TitleColor}{rgb}{0.7,0,0}
134 \definecolor{InnerLinkColor}{rgb}{0.7,0,0}
135 \definecolor{OuterLinkColor}{rgb}{0.8,0,0}
7259c76 @mitsuhiko moved caching from loaders to environment and added environment overlays
authored
136 \definecolor{VerbatimColor}{rgb}{0.985,0.985,0.985}
157531b @mitsuhiko more docs and fixed bug in parser that assigned lineno for ExprStmt w…
authored
137 \definecolor{VerbatimBorderColor}{rgb}{0.8,0.8,0.8}
138 '''
083ae16 @mitsuhiko bootstrapped new documentation
authored
139
140 # Documents to append as an appendix to all manuals.
141 #latex_appendices = []
142
143 # If false, no module index is generated.
76c280b @mitsuhiko improved sandbox, added proper striptags and updated documentation to…
authored
144 latex_use_modindex = False
Something went wrong with that request. Please try again.