1 # -*- coding: utf-8 -*-
3 # Django documentation build configuration file, created by
4 # sphinx-quickstart on Thu Mar 27 09:06:53 2008.
6 # This file is execfile()d with the current directory set to its containing dir.
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).
11 # All configuration values have a default value; values that are commented out
12 # serve to show the default value.
17 # If your extensions are in another directory, add it here.
18 sys
.path
.append(os
.path
.join(os
.path
.dirname(__file__
), "_ext"))
20 # General configuration
21 # ---------------------
23 # Add any Sphinx extension module names here, as strings. They can be extensions
24 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
25 extensions
= ["djangodocs"]
27 # Add any paths that contain templates here, relative to this directory.
28 templates_path
= ["_templates"]
30 # The suffix of source filenames.
31 source_suffix
= '.txt'
33 # The master toctree document.
34 master_doc
= 'contents'
36 # General substitutions.
38 copyright
= 'Django Software Foundation and contributors'
40 # The default replacements for |version| and |release|, also used in various
41 # other places throughout the built documents.
43 # The short X.Y version.
45 # The full version, including alpha/beta/rc tags.
48 # There are two options for replacing |today|: either, you set today to some
49 # non-false value, then it is used:
51 # Else, today_fmt is used as the format for a strftime call.
52 today_fmt
= '%B %d, %Y'
54 # List of documents that shouldn't be included in the build.
57 # If true, '()' will be appended to :func: etc. cross-reference text.
58 add_function_parentheses
= True
60 # If true, the current module name will be prepended to all description
61 # unit titles (such as .. function::).
62 add_module_names
= False
64 # If true, sectionauthor and moduleauthor directives will be shown in the
65 # output. They are ignored by default.
68 # The name of the Pygments (syntax highlighting) style to use.
69 pygments_style
= 'trac'
72 # Options for HTML output
73 # -----------------------
75 # The style sheet to use for HTML and HTML Help pages. A file of that name
76 # must exist either in Sphinx' static/ path, or in one of the custom paths
77 # given in html_static_path.
78 html_style
= 'default.css'
80 # Add any paths that contain custom static files (such as style sheets) here,
81 # relative to this directory. They are copied after the builtin static files,
82 # so a file named "default.css" will overwrite the builtin "default.css".
83 html_static_path
= ["_static"]
85 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
86 # using the given strftime format.
87 html_last_updated_fmt
= '%b %d, %Y'
89 # If true, SmartyPants will be used to convert quotes and dashes to
90 # typographically correct entities.
91 html_use_smartypants
= True
93 # HTML translator class for the builder
94 html_translator_class
= "djangodocs.DjangoHTMLTranslator"
96 # Content template for the index page.
99 # Custom sidebar templates, maps document names to template names.
102 # Additional templates that should be rendered to pages, maps page names to
104 html_additional_pages
= {}
106 # If false, no module index is generated.
107 #html_use_modindex = True
109 # If true, the reST sources are included in the HTML build as _sources/<name>.
110 html_copy_source
= True
112 # Output file base name for HTML help builder.
113 htmlhelp_basename
= 'Djangodoc'
116 # Options for LaTeX output
117 # ------------------------
119 # The paper size ('letter' or 'a4').
120 #latex_paper_size = 'letter'
122 # The font size ('10pt', '11pt' or '12pt').
123 #latex_font_size = '10pt'
125 # Grouping the document tree into LaTeX files. List of tuples
126 # (source start file, target name, title, author, document class [howto/manual]).
127 #latex_documents = []
129 ('index', 'django.tex', 'Django Documentation', 'Django Software Foundation', 'manual'),
132 # Additional stuff for the LaTeX preamble.
135 # Documents to append as an appendix to all manuals.
136 #latex_appendices = []
138 # If false, no module index is generated.
139 #latex_use_modindex = True
141 # For "manual" documents, if this is true, then toplevel headings are parts,
143 # If this isn't set to True, the LaTex writer can only handle six levels of headers.
144 latex_use_parts
= True